/** 
 * Flexmonster Pivot Table & Charts [https://www.flexmonster.com/]
 * January 2021 (v. 2.8.25)
 * Copyright (c) 2021 Flexmonster. All rights reserved.
 *
 * Flexmonster Pivot Table & Charts commercial licenses may be obtained at
 * https://www.flexmonster.com/pivot-table-editions-and-pricing/
 * If you do not own a commercial license, this file shall be governed by the trial license terms.
 */
(function(a,b){"function"===typeof define&&define.amd&&define("flexmonster",[],b);a.Flexmonster=b()})(window,function(){return function(a){/*
 jsSHA | Copyright (c) 2008-2015 Brian Turek [https://caligatio.github.com/jsSHA/] | BSD License [https://github.com/Caligatio/jsSHA/blob/v2.3.1/LICENSE] */
'use strict';function ca(e){var k=0;return function(){return k<e.length?{done:!1,value:e[k++]}:{done:!0}}}var ia="function"==typeof Object.defineProperties?Object.defineProperty:function(e,k,h){e!=Array.prototype&&e!=Object.prototype&&(e[k]=h.value)},ja="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function ka(){ka=function(){};ja.Symbol||(ja.Symbol=ma)}function na(e,k){this.mga=e;ia(this,"description",{configurable:!0,writable:!0,value:k})}
na.prototype.toString=function(){return this.mga};var ma=function(){function e(h){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new na("jscomp_symbol_"+(h||"")+"_"+k++,h)}var k=0;return e}();function oa(){ka();var e=ja.Symbol.iterator;e||(e=ja.Symbol.iterator=ja.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[e]&&ia(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return pa(ca(this))}});oa=function(){}}
function pa(e){oa();e={next:e};e[ja.Symbol.iterator]=function(){return this};return e}function qa(e,k){oa();e instanceof String&&(e+="");var h=0,f={next:function(){if(h<e.length){var c=h++;return{value:k(c,e[c]),done:!1}}f.next=function(){return{done:!0,value:void 0}};return f.next()}};f[Symbol.iterator]=function(){return f};return f}
function sa(e,k){if(k){var h=ja;e=e.split(".");for(var f=0;f<e.length-1;f++){var c=e[f];c in h||(h[c]={});h=h[c]}e=e[e.length-1];f=h[e];k=k(f);k!=f&&null!=k&&ia(h,e,{configurable:!0,writable:!0,value:k})}}sa("Array.prototype.values",function(e){return e?e:function(){return qa(this,function(k,h){return h})}});sa("String.prototype.trimLeft",function(e){function k(){return this.replace(/^[\s\xa0]+/,"")}return e||k});
sa("Array.prototype.flat",function(e){return e?e:function(k){k=void 0===k?1:k;for(var h=[],f=0;f<this.length;f++){var c=this[f];Array.isArray(c)&&0<k?(c=Array.prototype.flat.call(c,k-1),h.push.apply(h,c)):h.push(c)}return h}});var r;
(function(e){class k{constructor(f,c=null,a=null){this.N7=!1;this.type=f;this.target=c;this.data=a}static bca(f){return-1<"fullscreenchange mozfullscreenchange webkitfullscreenchange MSFullscreenChange focusin focusout touchstart touchmove touchend touchenter touchleave touchcancel".split(" ").indexOf(f)}stopPropagation(){this.N7=!0}get yya(){return this.N7}}k.Dc="event_complete";k.zD="event_connected";k.ge="event_progress";k.eq="event_select";k.Id="event_change";k.Ca="event_error";k.OPENED="event_opened";
k.CLOSED="event_closed";k.wU="event_cancel";k.OPEN="event_open";k.c4="event_close";k.GV="event_resize";k.wo="event_clear";e.da=k;class h{constructor(){this.tQ=!1;this.Mg=[];this.Km=[];this.Ts=[]}QE(f,c){return f.type==c.type&&f.Jb==c.Jb}nba(f){return!u.w(this.Mg[f])}q_(f,c){if(u.w(this.Mg[f]))return!1;for(var a=0;a<this.Mg[f].length;a++)if(this.QE(this.Mg[f][a],c))return!0;return!1}N(f,c,a=0){c={type:f,Jb:c,priority:a};if(!this.q_(f,c))if(this.tQ)u.w(this.Km[f])&&(this.Km[f]=[]),this.Km[f].push(c);
else if(u.w(this.Mg[f])&&(this.Mg[f]=[]),0==this.Mg[f].length)this.Mg[f].push(c);else{this.Mg[f][this.Mg[f].length-1].priority>=a&&this.Mg[f].push(c);for(var b=0;b<this.Mg[f].length;b++)if(this.Mg[f][b].priority<a){this.Mg[f].splice(b,0,c);break}}}qb(f,c){if(!u.w(this.Mg[f])){c={type:f,Jb:c};for(var a=this.Mg[f].slice(0),b=[],d=0;d<a.length;d++)this.QE(a[d],c)?this.tQ&&(u.w(this.Ts[f])&&(this.Ts[f]=[]),this.Ts[f].push(a[d])):b.push(a[d]);this.Mg[f]=b}}fe(f){void 0===f?(this.Mg=[],this.Km=[],this.Ts=
[]):(u.w(this.Mg)||(this.Mg[f]=[]),u.w(this.Km)||(this.Km[f]=[]),u.w(this.Ts)||(this.Ts[f]=[]))}Ga(f){if(!u.w(this.Mg[f.type])){this.tQ=!0;for(var c=this.Mg[f.type].slice(0),a=0;a<c.length;a++){if(!u.w(this.Ts[f.type])){var b=!1,d;for(d in this.Ts[f.type])this.QE(c[a],this.Ts[f.type][d])&&(b=!0);if(b)continue}f instanceof u.i.bd?c[a].Jb.call(this,f.data):f instanceof k&&f.yya||c[a].Jb.call(this,f)}delete this.Ts[f.type];for(var g in this.Km){if(u.w(this.Mg[g]))c=[];else if(Array.isArray(this.Mg[g]))c=
this.Mg[g].slice(0);else continue;if(!u.w(this.Km[g]))for(a=0;a<this.Km[g].length;a++)if(0==c.length)c.push(this.Km[g][a]);else for(c[c.length-1].priority==this.Km[g][a].priority&&c.push(this.Km[g][a]),f=0;f<c.length;f++)if(c[f].priority<this.Km[g][a].priority){c.splice(f,0,this.Km[g][a]);break}this.Mg[g]=c;this.Km[g]=[]}this.tQ=!1}}bb(f,c,a){f=new e.da(f,null==c?this:c,a);this.Ga(f)}}e.fh=h})(r||(r={}));var v;
(function(e){(function(k){class h{constructor(){this.distance=15;this.lA=null;u.rl.addEventListener("mousemove",f=>this.jw(f));u.rl.addEventListener("touchmove",f=>this.C1(f),!1);u.rl.addEventListener("mouseup",f=>this.Jq(f));u.rl.addEventListener("touchend",f=>this.WS(f));u.rl.addEventListener("touchcancel",f=>this.WS(f))}static V(){h.La||(h.La=new h);return h.La}static dispose(){h.La=null}oza(f,c){f.$("fm-draggable");var a=b=>{c.FR&&!b.target.matches(c.FR)||this.Ed==f||(null!=this.Ed&&this.T2(c,
b),this.Ed=f,this.Rn=c,this.Dfa=this.i_(b),this.Efa=this.j_(b),this.u3=!1)};f.N("mousedown",a);f.N("touchstart",a)}i_(f){return f instanceof MouseEvent?f.clientX:f.changedTouches[0].clientX}j_(f){return f instanceof MouseEvent?f.clientY:f.changedTouches[0].clientY}jw(f){1==f.which&&this.Ed&&(this.Rg&&this.Ed.yc("fm-dragging")?(this.HT(f.clientX,f.clientY),this.Rn.I0&&this.Rn.I0(this.Ed,f),f.preventDefault()):u.w(this.Rn.gw)||this.Rn.gw(this.Ed,f)?(this.Rg=this.Rn.Nn(this.Ed),this.Rg.U("opacity",0),
u.K.Pb.Gb.G.W(this.Rg),this.HT(f.clientX,f.clientY,!0),this.Ed.$("fm-dragging")):(this.Ed=null,u.w(this.Rg)||(this.Rg.fg(!0),this.Rg=null)))}Nba(f,c){return Math.abs(this.Dfa-f)>this.distance||Math.abs(this.Efa-c)>this.distance?!0:!1}HT(f,c,a=!1){if(null!=this.Rg){var b=u.K.Pb.Gb.G.mf();this.Rg.position({top:c-b.top,left:f-b.left});this.Nba(f,c)&&(this.Rg.U("opacity",1),this.Ed.$("fm-dragging-move"),!this.u3&&u.rf(this.Rn.LS)&&this.Rn.LS(this.Ed),this.u3=!0);a&&null!=this.Ed&&(b=this.Ed.mf(),f=Math.max(0,
Math.min(this.Ed.width,this.Rg.width,f-b.left)),this.Rg.U("margin-top",-Math.max(0,Math.min(this.Ed.height,c-b.top))+"px"),this.Rg.U("margin-left",-f+"px"))}}C1(f){if(this.Ed){var c=f.touches[0];if(this.Rg&&this.Ed.yc("fm-dragging")){this.HT(c.clientX,c.clientY);this.Rn.I0&&this.Rn.I0(this.Ed,f);f.preventDefault();c=f.changedTouches[0];var a=e.Da.Ib(document.elementFromPoint(c.clientX,c.clientY));if(a){var b=a.closest(".fm-droppable");if(b&&!0===b.Ct.scroll){const d=b.element.getBoundingClientRect();
20>d.bottom-c.clientY?b.Sq(b.element.scrollTop+20):20>c.clientY-d.top&&b.Sq(b.element.scrollTop-20)}b&&b.Ct&&b.Ct.qm&&(b.Ct.qm(this.Ed,this.Rg,b,f),this.lA=b)}(null==a||null==b)&&null!=this.lA&&this.lA.Ct&&this.lA.Ct.yl&&this.lA.Ct.yl(this.Ed,this.Rg,this.lA,f)}else u.w(this.Rn.gw)||this.Rn.gw(this.Ed,f)?(this.Rg=this.Rn.Nn(this.Ed),this.Rg.U("opacity",0),u.K.Pb.Gb.G.W(this.Rg),this.HT(c.clientX,c.clientY,!0),this.Ed.$("fm-dragging")):(this.Ed=null,this.Rg.fg(!0),this.Rg=null)}}Jq(f){this.T2(this.Rn,
f)}WS(f){for(var c=f.changedTouches[0],a=c=e.Da.Ib(document.elementFromPoint(c.clientX,c.clientY));c;){if(c.yc("fm-droppable")){u.ia(c.Ct.sy)||(a=a.closest(c.Ct.sy));c.Ct.rm(this.Ed,c,a,f);break}c=c.parent}this.T2(this.Rn,f)}T2(f,c){null!=this.Rg&&(this.Rg.fg(!0),this.Rg=null);if(null!=this.Ed){this.Ed.Pd("fm-dragging");this.Ed.Pd("fm-dragging-move");if(this.u3&&this.Ed&&this.Ed.element){var a=this.Ed,b=d=>{u.w(a)||(a.qb("click",b),a=null,d.stopImmediatePropagation())};this.Ed.N("click",b)}f.ju&&
this.Nba(this.i_(c),this.j_(c))&&f.ju(this.Ed,c);this.Ed=null}this.lA=null;this.Efa=this.Dfa=NaN}pza(f,c,a){f.yc("fm-droppable")||(f.$("fm-droppable"),f.N("mouseenter",b=>{null!=this.Ed&&1==b.which&&a.J0&&a.J0(this.Ed,this.Rg,c,b)}),f.N("mouseleave",b=>{null!=this.Ed&&1==b.which&&a.yl&&a.yl(this.Ed,this.Rg,c,b)}),f.N("mouseover",b=>{if(null!=this.Ed&&1==b.which){if(!0===a.scroll){const d=f.element.getBoundingClientRect();20>d.bottom-b.clientY?f.Sq(f.element.scrollTop+20):20>b.clientY-d.top&&f.Sq(f.element.scrollTop-
20)}a.qm&&a.qm(this.Ed,this.Rg,c,b)}}),f.N("mouseup",b=>{if(null!=this.Ed&&1==b.which){var d=e.Da.Ib(b.target);u.ia(a.sy)||(d=d.closest(a.sy));a.rm(this.Ed,f,d,b)}}))}}k.KU=h})(e.vQ||(e.vQ={}))})(v||(v={}));
(function(e){class k extends r.fh{constructor(h="div",f=""){super();this.G=new e.Da(h);this.G.$("fm-ui "+f);w.Dd().lm&&this.G.$("fm-ui-mobile");this.Mc()}Mc(){this.B_={}}Le(h="all"){this.B_[h]=!0;this.jb()}Fq(...h){if(this.B_.all)return!0;for(var f=0;f<h.length;f++)if(this.B_[h[f]])return!0;return!1}jb(){this.Mc()}tu(){this.Le()}show(){this.G.show()}cb(){this.G.cb()}jFa(){this.G.attr("id","fm-pivot-view")}PB(){return this.name}pFa(h){this.name=h}Jh(h=0){this.G.Jh(h)}wm(h){this.G.wm(h)}get jm(){return this.G.jm}get m_(){return this.G.m_}html(h){if(void 0===
h)return this.G.html();this.G.html(h);return this}Gl(h){this.G.attr("title",h)}Rq(h){this.G.eb("fm-ui-disabled",!h)}yK(){return!this.G.yc("fm-ui-disabled")}$(h=""){this.G.$(h)}Pd(h){this.G.Pd(h)}eb(h,f){this.G.eb(h,f)}yc(h){return this.G.yc(h)}get padding(){return this.G.padding}set padding(h){}pf(h){return this.G.pf(h)}Zj(h){this.pf()!==h&&(this.G.Zj(h),this.Le("size"))}wd(h=!1){return this.G.wd(h)}Ip(h){this.wd()!==h&&(this.G.Ip(h),this.Le("size"))}isVisible(h){void 0!==h&&(h?this.show():this.cb());
return this.G.visible}position(){return this.G.position()}W(h,f=!1){f?this.G.prepend(h.G):this.G.append(h.G)}fg(h=!1){h?this.G.remove():this.G.detach()}i_(){return this.G.left}j_(){return this.G.top}N(h,f){this.G.N(h,f)}qb(h,f){this.G.qb(h,f)}Ga(h){this.G.Ga(h)}bb(h,f,c){this.G.bb(h,f,c)}ME(h=!1){h=h?this.pf(!0):u.K.Pb.qu;this.G.eb("fm-layout-tablet",768>h);this.G.eb("fm-layout-mobile",580>h);this.G.eb("fm-layout-mobile-small",460>h)}}e.Oa=k})(v||(v={}));
(function(e){class k extends r.fh{constructor(h="div",f="",c=!0){super();this.display="block";this.frames=[];this.hq={};this.element="string"==typeof h?document.createElement(h):h;c&&this.$("fm-ui-element");this.$(f)}set element(h){(this.iE=h)&&(this.iE.uielement=this)}get element(){return this.iE}get id(){return this.element.id}set id(h){this.element.id=h}get parent(){return k.Ib(this.element.parentElement)}get nodeName(){return this.iE.nodeName.toLowerCase()}W(h){this.element.appendChild(h.element)}children(){for(var h=
this.element.firstElementChild,f=[];h;)f.push(k.Ib(h)),h=h.nextElementSibling;return f}contains(h){return this.element.contains(h.element)}KJ(h){let f=this.nY(h.target);!f&&h.path&&(f=this.nY(h.path[0]));!f&&h.composedPath&&(h=h.composedPath())&&(f=this.nY(h[0]));return f}nY(h){if(null==h)return!1;for(;h!=this.element&&(h=h.parentElement,null!=h););return null!=h}append(h){h&&this.W(h);return this}prepend(h){this.element.insertBefore(h.element,this.element.firstChild);return this}before(h){this.element.parentNode&&
this.element.parentNode.insertBefore(h.element,this.element);return this}after(h){this.element.parentNode&&(this.element.nextElementSibling?this.element.parentNode.insertBefore(h.element,this.element.nextElementSibling):this.element.parentNode.appendChild(h.element));return this}FA(h){this.element.appendChild(h.G.element)}fg(h=!0){h?this.remove():this.detach()}remove(){null!=this.element&&(this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.dispose())}detach(){if(null!=
this.element&&this.element.parentNode){var h=this.element.cloneNode(!0);this.element.parentNode.removeChild(this.element);this.element=h}}pw(){for(;this.element&&this.element.firstChild;){var h=k.Ib(this.element.firstChild);h&&h.dispose&&h.dispose();this.element.removeChild(this.element.firstChild)}}clone(){return k.Ib(this.element.cloneNode(!0))}static Ib(h){return h&&h.nodeType==Node.ELEMENT_NODE?u.w(h.uielement)?new k(h,"",!1):h.uielement:null}get(h){var f=this.children();return 0<f.length?f[h]:
null}find(h,f){if(void 0===f||0==f)return k.Ib(this.element.querySelector(h));h=this.element.querySelectorAll(h);f=[];for(var c=0;c<h.length;c++)f.push(k.Ib(h[c]));return f}closest(h){if(!this.element)return null;for(var f=this.element;null!=f;){if(f.matches){if(f.matches(h))return f==this.element?this:k.Ib(f)}else if(f.msMatchesSelector&&f.msMatchesSelector(h))return f==this.element?this:k.Ib(f);f=f.parentElement}return null}$(h){if(!this.element)return this;h=h.trim();for(var f=h.split(" "),c=0;c<
f.length;c++)0<f[c].length&&(w.rQ().Si?(h=this.element.getAttribute("class"),u.w(h)?this.element.setAttribute("class",f[c]):-1==h.split(" ").indexOf(f[c])&&this.element.setAttribute("class",h+" "+f[c])):0==this.element.classList.contains(f[c])&&this.element.classList.add(f[c]));return this}Pd(h){if(this.element&&(h=h.trim(),0<h.length))if(w.rQ().Si){var f=this.element.getAttribute("class");u.w(f)||(f=f.split(" "),h=f.indexOf(h),-1<h&&(f.splice(h,1),this.element.setAttribute("class",f.join(" "))))}else this.element.classList.contains(h)&&
this.element.classList.remove(h)}eb(h,f){f?this.$(h):this.Pd(h)}yc(h){return this.element.classList.contains(h)}ol(){this.$("fm-noselect")}dua(){this.$("fm-selectable")}pf(h=!1){if(!this.element)return 0;var f=this.Cx;return this.element.clientWidth-(h?0:(parseFloat(f.paddingLeft)||0)+(parseFloat(f.paddingRight)||0))}Zj(h){"number"===typeof h?this.element.style.width=h+"px":"string"===typeof h&&(this.element.style.width=h);return this}get width(){return this.pf()}set width(h){this.Zj(h)}get padding(){var h=
this.Cx;return{left:parseFloat(h.paddingLeft)||0,right:parseFloat(h.paddingRight)||0,top:parseFloat(h.paddingTop)||0,bottom:parseFloat(h.paddingBottom)||0}}set padding(h){}get borderWidth(){var h=this.Cx;return{left:parseFloat(h.borderLeftWidth||h.borderWidth)||0,right:parseFloat(h.borderRightWidth||h.borderWidth)||0,top:parseFloat(h.borderTopWidth||h.borderWidth)||0,bottom:parseFloat(h.borderBottomWidth||h.borderWidth)||0}}wd(h=!1){if(!this.element)return 0;var f=this.Cx;h=h?0:(parseFloat(f.paddingTop)||
0)+(parseFloat(f.paddingBottom)||0);return 0>this.element.clientHeight-h?0:this.element.clientHeight-h}Ip(h){"number"===typeof h?this.element.style.height=h+"px":"string"===typeof h&&(this.element.style.height=h)}get height(){return this.wd()}set height(h){this.Ip(h)}get left(){return this.element.getBoundingClientRect().left}set left(h){this.element.style.left=h+"px"}get top(){return this.element.getBoundingClientRect().top}set top(h){this.element.style.top=h+"px"}get right(){return this.element.getBoundingClientRect().right}set right(h){this.element.style.right=
h+"px"}get bottom(){return this.element.getBoundingClientRect().bottom}set bottom(h){this.element.style.bottom=h+"px"}html(h){if(void 0===h)return this.element.innerHTML;this.element.innerHTML=h;return this}empty(){this.html("")}clear(){this.empty()}text(h){if(void 0===h)return this.element.textContent;"input"==this.element.tagName.toLowerCase()?this.element.value=h:this.element.textContent=h;return this}focus(h=null){this.element.focus(h);return this}blur(){this.element.blur();return this}show(){this.element.style.display=
this.display}cb(){this.element.style.display="none"}get x(){return this.element.offsetLeft}get y(){return this.element.offsetTop}offset(h){if(void 0===h)return this.mf();this.U("left",h.left+"px");this.U("top",h.top+"px")}getBoundingClientRect(){return this.element.getBoundingClientRect()}position(h){if(void 0===h)return{top:this.y,left:this.x};this.offset(h)}attr(h,f){if(void 0===f)return this.element.getAttribute(h);try{this.element.setAttribute(h,f)}catch(c){this.element.attributes[h]=f}return this}nT(h){this.element.removeAttribute(h)}U(h,
f){if(void 0===f)return this.Cx[k.Ofa(h)];this.element.style[k.Ofa(h)]=f;return this}static Ofa(h){var f=h.split("-");if(1<f.length){for(h=1;h<f.length;h++)f[h]=f[h].charAt(0).toUpperCase()+f[h].substr(1);return f.join("")}return h}DM(){return"input"==this.element.tagName.toLowerCase()||"textarea"==this.element.tagName.toLowerCase()?this.element.value:this.element.textContent}get Cx(){u.w(this.hW)&&(this.hW=window.getComputedStyle(this.element));return this.hW}set Cx(h){this.hW=h}requestAnimationFrame(h){var f=
0;this.Cx=null;window.requestAnimationFrame?f=window.requestAnimationFrame(h):window.msRequestAnimationFrame?f=window.msRequestAnimationFrame(h):window.mozRequestAnimationFrame?f=window.mozRequestAnimationFrame(h):window.webkitRequestAnimationFrame?f=window.webkitRequestAnimationFrame(h):h.call(null);this.frames.push(f);return f}cancelAnimationFrame(h){this.Cx=null;this.frames.splice(this.frames.indexOf(h),1);0!=h&&(null!=window.cancelAnimationFrame?window.cancelAnimationFrame(h):null!=window.msCancelRequestAnimationFrame?
window.msCancelRequestAnimationFrame(h):null!=window.mozCancelAnimationFrame?window.mozCancelAnimationFrame(h):null!=window.webkitCancelAnimationFrame&&window.webkitCancelAnimationFrame(h))}set visible(h){h?this.show():this.cb()}get visible(){return this.element&&"none"!=this.U("display")}mf(h=null){if(null==h)return h=this.element.getBoundingClientRect(),{top:h.top,left:h.left};for(var f=0,c=0,a=this.element;a&&a!=h&&!isNaN(a.offsetLeft)&&!isNaN(a.offsetTop);)f+=a.offsetLeft-a.scrollLeft,c+=a.offsetTop-
a.scrollTop,a=a.offsetParent;return{top:c,left:f}}Sq(h){this.element.scrollTop=h}N(h,f,c){"undefined"!==typeof this.element["on"+h]||r.da.bca(h)?(u.w(this.hq[h])&&(this.hq[h]=[]),this.hq[h][f.toString()]=a=>{f(a)},this.element.addEventListener(h,this.hq[h][f.toString()],c)):super.N(h,f,c)}qb(h,f){"undefined"!==typeof this.element["on"+h]||r.da.bca(h)?this.hq[h]&&this.element.removeEventListener(h,this.hq[h][f.toString()],void 0):super.qb(h,f)}Ga(h){super.Ga(h)}fe(h){for(var f in this.hq)if(void 0===
h||h==f)for(var c in this.hq[f])if(this.hq[f].hasOwnProperty(c))try{this.element.removeEventListener(f,this.hq[f][c],!0),this.element.removeEventListener(f,this.hq[f][c],!1)}catch(a){console.error(a)}this.hq={};super.fe(f)}dispose(){this.fe();this.pw();this.iE&&(this.iE=this.iE.uielement=null);for(var h=0;h<this.frames.length;h++)this.cancelAnimationFrame(this.frames[h]);this.frames.length=0;this.i8&&this.i8.dispose()}refresh(){this.html(this.html())}draggable(h){e.vQ.KU.V().oza(this,h)}Mr(h,f){this.hoa=
h;e.vQ.KU.V().pza(this,f?f:this,h)}get Ct(){return this.hoa}index(){for(var h=0,f=this.element;f=f.previousElementSibling;)h++;return h}Xj(h){this.i8=new e.Xj.rma(this,h)}Jh(h=0){this.attr("tabindex",h)}wm(h){this.attr("role",h)}get jm(){return document.activeElement==this.element}get m_(){let h=document.activeElement;for(;null!=h;){if(h==this.element)return!0;h=h.parentElement}return!1}}e.Da=k})(v||(v={}));
(function(e){class k extends e.Oa{constructor(h="",f="a"){super(f,"fm-ui-btn");this.z0=0;this.hEa=50;this.$(h);this.G.N("click",c=>this.Tj(c));this.G.N("mousedown",()=>this.iw());this.G.N("mouseup",()=>this.Jq());this.G.N("mouseout",()=>this.VBa());this.G.N("keydown",c=>this.hw(c));this.G.display="inline-block";this.wm("button");this.Jh(0)}Tj(h){this.yK()&&this.bb(k.Fe,this,h);h.stopImmediatePropagation()}hw(h){if(13==h.keyCode||32==h.keyCode)this.Tj(h),h.preventDefault()}iw(){this.G.eb("fm-ui-pressed",
!0);this.z0=u.eaa(()=>this.wta(),this.hEa)}wta(){this.Ga(new r.da(k.ola,this))}Jq(){this.G.eb("fm-ui-pressed",!1);u.uZ(this.z0)}VBa(){this.G.eb("fm-ui-pressed",!1);u.uZ(this.z0)}J(){return this.label}$a(h){this.label!=h&&(this.label=h,this.G.text(this.label))}}k.ola="buttonmousedown";k.Fe="buttonclick";e.yd=k})(v||(v={}));(function(e){class k extends e.yd{constructor(h=""){super(h,"button");this.G.attr("type","button")}}e.kg=k})(v||(v={}));
(function(e){class k extends e.Oa{constructor(h=""){super("span","fm-ui fm-ui-label");this.G.display="inline-block";this.$a(h)}J(){return this.label}$a(h,f=!1){this.label!=h&&(this.label=h,f?this.G.html(this.label):this.G.text(this.label))}LT(h){h?this.G.dua():this.G.ol()}}e.Oc=k})(v||(v={}));
(function(e){class k extends e.Oa{constructor(){super("textarea","fm-ui-text-area");this.G.N("keypress",h=>this.Z0(h));this.G.N("keyup",()=>this.uBa());this.G.N("paste",()=>this.V0());this.G.N("blur",()=>this.ixa())}uBa(){this.XJ()}V0(){this.XJ()}ixa(){this.bb(k.NU)}XJ(){this.Ga(new r.da(e.gk.qz,this))}Qi(){return this.G.DM()}Yi(h){this.Qi()!=h&&(this.G.element.value=h,this.XJ())}clear(){this.Yi("")}iy(h){var f=this.G.element.selectionStart,c=this.G.element.selectionEnd,a=this.Qi();this.Yi(a.substr(0,
f)+h+a.substr(f));this.hg(f+h.length,c+h.length)}hg(h,f=-1){this.G.element.focus();this.G.element.setSelectionRange(h,0>f?h:f)}selectAll(){this.hg(0,this.Qi().length)}Z0(h){h.ctrlKey?(this.bb(k.MU),h.preventDefault()):13==h.keyCode&&(this.bb(k.rz),h.preventDefault())}}k.NU="focus_off";k.rz="ntr";k.MU="ntl";e.Su=k})(v||(v={}));
(function(e){class k extends e.Oa{constructor(){super("input","fm-ui-text-input");this.prompt=this.text="";this.TX=0;this.UX=!0;this.G.display="inline-block";this.G.attr("type","text");this.G.attr("data-placeholder","");this.G.N("change",()=>this.KCa());this.G.N("focusin",()=>this.$Aa());this.G.N("focusout",()=>this.aBa());this.G.N("input",()=>this.LCa());this.G.N("keypress",h=>this.Z0(h));this.G.N("paste",()=>this.V0())}static Eva(h){return null==h.which?32>h.keyCode?null:String.fromCharCode(h.keyCode):
0!=h.which&&0!=h.charCode?32>h.which?null:String.fromCharCode(h.which):null}Z0(h){13==h.keyCode&&this.bb(k.rz);if(!(u.w(this.qea)||h.ctrlKey||h.altKey||h.metaKey)){var f=k.Eva(h);null!=f&&!1===this.qea.test(f)&&h.preventDefault()}}l_(){this.G.DM()!==this.text&&(this.text=this.G.DM(),this.XJ())}KCa(){this.l_()}LCa(){this.l_()}V0(){this.l_()}XJ(){0<this.TX?this.UX&&(this.UX=!1,u.Be(()=>this.nW(),this.TX)):this.nW()}nW(){this.UX=!0;this.Ga(new r.da(k.qz,this,this.text))}$Aa(){0==this.text.length&&(this.G.text(""),
this.Dt(!1))}aBa(){this.Dt(0==this.text.length)}Qi(){return this.text=this.G.DM()==this.prompt?this.text:this.G.DM()}Yi(h){this.text!=h&&(this.text=h,this.G.text(this.text),this.Dt(0==this.text.length))}clear(h=!0){this.Yi("");h&&this.nW();this.bb(k.P4)}VC(h){h!=this.prompt&&(this.prompt=h,this.G.attr("data-placeholder",this.prompt),this.Dt(0==this.text.length))}Dt(h){this.G.text(h?this.prompt:this.text);this.G.eb("fm-ui-prompt",h)}WC(h){this.qea=h}n2(h){this.TX=h}uFa(){this.G.attr("type","number")}}
k.qz="_";k.rz="ntr";k.P4="clr";e.gk=k})(v||(v={}));(function(e){class k extends e.gk{constructor(){super();this.WC(k.jma);this.uFa()}Ha(){return parseFloat(this.Qi())}Kh(h){this.Yi(h.toString())}}k.jma=/^\d+$/;k.XD=/[-\.\d]/;e.gq=k})(v||(v={}));
(function(e){(function(h){h[h.cKa=1]="SELECTED";h[h.vKa=0]="UNSELECTED";h[h.eKa=-1]="SEMI_SELECTED"})(e.pna||(e.pna={}));class k extends e.yd{constructor(){super();this.G.display="inline-block";this.G.yc("fm-ui-btn")&&this.G.Pd("fm-ui-btn");this.G.$("fm-ui-toggle-btn");this.selected=0}Tj(h){this.yK()&&(this.toggle(),this.bb(r.da.Id,this,h));h.stopImmediatePropagation()}toggle(){this.selected=1==this.selected?0:1;this.G.eb("fm-selected",1==this.selected)}hg(h){!0===h&&(h=1);!1===h&&(h=0);this.selected==
h||1<h||-1>h||(this.selected=h,this.G.eb("fm-selected",1==this.selected))}getSelection(){return this.selected}}e.UV=k})(v||(v={}));
(function(e){class k extends e.kg{constructor(){super();this.G.display="inline-block";this.G.yc("fm-ui-btn")&&this.G.Pd("fm-ui-btn");this.G.$("fm-ui-toggle-btn");this.selected=0}Tj(h){this.yK()&&(this.toggle(),this.bb(r.da.Id,this,h))}toggle(){this.selected=1==this.selected?0:1;this.G.eb("fm-selected",1==this.selected)}hg(h){!0===h&&(h=1);!1===h&&(h=0);this.selected==h||1<h||-1>h||(this.selected=h,this.G.eb("fm-selected",1==this.selected))}getSelection(){return this.selected}}e.sO=k})(v||(v={}));
(function(e){class k extends e.UV{constructor(){super();this.G.display="inline-block";this.G.yc("fm-ui-toggle-btn")&&this.G.Pd("fm-ui-toggle-btn");this.G.$("fm-ui-checkbox");this.fG=new e.Oc("Label");this.G.append(this.fG.G)}toggle(){super.toggle();this.G.eb("fm-ui-semi-selected",-1==this.getSelection())}$a(h,f=!1){null!=this.fG&&this.fG.$a(h,f)}J(){return null!=this.fG?this.fG.J():""}hg(h){!0===h&&(h=1);!1===h&&(h=0);this.getSelection()==h||1<h||-1>h||(super.hg(h),this.G.eb("fm-ui-semi-selected",
-1==this.getSelection()))}get checked(){return 1==this.getSelection()}set checked(h){this.hg(h?1:0)}Gl(h){this.fG.Gl(h)}}e.pI=k})(v||(v={}));
(function(e){class k extends e.Oa{constructor(){super("div","fm-ui-divider");this.Yca=h=>this.jw(h);this.Jza=h=>this.iw(h);this.Kza=h=>this.Jq(h);this.direction=k.LH;this.N("mousedown",this.Jza);u.rl.addEventListener("mouseup",this.Kza);this.G.ol()}iw(h){this.Vs=this.direction==k.LH?this.wd():this.pf();this.Xz=this.G.parent.mf();u.rl.addEventListener("mousemove",this.Yca);h.preventDefault();h.stopImmediatePropagation()}jw(h){if(this.direction==k.LH){var f=h.clientY-this.Xz.top;if(this.fE&&(f<this.fE[1]||
f>this.fE[3]))return;this.G.U("top",f-this.Vs/2+"px");this.bb(k.OU,this,{top:f})}this.direction==k.XV&&(h=h.clientX-this.Xz.left,this.fE&&(h<this.fE[0]||h>this.fE[2])||(this.G.U("left",h-this.Vs/2+"px"),this.bb(k.OU,this,{left:h})))}Jq(){u.rl.removeEventListener("mousemove",this.Yca)}get direction(){return this.mW}set direction(h){this.mW=h;this.G.eb("fm-ui-horizontal",this.mW==k.LH);this.G.eb("fm-ui-vertical",this.mW==k.XV);this.G.U("position","absolute")}set msa(h){this.fE=h}}k.LH=0;k.XV=1;k.OU=
"divider_moved_event";e.rO=k})(v||(v={}));(function(e){class k extends e.Oa{constructor(){super("div","fm-ui-modal-overlay")}qFa(h){this.G.eb("fm-ui-transparent",!1);this.G.eb("fm-ui-opaque",h)}}e.ona=k})(v||(v={}));
(function(e){(function(k){class h extends e.Oa{constructor(f="fm-ui-container"){super("div",f)}removeChild(f){this.contains(f)&&f.G.detach()}contains(f){return u.w(f)?!1:this.G.contains(f.G)}pf(){return this.G.width}wd(){return this.G.height}pw(){for(var f=this.G.children(),c=f.length-1;0<=c;c--)f[c].fg()}}k.Dj=h})(e.Vd||(e.Vd={}))})(v||(v={}));(function(e){(function(k){class h extends k.Dj{constructor(){super("fm-ui-border-container")}}k.Q6=h})(e.Vd||(e.Vd={}))})(v||(v={}));
(function(e){(function(k){class h extends k.Dj{constructor(){super();this.G.$("fm-ui-window");this.cb()}setPosition(f,c){this.G.offset({left:Math.floor(f),top:Math.floor(c)});this.G.U("position","absolute")}}k.rna=h})(e.Vd||(e.Vd={}))})(v||(v={}));(function(e){(function(k){class h extends k.Dj{constructor(){super("fm-ui-hgroup")}}k.oKa=h})(e.Vd||(e.Vd={}))})(v||(v={}));(function(e){(function(k){class h extends k.Dj{constructor(){super("fm-ui-vgroup")}}k.tKa=h})(e.Vd||(e.Vd={}))})(v||(v={}));
(function(e){(function(k){class h extends k.Dj{constructor(){super("fm-ui-panel")}}k.qKa=h})(e.Vd||(e.Vd={}))})(v||(v={}));
(function(e){(function(k){class h extends k.rna{constructor(f){super();this.HW=!1;this.Y7=()=>this.l1();this.pea=c=>this.E1(c);this.R_=!1;this.OW=f;this.G.$("fm-ui-popup");this.Jh();this.cb();this.ur=new e.ona;this.ur.N("click",this.Y7);this.ur.cb();this.OW&&this.OW.W(this.ur.G);this.ooa=new e.BA.cV(this.G)}get fL(){return this.HW}E1(f){f.target===window&&(this.G.requestAnimationFrame(()=>this.qt()),this.ME())}l1(){this.close()}open(){u.vZ.addEventListener("resize",this.pea);this.ur.G.eb("fm-ui-opaque",
this.R_);this.show();this.qt();this.bb(r.da.OPENED);this.ME();this.HW=!0;this.wE=document.activeElement;this.G.focus({preventScroll:!0});this.G.W(this.ooa)}show(){super.show();this.ur&&this.ur.show()}cb(){super.cb();this.ur&&this.ur.cb()}set eU(f){this.G.U("opacity",f?0:null);this.ur&&this.ur.G.U("opacity",f?0:null)}close(){u.vZ.removeEventListener("resize",this.pea);this.cb();this.bb(r.da.CLOSED);this.HW=!1}qt(){var f=this.OW,c=u.K.Pb.Gb.G.borderWidth,a=c?Math.round(c.left):0;c=c?Math.round(c.top):
0;if(f){var b=Math.max(a,(f.pf(!0)-this.G.pf(!0))/2);f=Math.max(c,(f.wd(!0)-this.G.wd(!0))/2);this.setPosition(b==a?-1*b:b,f==c?-1*f:f)}}get zC(){return this.ur}}k.Uw=h})(e.Vd||(e.Vd={}))})(v||(v={}));(function(e){(function(k){class h extends k.Dj{constructor(){super("fm-ui-toolbar")}}k.rKa=h})(e.Vd||(e.Vd={}))})(v||(v={}));
(function(e){(function(k){class h extends k.Dj{constructor(){super("fm-ui-toolbar-mobile");this.s_=new e.Oc;this.s_.$("fm-ui-header-display");this.W(this.s_)}hFa(f){this.vi!=f&&(this.vi=f,this.s_.$a(f))}}k.sKa=h})(e.Vd||(e.Vd={}))})(v||(v={}));
(function(e){(function(k){class h{constructor(){this.items=[];this.pJ=[]}JT(f){this.pJ=f}XZ(f,c){if(0>f||c>this.pJ.length+1)return[];for(this.items.length=0;f<c;f++)this.items.push(this.pJ[f]);return this.items}getItem(f){return this.pJ[f]}CK(){return this.pJ.length}}k.jKa=h})(e.hta||(e.hta={}))})(v||(v={}));
(function(e){(function(k){class h extends e.Oa{constructor(){super("ul","fm-ui-list");this.uT=NaN;this.KY=w.Dd().lm?h.Xha:h.Wha;this.FG=[];this.SC=[];this.Fk=!1;this.useCache=!0;this.aE=!1;this.I=[];this.qca=[];this.ji=[];this.Yv="label";this.au=this.ota;this.El=null;this.selectedIndex=-1;this.G.N("click",c=>this.W0(c));this.G.N("keydown",c=>this.rBa(c))}Md(){isNaN(this.uT)&&0<this.ji.length&&(this.uT=this.ji[0].wd(!0)+parseInt(this.ji[0].G.U("border-top-width"))+parseInt(this.ji[0].G.U("border-bottom-width")));
return isNaN(this.uT)?this.KY:this.uT}cFa(){this.KY=37}vR(){return 0}SF(){return this.I.length}jb(){this.Fq("data")&&this.Mta();this.Mc()}Mta(){var c=this.G.element.scrollTop;this.aEa();for(var a,b=this.Hc(),d=0;d<b.length;d++)a=this.getItem(b[d],d),this.Ta(a);this.gaa&&this.G.prepend(this.gaa);this.faa&&this.G.append(this.faa);this.G.Sq(c);this.G.requestAnimationFrame(()=>{0<this.ji.length&&(this.KY=this.ji[0].wd())})}getItem(c,a){if(this.useCache&&0<this.qca.length){var b=this.qca.pop();b.setData(c);
b.vm(a)}else b=this.au(c,a),b.wf(this.Yv);return b}Ta(c){this.ji.push(c);this.W(c)}aEa(){for(;0<this.ji.length;)this.f8(this.ji.pop())}removeItem(c){for(var a=0;a<this.ji.length;a++)if(this.ji[a]===c){this.ji.splice(a,1);break}this.f8(c)}f8(c){null!=this.G.find(c.G.element.nodeName)&&c.G.remove()}rBa(c){if(32==c.keyCode||13==c.keyCode){var a=this.Dq(c.target);a&&(this.oda(a.index,c),c.preventDefault())}40==c.keyCode&&(a=this.Dq(c.target))&&(this.Pi(a.index+1),c.preventDefault());38==c.keyCode&&(a=
this.Dq(c.target))&&(this.Pi(a.index-1),c.preventDefault())}Dq(c){if(c=e.Da.Ib(c).closest("li")){const a=parseInt(c.attr("data-index"));return isNaN(a)?null:{element:c,index:a,data:this.Hc()[a]}}return null}W0(c){const a=this.Dq(c.target);a&&this.oda(a.index,c)}oda(c,a){if(!(0>c)){var b=this.vR()+c,d=this.El,g=this.selectedIndex;this.Nk(c);c=new f;c.data={El:this.El,selectedIndex:this.selectedIndex,Lq:a,NKa:b,LKa:d,KKa:g};this.Ga(c)}}Hc(){return this.I}Pf(c,a=!0){this.I=c;a&&this.Le("data")}ao(){return this.Yv}wf(c){this.Yv!=
c&&(this.Yv=c,this.Le("data"))}Ih(c){this.au=c;this.Le("data")}Rp(c){-1<c&&c<this.ji.length&&this.ji[c].tu()}Wq(c){for(var a,b=0;b<this.ji.length;b++)if(a=this.ji[b].getData(),u.rf(c)){if(c(a)){this.ji[b].tu();break}}else if(a===c){this.ji[b].tu();break}}NF(){for(const c of this.ji)if(c.G.element==document.activeElement)return c.getData();return null}iwa(){for(const c of this.ji)if(c.G.element==document.activeElement)return c;return null}Pi(c,a=!1){-1<c&&c<this.ji.length&&this.ji[c].G.focus({preventScroll:a})}Nv(c,
a=!1){if(!u.w(c))for(const b of this.ji)if(u.rf(c)){if(c(b.getData())){b.G.focus({preventScroll:a});break}}else if(b.getData()===c){b.G.focus({preventScroll:a});break}}Nk(c){var a=this.Hc();-1<c&&c<a.length?this.hU(a[c],c):this.hU(null,-1)}ui(){return this.El}qs(c){var a=this.Hc();if(u.rf(c))for(var b=0;b<a.length;b++){if(!u.w(a[b])&&c(a[b])){this.hU(a[b],b);break}}else a=a.indexOf(c),-1<a&&this.hU(c,a)}hU(c,a){if(this.qq){var b=-1<this.SC.indexOf(a);!(b=!b)&&2>this.SC.length||(b?(this.SC.push(a),
this.FG.push(c)):(this.SC.splice(this.SC.indexOf(a),1),this.FG.splice(this.FG.indexOf(c),1)),this.Fk&&(c.isSelected=b,this.Rp(a)))}else this.Fk&&null!=this.El&&(this.El.isSelected=!1,this.Rp(this.selectedIndex)),this.El=c,this.selectedIndex=a,this.Fk&&null!=this.El&&(this.El.isSelected=!0,this.Rp(this.selectedIndex))}ota(c,a){var b=new e.hi.Sz;b.setData(c);b.vm(a);return b}DK(){return this.Md()*this.Hc().length}set qq(c){this.aE=c}get qq(){return this.aE}eM(c){this.SC=c;this.FG.length=0;c=this.Hc();
for(var a=0;a<c.length;a++)-1<this.SC.indexOf(a)?(this.FG.push(c[a]),this.Fk&&(c[a].isSelected=!0,this.Rp(a))):this.Fk&&(c[a].isSelected=!1,this.Rp(a))}KK(){return this.FG}Mr(c){this.G.Mr(c,this)}tX(){this.Jh(-1);this.gaa=new e.BA.cV(this.G);this.faa=new e.BA.cV(this.G);this.G.N("focus",()=>this.Pi(0,!0))}Dea(c){var a=this.Md();c*=a;a=c+a;const b=this.G.element.scrollTop,d=this.G.wd();b>a?this.G.Sq(c):b+d<a&&this.G.Sq(a-d)}}h.Wha=21;h.Xha=31;k.Fi=h;class f extends r.da{constructor(){super(r.da.Id)}}
k.pKa=f})(e.ld||(e.ld={}))})(v||(v={}));
(function(e){(function(k){class h extends e.Oa{constructor(){super("div","fm-ui-dropdown");this.prompt="Choose item";this.KL=f=>this.j1(f);this.aE=!1;this.G.display="inline-block";this.rB=new k.nna;this.rB.N(r.da.Id,()=>this.$za());this.aK=new e.Oa("div","fm-ui-dropdown-list");this.aK.cb();this.Jf=new k.Fi;this.Jf.Fk=!0;this.Jf.Ih(this.au);this.Jf.N(r.da.Id,f=>this.ku(f));this.Jf.N("keydown",f=>this.ABa(f));this.aK.W(this.Jf);this.W(this.rB);this.W(this.aK)}au(f,c){var a=new e.hi.QV;a.setData(f);
a.vm(c);return a}ku(f){this.Dt(null==f.data.El);this.bb(r.da.Id,this,f.data);this.qq||this.close()}ABa(f){27==f.keyCode&&(this.close(),f.stopImmediatePropagation())}$za(){this.rB.getSelection()?this.open():this.close()}Dt(f){var c=this.Jf.ui();this.rB.$a(f||this.qq||null==c?this.prompt:c[this.ao()]);this.G.eb("fm-ui-prompt",f)}VC(f){this.prompt!==f&&(this.prompt=f,this.Dt(!0))}open(){this.yK()&&(this.aK.show(),this.rB.hg(1),this.Jf.Pi(0),document.body.addEventListener("mousedown",this.KL))}j1(f){this.G.KJ(f)||
this.close()}close(){this.yK()&&(this.aK.cb(),this.rB.hg(0),this.rB.G.focus({preventScroll:!0}),document.body.removeEventListener("mousedown",this.KL))}Hc(){return this.Jf.Hc()}Pf(f){this.Jf.Pf(f)}ao(){return this.Jf.ao()}wf(f){this.Jf.wf(f)}Ih(f){this.Jf.Ih(f)}tu(){this.Jf.tu()}Rp(f){this.Jf.Rp(f)}Nk(f){this.Jf.Nk(f);this.Dt(null==this.Jf.ui())}eM(f){this.Jf.eM(f);this.Dt(!0)}ui(){return this.Jf.ui()}qs(f){this.Jf.qs(f);this.Dt(null==this.Jf.ui())}KK(){return this.Jf.KK()}show(){super.show()}Md(){return this.Jf.Md()}SF(){return this.Jf.SF()}Wq(){}DK(){return 0}set qq(f){this.aE=
f;this.Jf.qq=f;this.aE?this.Jf.G.$("fm-ui-dropdown-multiple-selection-list"):this.Jf.G.Pd("fm-ui-dropdown-multiple-selection-list")}get qq(){return this.aE}set Fk(f){this.Jf.Fk=f}NF(){return this.Jf.NF()}Pi(f){this.Jf.Pi(f)}Nv(f){this.Jf.Nv(f)}}k.kr=h})(e.ld||(e.ld={}))})(v||(v={}));
(function(e){(function(k){class h extends e.Oa{constructor(){super();this.$("fm-ui-vlist");this.Hi=new k.Fi;this.Hi.cFa();this.Hi.N(r.da.Id,f=>this.ku(f));this.W(this.Hi);this.Ys=new e.Oa("div","fm-ui-vlist-placeholder");this.W(this.Ys);this.N("scroll",()=>this.v1())}ku(f){this.Ga(f)}v1(){this.Le("data")}jb(){this.Ys.Ip(Math.min(this.DK(),h.JN));if(this.Fq("data")){const c=this.NF();this.Hi.Pf(this.Hc());var f=this.vR()*this.Md()*this.TF()-this.cba();this.Hi.G.top=Math.min(f,this.Ys.wd()-this.Hi.G.height);
this.Nv(c,!0)}this.Mc()}TF(){return this.DK()>h.JN?h.JN/this.DK():1}vR(){return 1!=this.TF()?Math.floor((this.G.element.scrollTop+this.cba())/this.TF()/this.Md()):Math.max(0,Math.floor(this.G.element.scrollTop/this.Md())-1)}cba(){return 1!=this.TF()?(this.wd()/this.TF()-this.wd())*(this.G.element.scrollTop/h.JN)*this.TF():0}get qq(){return this.Hi.qq}set qq(f){this.Hi.qq=f}ao(){return this.Hi.ao()}wf(f){this.Hi.wf(f)}Ih(f){this.Hi.Ih(f)}Rp(f){this.Hi.Rp(f)}Wq(f){this.Hi.Wq(f)}Md(){return this.Hi.Md()}SF(){return 0<
this.Md()?Math.ceil(this.wd()/this.Md())+3:0}Nk(f){this.Hi.Nk(f)}eM(f){this.Hi.eM(f)}ui(){return this.Hi.ui()}qs(f){this.Hi.qs(f)}KK(){return this.Hi.KK()}DK(){return this.Md()*this.Wg().CK()}NF(){return this.Hi.NF()}Pi(f,c=!1){f=this.ufa.getItem(f);this.Nv(f,c)}Nv(f,c=!1){this.Hi.Nv(f,c)}Wg(){return this.ufa}v2(f){this.ufa=f}rFa(){this.G.Sq(0)}Pf(f){this.Wg()&&(this.Wg().JT(f),this.rFa(),this.Le("data"))}Hc(){var f=this.vR(),c=f+this.SF();return this.Wg()?this.Wg().XZ(f,c):[]}}h.JN=1E6;k.qna=h})(e.ld||
(e.ld={}))})(v||(v={}));(function(e){(function(k){class h extends e.UV{constructor(){super();this.$("fm-ui-dropdown-btn");this.rca=new e.Oc;this.W(this.rca)}$a(f){this.rca.$a(f,!0);this.G.attr("title",f)}}k.nna=h})(e.ld||(e.ld={}))})(v||(v={}));
(function(e){(function(k){class h extends e.Oa{constructor(){super("li");this.Yv="label";this.Jh()}getData(){return this.data}setData(f){null!=f&&(this.data=f,this.Le("data"))}vm(f){this.G.attr("data-index",f)}ao(){return this.Yv}wf(f){this.Yv!=f&&(this.Yv=f,this.Le("data"))}kFa(f){this.c0!=f&&(this.c0=f,this.Le("data"))}jb(){this.Fq("data")&&this.G.text(this.data[this.Yv]);this.Mc()}}k.Sz=h})(e.hi||(e.hi={}))})(v||(v={}));
(function(e){(function(k){class h extends k.Sz{jb(){var f=this.getData();null==this.label&&(this.label=new e.Oc,this.label.$("fm-text-display"),this.G.append(this.label.G));this.label.$a(f[this.ao()],!0);this.G.eb("fm-selected",!0===f.isSelected);this.G.eb("fm-not-selected",!0!==f.isSelected)}}k.QV=h})(e.hi||(e.hi={}))})(v||(v={}));var ta=v||(v={}),ua=ta.Xj||(ta.Xj={}),va=ua.Ei||(ua.Ei={});va.Oh="top";va.aj="bottom";va.BN="left";va.$N="right";
(function(e){(function(k){class h{constructor(f,c){this.RI=a=>this.iw(a);this.Ws=a=>this.Jq(a);this.rA=a=>this.jw(a);this.target=f;this.options=c;this.Nsa()}Nsa(){for(var f=0;f<this.options.M2.length;f++)this.xt(this.options.M2[f])}xt(f){var c=new e.Da("div","fm-resizable-handle");c.$("fm-"+f);c.N("mousedown",this.RI);this.target.W(c);return c}iw(f){f=e.Da.Ib(f.target);f.yc("fm-left")?this.Zw=k.Ei.BN:f.yc("fm-right")?this.Zw=k.Ei.$N:f.yc("fm-top")?this.Zw=k.Ei.Oh:f.yc("fm-bottom")&&(this.Zw=k.Ei.aj);
this.nM()}Jq(f){this.wda(f.clientX,f.clientY);this.oM()}jw(f){this.wda(f.clientX,f.clientY)}wda(f,c){this.yI&&(f=Math.min(Math.max(this.yI.left,f),this.yI.right),c=Math.min(Math.max(this.yI.top,c),this.yI.bottom));var a={left:this.tA.left,top:this.tA.top},b={width:this.RW.width,height:this.RW.height};this.Zw==k.Ei.BN&&(a.left=f,b.width+=this.tA.left-a.left);this.Zw==k.Ei.$N&&(b.width=f-this.tA.left);this.Zw==k.Ei.Oh&&(a.top=c,b.height+=this.tA.top-a.top);this.Zw==k.Ei.aj&&(b.height=c-this.tA.top);
this.options.resize&&this.options.resize({KG:this.Zw,JKa:this.tA,G1:this.RW,position:a,size:b})}nM(){document.addEventListener("mousemove",this.rA);document.addEventListener("mouseup",this.Ws);this.RW={width:this.target.pf(!0),height:this.target.wd(!0)};this.tA={left:this.target.mf().left,top:this.target.mf().top};this.yI=this.options.oY?this.options.oY.getBoundingClientRect():null}oM(){document.removeEventListener("mousemove",this.rA);document.removeEventListener("mouseup",this.Ws)}dispose(){document.removeEventListener("mousemove",
this.rA);document.removeEventListener("mouseup",this.Ws)}}k.rma=h})(e.Xj||(e.Xj={}))})(v||(v={}));(function(e){(function(k){class h extends e.hi.QV{jb(){super.jb();this.G.eb("fm-has-submenu",this.data.submenu&&0<this.data.submenu.length)}}k.R6=h})(e.xq||(e.xq={}))})(v||(v={}));
(function(e){(function(k){class h extends e.Vd.Q6{constructor(c){super();this.ZT=a=>this.ECa(a);this.parent=c;this.$("fm-ui-context-menu");this.list=new e.ld.Fi;this.list.Ih((a,b)=>this.au(a,b));this.list.wf("caption");this.list.N(r.da.Id,a=>this.ku(a));this.list.tX();this.W(this.list);this.Xy=new f(this);this.Xy.list.N(r.da.Id,a=>this.ku(a));this.Xy.cb();this.W(this.Xy);this.G.ol();this.G.N("mouseleave",()=>{this.l9=setTimeout(()=>this.close(),500)});this.G.N("mouseover",()=>{clearTimeout(this.l9)});
this.G.N("keydown",a=>{27==a.keyCode&&(this.close(),a.stopImmediatePropagation())})}xm(c,a,b,d=null,g=null){0!=a.length&&(this.nJ=g,this.setData(a),this.show(),this.wE=document.activeElement,this.list.G.focus({preventScroll:!0}),c=c.mf(),b.top-=c.top,b.top+=d&&!isNaN(d.top)?d.top:-5,b.left-=c.left,b.left+=d&&!isNaN(d.left)?d.left:-5,this.G.offset(b),d=this.G.getBoundingClientRect(),c=!1,d.right>window.innerWidth&&(b.left-=d.width-10,c=!0),d.bottom>window.innerHeight&&(b.top-=d.height-10,c=!0),c&&
(b.top=Math.max(-this.G.parent.top,b.top),b.left=Math.max(-this.G.parent.left,b.left),this.G.offset(b)),w.Dd().lm?this.parent.N("touchstart",this.ZT):this.parent.N("mousedown",this.ZT),this.Aba=!0,u.Be(()=>{this.Aba=!1},100))}ECa(c){this.G.KJ(c)||this.close()}close(c=null){clearTimeout(this.l9);if(this.G.visible){this.cb();this.Xy.cb();this.parent.qb("mousedown",this.ZT);this.parent.qb("touchstart",this.ZT);var a=!0;this.nJ&&(a=this.nJ(c),this.nJ=null);this.wE&&!1!==a&&this.wE.focus({preventScroll:!0})}}setData(c){this.list.Pf(c.slice())}ku(c){const a=
c.data.El;a.submenu&&0<a.submenu.length?(this.Xy.xm(this.list.iwa().G,a),this.Xy.list.Pi(0)):(null!=a.handler&&a.handler(a.data),c.data.Lq&&c.data.Lq.stopImmediatePropagation(),this.close(a))}au(c,a){var b=new k.R6;b.setData(c);b.vm(a);u.ia(c["class"])||b.$(c["class"]);b.N("mouseover",()=>this.WBa(b,c));return b}WBa(c,a){this.Aba||(a.submenu&&0<a.submenu.length?this.Xy.xm(c.G,a):this.Xy.cb())}}k.$D=h;class f extends e.Vd.Q6{constructor(c){super();this.parent=c;this.$("fm-ui-context-submenu");this.list=
new e.ld.Fi;this.list.Ih((a,b)=>this.TFa(a,b));this.list.wf("caption");this.list.tX();this.W(this.list)}TFa(c,a){var b=new k.R6;b.setData(c);b.vm(a);return b}xm(c,a){if(a!=this.Cda){this.Cda=a;this.list.Pf(a.submenu.slice());a=c.mf(this.parent.G.element);this.G.top=a.top-1;this.G.left=c.pf(!0)-5;this.G.Sq(0);this.show();var b=this.G.getBoundingClientRect();b.right>window.innerWidth&&(this.G.left=-b.width,0>this.G.left&&(this.G.left=-this.G.left));b.bottom>window.innerHeight&&(this.G.top=a.top-b.height+
c.wd(!0)+1,0>this.G.top&&(this.G.top=-this.G.top))}}cb(){super.cb();this.Cda=null}}})(e.xq||(e.xq={}))})(v||(v={}));(function(e){(function(k){class h{constructor(f){this.target=f;w.Dd().lm?(new e.BA.nka(this.target)).Wya((c,a)=>this.f1(c,a)):u.rl.addEventListener("contextmenu",c=>this.Loa(c))}f1(){}u1(){}Loa(f){this.target.KJ(f)&&this.u1(f)}}k.tma=h})(e.xq||(e.xq={}))})(v||(v={}));
(function(e){(function(k){class h extends e.Oa{constructor(){super("div","fm-ui-datepicker-input");this.cc="dd/MM/yyyy";this.Foa=1900;this.Doa=2100;this.KL=c=>this.j1(c);this.hB=new e.gk;this.hB.G.N("click",()=>this.open());this.hB.N(e.gk.qz,c=>this.oBa(c));this.hB.N(e.gk.rz,()=>this.pBa());this.W(this.hB);var f=new e.Da("i","fm-ui-datepicker-icon");f.N("click",()=>this.nBa());this.G.W(f);this.y$=new e.Da("div","fm-ui-datepicker-dropdown");this.G.W(this.y$);this.Vo=new k.mna;this.Vo.N(r.da.Id,()=>
this.IAa());this.y$.W(this.Vo.G);this.Le()}jb(){this.Fq("all","date")&&(this.Vo.RC?this.hB.Yi(this.Vo.RC.format(this.cc)):this.hB.Yi(""));this.Fq("timezone")&&this.hB.VC(this.nwa());super.jb()}open(){this.G.eb("fm-opened",!0);this.Vo.reset();document.body.addEventListener("mousedown",this.KL)}close(){this.G.eb("fm-opened",!1);document.body.removeEventListener("mousedown",this.KL);this.Le("date")}get xc(){return this.Vo.RC}set xc(f){this.Vo.RC=f;this.Le("date")}tFa(){this.xc=(new u.Uf).Zi(this.zi)}dDa(f){var c=
"MM/dd/yyyy"==this.cc,a=f.split("/");f=parseInt(a[2]);isNaN(f)||(f=Math.min(this.Doa,Math.max(this.Foa,f)));var b=parseInt(a[c?0:1])-1;isNaN(b)||(b=Math.min(11,Math.max(0,b)));c=parseInt(a[c?1:0]);isNaN(c)||(c=Math.min(u.Uf.IY(b,f),Math.max(1,c)));c=(new u.Uf).Zi(this.zi).setFullYear(f,b,c);return c.dg()?c:null}nBa(){this.G.yc("fm-opened")?this.close():this.open()}oBa(f){f=this.dDa(f.data);u.w(f)||(this.Vo.RC=f,this.bb(r.da.Id,this,this.xc))}pBa(){this.Le("date");this.close()}j1(f){this.G.KJ(f)||
this.close()}IAa(){this.bb(r.da.Id,this,this.xc);this.Le("date");this.close()}get Cw(){return this.Vo.Cw}set Cw(f){this.Vo.Cw=f}get zi(){return this.Vo.zi}set zi(f){this.Vo.zi=f;this.Le("timezone")}set KP(f){this.Vo.KP=f}get HY(){return this.cc}set HY(f){"dd/MM/yyyy"!=f&&"MM/dd/yyyy"!=f||this.cc==f||(this.cc=f,this.tu())}nwa(){var f=new u.Uf;f.Zi(this.zi);return f.format(this.cc)}}k.S6=h})(e.UJ||(e.UJ={}))})(v||(v={}));
(function(e){(function(k){class h{}h.ar=0;h.WH=1;h.uI=2;class f extends e.Oa{constructor(){super();this.QGa=w.Lh.$va();this.Vca=w.Lh.zwa();this.pq=this.Mm=null;this.fJ=0;this.K=h.ar;this.mX=1;this.jX=null;this.$("fm-ui-datepicker");this.$("fm-noselect");this.Mm=(new u.Uf).Zi(this.zi).vM();var c=new e.Da("div","fm-ui-dp-header");this.G.W(c);this.c9=new e.kg("fm-prev-btn");this.c9.N(e.yd.Fe,()=>this.eda(-1));c.W(this.c9.G);this.xL=new e.Oc;this.xL.$("fm-ui-dp-month");this.xL.N("click",()=>this.UBa());
c.W(this.xL.G);this.YG=new e.Oc;this.YG.$("fm-ui-dp-year");this.YG.N("click",()=>this.RCa());c.W(this.YG.G);this.b9=new e.kg("fm-next-btn");this.b9.N(e.yd.Fe,()=>this.eda(1));c.W(this.b9.G);this.v3=new e.Da("div","fm-ui-dp-week");this.G.W(this.v3);this.Hx=new e.Da("div","fm-ui-dp-dates");this.Hx.N("click",a=>this.FAa(a));this.G.W(this.Hx);c=new e.Da("div","fm-ui-dp-footer");this.G.W(c);this.Ye=new e.yd("fm-ui-link-btn");this.Ye.$("fm-cancel-btn");this.Ye.$("fm-muted");this.Ye.Pd("fm-ui-btn");this.Ye.$a("Cancel");
this.Ye.N(e.yd.Fe,()=>this.es());c.W(this.Ye.G);this.Le()}jb(){this.Fq("all")&&this.Uta();this.Fq("date","view")&&this.Ota();this.Fq("date","view")&&this.K==h.ar&&this.Eta();this.Fq("view")&&this.K==h.WH&&this.Pta();this.Fq("view")&&this.K==h.uI&&this.Vta();super.jb()}get RC(){return this.pq}set RC(c){u.w(c)?null!=this.pq&&(this.pq=null,this.Le("date")):(c.Zi(this.zi),c.setHours(0,0,0,0),this.I_(this.pq,c)||(this.pq=c,this.Mm=c.clone().vM(),this.Le("date")))}get view(){return this.K}set view(c){this.K!=
c&&(this.K=c,this.G.eb("fm-ui-dp-view-dates",this.view==h.ar),this.G.eb("fm-ui-dp-view-months",this.view==h.WH),this.G.eb("fm-ui-dp-view-years",this.view==h.uI),this.Le("view"))}reset(){this.Mm=this.pq?this.pq.clone().vM():(new u.Uf).Zi(this.zi).vM();this.fJ=0;this.view=h.ar;this.Le("view")}Ota(){if(this.view==h.ar||this.view==h.WH)this.xL.$a(this.Vca[this.Mm.getMonth()]),this.YG.$a(this.Mm.getFullYear().toString());if(this.view==h.uI){var c=this.jba();this.YG.$a(c+" \u2013 "+(c+19))}this.YG.G.eb("fm-disabled",
this.view!=h.ar);this.xL.G.eb("fm-disabled",this.view!=h.ar)}jba(){for(var c=this.Mm.getFullYear()-10;0!=c%10;)c++;return c+=20*this.fJ}Uta(){this.v3.empty();for(var c=0;7>c;c++){var a=new e.Oc(this.QGa[(c+this.Cw)%7].substr(0,2));a.$("fm-ui-dp-day-title");a.$("fm-ui-dp-col-7");this.v3.W(a.G)}}Vta(){var c=this.jba();this.Hx.empty();for(var a=0;20>a;a++){var b=new e.Oc(c.toString());b.$("fm-ui-dp-date-label");b.$("fm-ui-dp-col-5");this.pq?this.pq.getFullYear()==c&&b.$("fm-selected"):this.Mm.getFullYear()==
c&&b.$("fm-highlighted");b.G.attr("data-year",c);this.Hx.W(b.G);c++}}Pta(){this.Hx.empty();this.Vca.forEach((c,a)=>{c=new e.Oc(c);c.$("fm-ui-dp-date-label");c.$("fm-ui-dp-col-3");this.pq?this.pq.getMonth()==a&&c.$("fm-selected"):this.Mm.getMonth()==a&&c.$("fm-highlighted");c.G.attr("data-month",a);this.Hx.W(c.G)})}Eta(){var c=this.Mm.getDay()-this.Cw;0>c&&(c+=7);c=this.Mm.clone().qX(-c);var a=(new u.Uf).Zi(this.zi);this.Hx.empty();for(var b=0;42>b;b++){var d=new e.Oc(c.getDate().toString());d.$("fm-ui-dp-date-label");
d.$("fm-ui-dp-col-7");c.getMonth()!=this.Mm.getMonth()&&d.$("fm-muted");this.I_(this.pq,c)&&d.$("fm-selected");this.I_(a,c)&&d.$("fm-highlighted");d.G.attr("data-date",c.getTime()/1E3);this.Hx.W(d.G);c.qX(1)}}I_(c,a){return u.w(c)||u.w(a)?!1:c.getFullYear()==a.getFullYear()&&c.getMonth()==a.getMonth()&&c.getDate()==a.getDate()?!0:!1}UBa(){this.view=h.WH}RCa(){this.view!=h.WH&&(this.view=h.uI)}FAa(c){c=e.Da.Ib(c.target);var a=c.attr("data-date");u.w(a)||(this.RC=new u.Uf(1E3*parseInt(a)),this.bb(r.da.Id));
a=c.attr("data-month");u.w(a)||(this.Mm.setMonth(parseInt(a),1),this.view=h.ar);c=c.attr("data-year");u.w(c)||(this.Mm.setFullYear(parseInt(c),this.Mm.getMonth(),1),this.view=h.ar,this.fJ=0)}eda(c){this.view==h.ar?this.Mm.Fpa(c):this.view==h.uI&&(this.fJ+=c);this.Le("view")}es(){this.view=h.ar}get Cw(){return this.mX}set Cw(c){this.mX!=c&&(this.mX=c,this.Le("all"))}get zi(){return this.jX}set zi(c){this.jX!=c&&(this.jX=c,this.Le("all"))}set KP(c){this.Ye.$a(c)}}k.mna=f})(e.UJ||(e.UJ={}))})(v||(v=
{}));
(function(e){(function(k){class h{constructor(f,c=1E3){this.Yfa=a=>this.JCa(a);this.Xfa=a=>this.WS(a);this.target=f;this.delay=c}Wya(f){this.Jb=f;this.target.N("touchstart",this.Yfa);this.target.N("touchend",this.Xfa)}stop(){this.target.qb("touchstart",this.Yfa);this.target.qb("touchend",this.Xfa)}JCa(f){this.timer=u.Be(()=>this.Iqa(f),this.delay)}WS(){this.timer&&u.Pr(this.timer)}Iqa(f){e.Da.Ib(f.target).yc("fm-dragging")||this.Jb(f,f&&0<f.changedTouches.length?f.changedTouches[0]:null)}}k.nka=h})(e.BA||
(e.BA={}))})(v||(v={}));(function(e){(function(k){class h extends e.Da{constructor(f){super();this.target=f;this.Jh();this.element.addEventListener("focus",()=>this.O0())}O0(){this.target.focus()}}k.cV=h})(e.BA||(e.BA={}))})(v||(v={}));var u;
(function(e){class k{constructor(m,n=0,p=k.eka){this.ioa=!0;this.Yw=0;this.Zz=n;this.buffer=m;this.position=0;this.eua=p}get byteOffset(){return this.Zz}set byteOffset(m){this.Zz=m;this.kW=new DataView(this.iq,this.Zz);this.Yw=this.iq.byteLength}get byteLength(){return this.Yw-this.Zz}get buffer(){this.Woa();return this.iq}set buffer(m){this.iq=m;this.kW=0==this.Zz?new DataView(this.iq):new DataView(this.iq,this.Zz);this.Yw=this.iq.byteLength}seek(m){m=Math.max(0,Math.min(this.byteLength,m));this.position=
isNaN(m)||!isFinite(m)?0:m}SGa(m){this.UGa(h.encode(m))}TGa(m){this.XW(1);this.kW.setUint8(this.position,m);this.position+=1}UGa(m){this.XW(1*m.length);if(m instanceof Uint8Array&&0==this.byteOffset+this.position%m.BYTES_PER_ELEMENT)this.Bza(this.iq,this.byteOffset+this.position,m.buffer,m.byteLength),this.Kca(m.length);else for(var n=0;n<m.length;n++)this.TGa(m[n])}lT(m){return f.decode(this.Kca(m))}hea(){var m=this.kW.getUint32(this.position,this.eua);this.position+=4;return m}Kca(m){this.XW(1*
m);var n=new Uint8Array(this.iq,this.byteOffset+this.position,m);this.position+=1*m;return n}XW(m){if(this.ioa){m=this.Zz+this.position+m;var n=this.iq.byteLength;if(m<=n)m>this.Yw&&(this.Yw=m);else{for(1>n&&(n=1);m>n;)n*=2;n=new ArrayBuffer(n);var p=new Uint8Array(this.iq);(new Uint8Array(n,0,p.length)).set(p);this.buffer=n;this.Yw=m}}}Woa(){if(this.Yw!=this.iq.byteLength){var m=new ArrayBuffer(this.Yw),n=new Uint8Array(m),p=new Uint8Array(this.iq,0,n.length);n.set(p);this.buffer=m}}Bza(m,n,p,q){m=
new Uint8Array(m,n,q);p=new Uint8Array(p,0,q);m.set(p)}}k.eH=!1;k.eka=!0;e.br=k;class h{static encode(m){m=m?String(m):"";var n=[],p=new d(n);m=new g(m);null==h.gZ&&(h.gZ=new a);for(;m.get()!==h.Dm;)h.gZ.encode(p,m);do var q=h.gZ.encode(p,m);while(q!==h.cr);return new Uint8Array(n)}}h.cr=-1;h.Dm=-1;e.TextEncoder=h;class f{static decode(m){m||(m=new Uint8Array(0));m=new Uint8Array(m.buffer,m.byteOffset,m.byteLength);m=new b(m);var n=new l;null==f.JY&&(f.JY=new c);for(;m.get()!==f.cr;){var p=f.JY.decode(m);
null!==p&&p!==f.Dm&&n.wF(p)}do p=f.JY.decode(m),null!==p&&p!==f.Dm&&n.wF(p);while(p!==f.Dm);return n.hv}}f.cr=-1;f.Dm=-1;e.TextDecoder=f;class c{constructor(){this.Dm=this.cr=-1;this.WG=this.VG=this.Bw=this.su=0}decode(m){var n=m.get();if(n===this.cr)return this.Dm;m.offset(1);if(0===this.Bw){if(this.inRange(n,0,127))return n;if(this.inRange(n,194,223))this.Bw=1,this.WG=128,this.su=n-192;else if(this.inRange(n,224,239))this.Bw=2,this.WG=2048,this.su=n-224;else if(this.inRange(n,240,244))this.Bw=3,
this.WG=65536,this.su=n-240;else return this.Dm;this.su*=Math.pow(64,this.Bw);return null}if(!this.inRange(n,128,191))return this.WG=this.VG=this.Bw=this.su=0,m.offset(-1),this.Dm;this.VG+=1;this.su+=(n-128)*Math.pow(64,this.Bw-this.VG);if(this.VG!==this.Bw)return null;m=this.su;n=this.WG;this.WG=this.VG=this.Bw=this.su=0;return this.inRange(m,n,1114111)&&!this.inRange(m,55296,57343)?m:this.Dm}inRange(m,n,p){return n<=m&&m<=p}}e.xKa=c;class a{constructor(){this.Dm=this.cr=-1}inRange(m,n,p){return n<=
m&&m<=p}n$(m,n){return Math.floor(m/n)}encode(m,n){var p=n.get();if(p===this.Dm)return this.cr;n.offset(1);if(this.inRange(p,55296,57343))return this.Dm;if(this.inRange(p,0,127))return m.wF(p);if(this.inRange(p,128,2047)){var q=1;var t=192}else this.inRange(p,2048,65535)?(q=2,t=224):this.inRange(p,65536,1114111)&&(q=3,t=240);for(n=m.wF(this.n$(p,Math.pow(64,q))+t);0<q;)n=m.wF(128+this.n$(p,Math.pow(64,q-1))%64),--q;return n}}e.yKa=a;class b{constructor(m){this.cr=-1;this.Al=0;this.KA=m}get(){return this.Al>=
this.KA.length?this.cr:Number(this.KA[this.Al])}offset(m){this.Al+=m;if(0>this.Al)throw Error("Seeking past start of the buffer");if(this.Al>this.KA.length)throw Error("Seeking past EOF");}match(m){if(m.length>this.Al+this.KA.length)return!1;var n;for(n=0;n<m.length;n+=1)if(Number(this.KA[this.Al+n])!==m[n])return!1;return!0}}e.gHa=b;class d{constructor(m){this.cr=-1;this.Al=0;this.KA=m}wF(m){var n=this.cr,p;for(p=0;p<arguments.length;++p)n=Number(arguments[p]),this.KA[this.Al++]=n;return n}}e.hHa=
d;class g{constructor(m){this.Al=0;this.Dm=-1;this.hv=m;this.vY=this.Rva(this.hv)}Rva(m){for(var n=[],p=0,q=m.length;p<m.length;){var t=m.charCodeAt(p);if(this.inRange(t,55296,57343))if(this.inRange(t,56320,57343))n.push(65533);else if(p===q-1)n.push(65533);else{var x=m.charCodeAt(p+1);this.inRange(x,56320,57343)?(t&=1023,x&=1023,p+=1,n.push(65536+(t<<10)+x)):n.push(65533)}else n.push(t);p+=1}return n}inRange(m,n,p){return n<=m&&m<=p}offset(m){this.Al+=m;if(0>this.Al)throw Error("Seeking past start of the buffer");
if(this.Al>this.vY.length)throw Error("Seeking past EOF");}get(){return this.Al>=this.vY.length?this.Dm:this.vY[this.Al]}}e.tHa=g;class l{constructor(){this.hv=""}wF(m){65535>=m?this.hv+=String.fromCharCode(m):(m-=65536,this.hv+=String.fromCharCode(55296+(m>>10&1023)),this.hv+=String.fromCharCode(56320+(m&1023)))}}e.uHa=l})(u||(u={}));var y;
(function(e){class k extends r.fh{constructor(){super(...arguments);this.responseType="arraybuffer";this.connected=!1;this.wc=[]}load(h){this.url=h;this.connected=!1;this.close();this.xhr=new XMLHttpRequest;this.xhr.open("GET",h,!0);this.xhr.responseType=this.responseType;this.xhr.onprogress=f=>this.yp(f);this.xhr.onerror=f=>this.Tb(f);this.xhr.onreadystatechange=f=>this.kw(f);this.uJ();this.xhr.send()}Ova(){if(void 0!==this.xhr){var h=this.xhr.getResponseHeader("Content-Type"),f=/charset=([^()<>@,;:"/[\]?.=\s]*)/i;
return f.test(h)?f.exec(h)[1]:"UTF-8"}}Iq(){this.response=this.xhr.response;this.bb(r.da.Dc)}yp(h){this.bb(r.da.ge,this,h)}Tb(){u.w(this.xhr)||(this.response=this.xhr.response||this.xhr.responseText||this.xhr.statusText);this.Ga(new r.da(r.da.Ca,this))}kw(){null!=this.xhr&&4===this.xhr.readyState&&(200===this.xhr.status?this.Iq():this.bb(r.da.Ca,this,this.xhr.statusText));null!=this.xhr&&3>this.xhr.readyState&&!this.connected&&(this.connected=!0,this.bb(r.da.zD))}uJ(){if(!u.w(this.wc))for(var h=0;h<
this.wc.length;h++)try{this.xhr.setRequestHeader(this.wc[h].vi,this.wc[h].value)}catch(f){console.error("Request headers error:",f),u.Wa(f.message||f,u.i.C.u.Ca,u.Bb.Ca)}}close(){null!=this.xhr&&this.xhr.abort()}dispose(){this.response=null;null!=this.xhr&&(this.xhr.onload=null,this.xhr.onprogress=null,this.xhr.onerror=null,this.xhr.onreadystatechange=null);this.wc=this.xhr=null}}e.U6=k})(y||(y={}));
(function(e){class k extends r.fh{constructor(){super();this.dataType=h.Qz;this.contentType=f.Xma;this.Pq=c.dV;this.p8=this.connected=!1;this.KW=0;this.mA=null;this.bea=0;this.wc=[];this.data={};this.Qh=0}load(d){u.ia(d)||(this.url=d);this.Qh=0;this.connected=!1;this.close();this.xhr=new XMLHttpRequest;this.xhr.open(this.Pq,this.url,!0);this.xhr.withCredentials=this.p8;this.xhr.onerror=g=>this.Tb(g);this.xhr.onreadystatechange=g=>this.kw(g);this.xhr.onprogress=g=>this.yp(g);this.Pq==c.Ku&&!1!==this.contentType&&
this.xhr.setRequestHeader("Content-type",this.contentType);this.uJ();this.xhr.send(this.data)}set withCredentials(d){this.p8=d}uJ(){if(!u.w(this.wc))for(var d=0;d<this.wc.length;d++)try{this.xhr.setRequestHeader(this.wc[d].vi,this.wc[d].value)}catch(g){console.error("Request headers error:",g),u.Wa(g.message||g,u.i.C.u.Ca,u.Bb.Ca)}}Xi(d){if(!u.w(d)){this.wc=[];for(let g in d)d.hasOwnProperty(g)&&this.wc.push(new e.V6(g,d[g]))}}rM(){this.response=this.xhr.response||this.xhr.responseText;this.Qh=this.mA?
this.mA.loaded:this.response.length;null!=this.mA&&this.bb(r.da.ge,this,this.mA);this.Ga(new r.da(r.da.Dc,this))}kw(d){null!=this.xhr&&4===this.xhr.readyState&&(200===this.xhr.status?this.rM():this.Tb(d));null!=this.xhr&&3>this.xhr.readyState&&!this.connected&&(this.connected=!0,this.Ga(new r.da(r.da.zD)))}yp(d){w.nf()-this.KW>this.bea?(this.response=this.xhr.response||this.xhr.responseText,this.Qh=d.loaded,this.bb(r.da.ge,this,d),this.KW=w.nf(),this.mA=null):this.mA=d}Tb(){u.w(this.xhr)||(this.response=
this.xhr.response||this.xhr.responseText||this.xhr.statusText);this.Ga(new r.da(r.da.Ca,this))}close(){null!=this.xhr&&(this.xhr.onprogress=null,this.xhr.onreadystatechange=null,this.xhr.abort())}dispose(){this.data=this.response=null;this.wc=[];null!=this.xhr&&(this.xhr.onprogress=null,this.xhr.onreadystatechange=null);this.KW=this.mA=this.xhr=null}}e.Ej=k;class h{}h.Qz="text";h.aa="xml";h.Gu="html";h.JSON="json";e.nz=h;class f{}f.Xma="text/plain";f.nO="text/xml";f.C3="application/json";f.Bga="application/x-www-form-urlencoded";
e.mz=f;class c{}c.Ku="POST";c.dV="GET";e.Os=c;class a{constructor(d,g){this.vi=d;this.value=g}}e.V6=a;class b{constructor(){this.data={}}toString(){var d=[],g;for(g in this.data)this.data.hasOwnProperty(g)&&d.push(g+"="+this.data[g]);return d.join("&")}}e.una=b})(y||(y={}));
(function(e){class k extends r.fh{constructor(){super();this.sQ=!1;document.body.onfocus=()=>this.O0()}Z8(f=[]){this.input=document.createElement("input");this.input.setAttribute("type","file");this.input.style.display="none";document.body.appendChild(this.input);this.input.setAttribute("accept",f.join(","));this.input.addEventListener("change",()=>this.eAa());this.sQ=!0;this.input.click()}eAa(){this.sQ=!1;u.w(this.input.files)||u.w(this.input.files[0])||(this.file=this.input.files[0],this.bb(r.da.eq))}O0(){this.sQ&&
u.Be(()=>{(u.w(this.input.files)||u.w(this.input.files[0]))&&this.bb(r.da.wU);this.sQ=!1},500)}load(f=h.Qz){null!=this.file&&(this.JC=new FileReader,this.JC.onload=()=>this.BBa(),this.JC.onprogress=c=>this.yp(c),this.JC.onerror=c=>this.Tb(c),f==h.ARRAY_BUFFER?this.JC.readAsArrayBuffer(this.file):this.JC.readAsText(this.file))}BBa(){this.response=this.JC.result;this.Ga(new r.da(r.da.Dc,this))}yp(f){this.bb(r.da.ge,this,f)}Tb(f){this.Ga(f)}dispose(){this.JC=this.file=this.response=null}}e.q5=k;class h{}
h.Qz="TEXT";h.ARRAY_BUFFER="ARRAY_BUFFER";e.pma=h;e.Aea=function(f,c){if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(f,c);else{var a=document.createElement("a"),b=window.URL.createObjectURL(f);a.href=b;a.download=c;a.target="_blank";document.body.appendChild(a);a.click();u.Be(function(){document.body.removeChild(a);window.URL.revokeObjectURL(b)},0)}}})(y||(y={}));
(function(e){class k{get item(){return this[0]}find(c){return void 0===this.item?this:this.item.find(c)}text(){return void 0===this.item?"":this.item.text()}attr(c,a){if(void 0!==this.item)return a?this.item.attr(c,a):this.item.attr(c)}children(){for(var c=new k,a=0;void 0!==this[a];)c[a]=h.Ib(this[a]),a++;return c}push(c){this[this.length]=c;return this}get length(){for(var c=0;void 0!==this[c];)c++;return c}}e.zKa=k;class h extends Element{text(c){return c||!1===c?(this.textContent=c.toString(),
this):c=u.w(this.textContent)?"":this.textContent}append(c){if(u.w(c)||"string"==typeof c&&u.ia(c))return this;(c instanceof CDATASection||""!=c.textContent)&&this.appendChild(c);return this}ib(){return""==this.text()}find(c){c=this.querySelectorAll(c);for(var a=new k,b=0;b<c.length;b++)a[b]=h.Ib(c[b]);return a}attr(c,a){if(a||!1===a)return this.setAttribute(c,a),this;a=this.getAttribute(c);null==a&&(a=void 0);return a}Gva(){for(var c=new k,a=this.firstElementChild;a;)a.nodeType===Node.ELEMENT_NODE&&
c.push(h.Ib(a)),a=a.nextElementSibling;return c}get length(){return this.childNodes.length}static Ib(c){c.find=h.prototype.find;c.append=h.prototype.append;c.text=h.prototype.text;c.attr=h.prototype.attr;c.isEmpty=h.prototype.ib;c.getChildren=h.prototype.Gva;return c}}e.ZV=h;class f{constructor(){throw Error("Singleton");}static create(c){if(null==c.firstChild){c=(new DOMParser).parseFromString(c,"text/xml");if(f.xya(c))return null;c=c.firstElementChild?c.firstElementChild:c.firstChild}else c=c.firstChild;
return h.Ib(c)}static xya(c){return c.getElementsByTagName("parsererror")&&c.getElementsByTagName("parsererror")[0]?0<c.getElementsByTagNameNS(c.getElementsByTagName("parsererror")[0].namespaceURI,"parsererror").length:!1}static th(c){return f.zta.createCDATASection(c)}static Bc(c,a=!1){null==f.Nea&&(f.Nea=new XMLSerializer);c=f.Nea.serializeToString(c);1==a&&(c=f.format(c));return c.trim()}static format(c){c=c.replace(/>\s{0,}</g,"><").replace(/</g,"~::~<").replace(/\s*xmlns:/g,"~::~xmlns:").replace(/\s*xmlns=/g,
"~::~xmlns=").split("~::~");var a=c.length,b=!1,d=0,g="",l,m=["\n"];for(l=0;20>l;l++)m.push(m[l]+"    ");for(l=0;l<a;l++)if(-1<c[l].search(/<!/)){if(g+=m[d]+c[l],b=!0,-1<c[l].search(/--\x3e/)||-1<c[l].search(/\]>/)||-1<c[l].search(/!DOCTYPE/))b=!1}else-1<c[l].search(/--\x3e/)||-1<c[l].search(/\]>/)?(g+=c[l],b=!1):/^<\w/.exec(c[l-1])&&/^<\/\w/.exec(c[l])&&/^<[\w:\-\.,]+/.exec(c[l-1])[0]==/^<\/[\w:\-\.,]+/.exec(c[l])[0].replace("/","")?(g+=c[l],b||d--):g=-1<c[l].search(/<\w/)&&-1==c[l].search(/<\//)&&
-1==c[l].search(/\/>/)?b?g+=c[l]:g+=m[d++]+c[l]:-1<c[l].search(/<\w/)&&-1<c[l].search(/<\//)?b?g+=c[l]:g+=m[d]+c[l]:-1<c[l].search(/<\//)?b?g+=c[l]:g+=m[--d]+c[l]:-1<c[l].search(/\/>/)?b?g+=c[l]:g+=m[d]+c[l]:-1<c[l].search(/<\?/)?g+(m[d]+c[l]):-1<c[l].search(/xmlns:/)||-1<c[l].search(/xmlns=/)?g+(m[d]+c[l]):g+c[l];c="\n"==g[0]?g.slice(1):g;c=c.replace(/[\r\n\s]*<!\[CDATA\[/g,"<![CDATA[");return c=c.replace(/]]\x3e\s*/g,"]]\x3e")}}f.zta=(new DOMParser).parseFromString("<tmp/>","text/xml");e.aa=f})(y||
(y={}));
(function(e){class k{static print(h,f="",c=""){var a="printer-"+(new Date).getTime(),b=(new v.Da("iframe")).attr("name",a);b.U("width","1px").U("height","1px").U("position","absolute").U("left","-9999px");u.K.Pb.Gb.G.append(b);a=window.frames[a];var d=a.document;d.open();d.write("<!DOCTYPE html>");d.write("<html>");d.write("<head>");d.write("<title>");d.write(c);d.write("</title>");d.write("<style>");d.write(f+"body{-webkit-print-color-adjust:exact;}");d.write("</style>");d.write("</head>");d.write("<body>");
d.write(h);d.write("</body>");d.write("</html>");d.close();a.focus();a.print();u.Be(()=>{b.remove()},2E3)}}e.t6=k})(y||(y={}));
(function(e){class k{constructor(){this.table=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,
2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,
2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,
2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,
3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,
1047427035,2932959818,3654703836,1088359270,936918E3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]}gsa(f){var c=[],a=0,b=0,d;for(d in f)if(f.hasOwnProperty(d)){var g=f[d],l=this.W2(g);g=this.wGa(l);g={yGa:l.length,wY:this.wY(l),v9:g.length,hsa:g,jsa:"\x00\x00",xc:new Date};l=this.tva(d,g,a);a+=l.P$.length+g.v9;b+=l.k$.length;c.push(l)}f=
k.Xga+"\x00\x00\x00\x00"+this.bm(c.length,2)+this.bm(c.length,2)+this.bm(b,4)+this.bm(a,4)+this.bm(0,2);a=new h(a+b+f.length);for(b=0;b<c.length;b++)a.append(c[b].P$),a.append(c[b].isa.hsa);for(b=0;b<c.length;b++)a.append(c[b].k$);a.append(f);return a.getData()}wY(f){var c=-1;for(var a=0,b=f.length;a<b;a++){var d=f[a];d=(c^d)&255;d=this.table[d];c=c>>>8^d}return c^-1}bm(f,c){for(var a="",b=0;b<c;b++)a+=String.fromCharCode(f&255),f>>>=8;return a}tva(f,c,a){var b=c.xc,d=b.getHours();d=d<<6|b.getMinutes();
d=d<<5|b.getSeconds()/2;var g=b.getFullYear()-1980;g=g<<4|b.getMonth()+1;g=g<<5|b.getDate();b="\n\x00\x00\x00"+c.jsa;b+=this.bm(d,2);b+=this.bm(g,2);b+=this.bm(c.wY,4);b+=this.bm(c.v9,4);b+=this.bm(c.yGa,4);b+=this.bm(f.length,2);b+=this.bm(0,2);return{P$:k.fka+b+f,k$:k.Yga+this.bm(20,2)+b+this.bm(0,2)+"\x00\x00\x00\x00"+this.bm(0,4)+this.bm(a,4)+f,isa:c}}W2(f){var c=this.zsa(f),a=f.length,b=new Uint8Array(c),d,g=0;for(d=0;g<c;d++){var l=f.charCodeAt(d);if(55296===(l&64512)&&d+1<a){var m=f.charCodeAt(d+
1);56320===(m&64512)&&(l=65536+(l-55296<<10)+(m-56320),d++)}128>l?b[g++]=l:(2048>l?b[g++]=192|l>>>6:(65536>l?b[g++]=224|l>>>12:(b[g++]=240|l>>>18,b[g++]=128|l>>>12&63),b[g++]=128|l>>>6&63),b[g++]=128|l&63)}return b}zsa(f){for(var c=0,a=f.length,b,d,g=0;g<a;g++)b=f.charCodeAt(g),55296===(b&64512)&&g+1<a&&(d=f.charCodeAt(g+1),56320===(d&64512)&&(b=65536+(b-55296<<10)+(d-56320),g++)),c+=128>b?1:2048>b?2:65536>b?3:4;return c}wGa(f){var c=[],a=f.length,b=0;for(new Uint8Array(0);b<a;)c.push(String.fromCharCode.apply(null,
f.subarray(b,Math.min(b+65536,a)))),b+=65536;return c.join("")}}k.fka="PK\u0003\u0004";k.Yga="PK\u0001\u0002";k.Xga="PK\u0005\u0006";k.BKa="PK\u0006\u0007";k.AKa="PK\u0006\u0006";k.xHa="PK\u0007\b";e.xja=k;class h{constructor(f){this.data=new Uint8Array(f);this.index=0}append(f){0!==f.length&&(f=this.W2(f),this.data.set(f,this.index),this.index+=f.length)}getData(){return this.data}W2(f){for(var c=new Uint8Array(f.length),a=0;a<f.length;++a)c[a]=f.charCodeAt(a)&255;return c}}})(y||(y={}));
(function(e){class k{constructor(h,f={}){this.zi=0;this.bi=this.Dh=!1;const c=void 0===f.mv?!0:f.mv;h instanceof Date?h=h.getTime():void 0===h&&c?h=e.w(window.flexmonster_test_now)?Date.now():(new Date(window.flexmonster_test_now)).getTime():e.ia(h)||"null"===h?(c?this.bi=!0:this.Dh=!0,h=NaN):"number"===typeof h?isNaN(h)&&(this.Dh=!0):"string"===typeof h?(e.ia(f.format)?this.lya(h)?10==h.length?h=Date.parse(h+"T00:00:00"):(h=new Date(h),h=h.getTime()+6E4*h.getTimezoneOffset()):h=8>h.length||/\D+/.test(h.slice(1))?
Date.parse(h):parseInt(h):h=this.ZCa(h,f.format),isNaN(h)&&(this.Dh=!0)):(this.bi=!0,h=NaN);this.xc=isNaN(h)?new Date(NaN):new Date(h);this.Zi(this.xc.getTimezoneOffset())}lya(h){return 4==h.length||7==h.length&&"-"==h.charAt(4)||10==h.length&&"-"==h.charAt(4)&&"-"==h.charAt(7)?!0:!1}round(h){h=1E3*k.uM(h);0!==h&&this.xc.setTime(Math.floor(this.xc.getTime()/h)*h)}static uM(h){if(e.ia(h))return 0;const f=h.match(/[s|m|h|d]$/);if(!e.w(f)){const c=parseFloat(h.substr(0,h.length-1));if("s"===f[0])return c;
if("m"===f[0])return 60*c;if("h"===f[0])return 3600*c;if("d"===f[0])return 86400*c}return parseInt(h)}getDate(){if(!this.bi&&!this.Dh)return this.xc.getUTCDate()}setDate(h){if(!this.bi&&!this.Dh)return this.xc.setUTCDate(h),this}getDay(){if(!this.bi&&!this.Dh)return this.xc.getUTCDay()}getFullYear(){if(!this.bi&&!this.Dh)return this.xc.getUTCFullYear()}setFullYear(h,f=null,c=null){if(!this.bi&&!this.Dh)return e.w(f)?this.xc.setUTCFullYear(h):e.w(c)?this.xc.setUTCFullYear(h,f):this.xc.setUTCFullYear(h,
f,c),this}getHours(){if(!this.bi&&!this.Dh)return this.xc.getUTCHours()}setHours(h,f=null,c=null,a=null){if(!this.bi&&!this.Dh)return e.w(f)?this.xc.setUTCHours(h):e.w(c)?this.xc.setUTCHours(h,f):e.w(a)?this.xc.setUTCHours(h,f,c):this.xc.setUTCHours(h,f,c,a),this}getMilliseconds(){if(!this.bi&&!this.Dh)return this.xc.getUTCMilliseconds()}setMilliseconds(h){if(!this.bi&&!this.Dh)return this.xc.setUTCMilliseconds(h),this}getMinutes(){if(!this.bi&&!this.Dh)return this.xc.getUTCMinutes()}setMinutes(h,
f=null,c=null){if(!this.bi&&!this.Dh)return e.w(f)?this.xc.setUTCMinutes(h):e.w(c)?this.xc.setUTCMinutes(h,f):this.xc.setUTCMinutes(h,f,c),this}getMonth(){if(!this.bi&&!this.Dh)return this.xc.getUTCMonth()}setMonth(h,f=null){if(!this.bi&&!this.Dh)return e.w(f)?this.xc.setUTCMonth(h):this.xc.setUTCMonth(h,f),this}getSeconds(){if(!this.bi&&!this.Dh)return this.xc.getUTCSeconds()}setSeconds(h,f=null){if(!this.bi&&!this.Dh)return e.w(f)?this.xc.setUTCSeconds(h):this.xc.setUTCSeconds(h,f),this}getTimezoneOffset(){if(!this.bi&&
!this.Dh)return this.zi}Zi(h,f=!0){if(!this.bi&&!this.Dh){if(isNaN(h)||e.w(h))return this;0!=h&&60>Math.abs(h)&&(h*=-60);h!==this.zi&&(f&&this.xc.setUTCMinutes(this.xc.getUTCMinutes()+(this.zi-h)),this.zi=h);return this}}getTime(){return this.bi||this.Dh?e.i.C.u.Bm:this.xc.getTime()+6E4*this.zi}qX(h){this.setDate(this.getDate()+h);return this}Fpa(h){this.setMonth(this.getMonth()+h)}nGa(){this.setMonth(0,1);this.setHours(0,0,0,0)}lGa(){9<=this.getMonth()?this.setMonth(9,1):6<=this.getMonth()?this.setMonth(6,
1):3<=this.getMonth()?this.setMonth(3,1):0<=this.getMonth()&&this.setMonth(0,1);this.setHours(0,0,0,0)}vM(){this.setDate(1);this.setHours(0,0,0,0);return this}mGa(h=1){this.setDate(this.getDate()-(this.getDay()-h+7)%7);this.setHours(0,0,0,0)}Uq(){this.setHours(0,0,0,0);return this}PG(h,f=1){"day"==h?this.Uq():"week"==h?this.mGa(f):"month"==h?this.vM():"quarter"==h?this.lGa():"year"==h&&this.nGa()}eGa(){this.setMonth(11,31);this.setHours(23,59,59,999);return this}cGa(){9<=this.getMonth()?this.setMonth(11,
1):6<=this.getMonth()?this.setMonth(8,1):3<=this.getMonth()?this.setMonth(5,1):0<=this.getMonth()&&this.setMonth(2,1);this.setDate(k.IY(this.getMonth(),this.getFullYear()));this.setHours(23,59,59,999);return this}bGa(){this.setDate(k.IY(this.getMonth(),this.getFullYear()));this.setHours(23,59,59,999);return this}dGa(h=1){this.setDate(this.getDate()+(6-this.getDay()+h)%7);this.setHours(23,59,59,999);return this}dU(){this.setHours(23,59,59,999);return this}tM(h,f=1){return"day"==h?this.dU():"week"==
h?this.dGa(f):"month"==h?this.bGa():"quarter"==h?this.cGa():"year"==h?this.eGa():this}dg(){return this.bi||this.Dh?!1:!isNaN(this.xc.getTime())}format(h){return this.Dh?e.i.C.u.Bm:this.bi?"":"UTC"===h.slice(0,3)||"GMT"===h.slice(0,3)?w.Lh.format(this.Yy(),h):w.Lh.format(this.xc,"UTC:"+h)}toString(){return this.format("yyyy-MM-dd HH:mm:ss")}Yy(){return new Date(this.getTime())}clone(){var h=new k;this.Dh||this.bi||(h.xc=new Date(this.xc.getTime()));h.zi=this.zi;return h}ZCa(h,f){var c=NaN;const a=
"UTC"===f.slice(0,3);if("UTC"===f.slice(0,3)||"GMT"===f.slice(0,3))f=f.split(":")[1];"dd/MM/yyyy"===f?(f=h.split("/"),c=a?Date.UTC(parseInt(f[2]),parseInt(f[1])-1,parseInt(f[0])):(new Date(parseInt(f[2]),parseInt(f[1])-1,parseInt(f[0]))).getTime()):"dd-MM-yyyy"===f?(f=h.split("-"),c=a?Date.UTC(parseInt(f[2]),parseInt(f[1])-1,parseInt(f[0])):(new Date(parseInt(f[2]),parseInt(f[1])-1,parseInt(f[0]))).getTime()):"dd/MM/yyyy HH:mm:ss"===f&&(f=h.split(" "),h=f[0].split("/"),e.ia(f[1])?c=a?Date.UTC(parseInt(h[2]),
parseInt(h[1])-1,parseInt(h[0])):(new Date(parseInt(h[2]),parseInt(h[1])-1,parseInt(h[0]))).getTime():(f=e.ia(f[1])?[]:f[1].split(":"),c=a?Date.UTC(parseInt(h[2]),parseInt(h[1])-1,parseInt(h[0]),parseInt(f[0]),parseInt(f[1]),parseInt(f[2])):(new Date(parseInt(h[2]),parseInt(h[1])-1,parseInt(h[0]),parseInt(f[0]),parseInt(f[1]),parseInt(f[2]))).getTime()));return c}static IY(h,f){return k.doa[h]+(1==h&&0==f%4?1:0)}static hZ(h,f){return h&&f?h.getTime()==f.getTime():h==f}}k.doa={0:31,1:28,2:31,3:30,
4:31,5:30,6:31,7:31,8:30,9:31,10:30,11:31};e.Uf=k})(u||(u={}));
(function(e){class k{constructor(){(this.isNative=e.rf(Set))?this.AA=new Set:this.Xw=[]}add(h){if(this.isNative)return this.AA.add(h),this;0>this.Xw.indexOf(h)&&this.Xw.push(h);return this}clear(){if(this.isNative)return this.AA.clear();this.Xw.length=0}delete(h){if(this.isNative)return this.AA.delete(h);h=this.Xw.indexOf(h);if(0>h)return!1;this.Xw.splice(h,1);return!0}has(h){return this.isNative?this.AA.has(h):0<=this.Xw.indexOf(h)}get size(){return this.isNative?this.AA.size:this.Xw.length}Lc(){if(this.isNative){if(e.rf(Array.from))return Array.from(this.AA);
const h=[];this.AA.forEach(f=>h.push(f));return h}return this.Xw}}e.FD=k})(u||(u={}));
(function(e){class k{constructor(){this.Ck={}}get target(){return null}QE(a,b){return a.type===b.type&&a.Jb===b.Jb&&a.m3===b.m3}q_(a,b){if(e.w(this.Ck[a]))return!1;for(var d=0;d<this.Ck[a].length;d++)if(this.QE(this.Ck[a][d],b))return!0;return!1}addEventListener(a,b,d){var g={type:a,Jb:b,m3:d};this.q_(a,g)||(e.w(this.Ck[a])&&(this.Ck[a]=[]),this.Ck[a].push(g),this.target.addEventListener(a,b,d))}removeEventListener(a,b,d){b={type:a,Jb:b,m3:d};for(a in this.Ck){for(var g=[],l=0;l<this.Ck[a].length;l++)this.QE(this.Ck[a][l],
b)?"boolean"===typeof d?this.target.removeEventListener(a,this.Ck[a][l].Jb,d):this.target.removeEventListener(a,this.Ck[a][l].Jb):g.push(this.Ck[a][l]);this.Ck[a]=g}}dispose(){for(var a in this.Ck)for(var b=0;b<this.Ck[a].length;b++)this.target.removeEventListener(a,this.Ck[a][b].Jb,!0),this.target.removeEventListener(a,this.Ck[a][b].Jb,!1);this.Ck={}}}class h extends k{static V(){null==h.La&&(h.La=new h);return h.La}get target(){return document}}class f extends k{static V(){null==f.La&&(f.La=new f);
return f.La}get target(){return window}}class c{static dispose(){for(;0<c.sM.length;)clearTimeout(c.sM.pop());for(;0<c.$K.length;)clearInterval(c.$K.pop())}}c.sM=[];c.$K=[];e.lna=c;e.Be=function(a,b){a=setTimeout(a,b);c.sM.push(a);return a};e.Pr=function(a){clearTimeout(a);c.sM.splice(c.sM.indexOf(a),1)};e.eaa=function(a,b){a=setInterval(a,b);c.$K.push(a);return a};e.uZ=function(a){clearInterval(a);c.$K.splice(c.$K.indexOf(a),1)};e.rl=h.V();e.vZ=f.V()})(u||(u={}));var w;
(function(e){class k extends r.fh{constructor(f){super();this.bX=()=>this.IEa();this.NO=()=>this.NO();this.zE="__FMResizeTriggersStorage__";this.el=f;this.Exa();this.oq=new h(this.el.element,this.zE);this.PFa(this.el.element)}Exa(){!u.w(this.el)&&u.w(this.el.element[this.zE])&&(this.el.element[this.zE]={})}refresh(){this.b2(this.oq)}b2(f){var c=f.f2;f=c.firstElementChild;c=c.lastElementChild;var a=f.firstElementChild;c.scrollLeft=c.scrollWidth;c.scrollTop=c.scrollHeight;a.style.width=f.offsetWidth+
1+"px";a.style.height=f.offsetHeight+"px";f.scrollLeft=f.scrollWidth;f.scrollTop=f.scrollHeight}Yqa(f){return f.offsetWidth!=this.oq.d2.width||f.offsetHeight!=this.oq.d2.height}IEa(){if(this.el&&this.el.element&&!u.w(this.el.element[this.zE])){const f=this.el.element,c=this.oq.d2;this.b2(this.oq);this.oq.sT&&this.el.cancelAnimationFrame(this.oq.sT);this.oq.sT=this.el.requestAnimationFrame(()=>{u.w(c.width)&&(c.width=f.offsetWidth);u.w(c.height)&&(c.height=f.offsetHeight);this.Yqa(f)&&(c.width=f.offsetWidth,
c.height=f.offsetHeight,this.xta())})}}xta(){this.bb(r.da.GV)}PFa(f){f.attachEvent?f.attachEvent("onresize",this.NO):u.w(f)||("static"==getComputedStyle(f).position&&(f.style.position="relative"),f.appendChild(this.oq.f2),this.b2(this.oq),f.addEventListener("scroll",this.bX,!0))}RFa(f){f.detachEvent?f.detachEvent("onresize",this.NO):f.removeEventListener("scroll",this.bX,!0)}nra(){const f=this.el.element[this.zE],c=Object.keys(f);for(let a=0;a<c.length;a++)if(!u.w(f[c[a]]))return;this.el.element[this.zE]=
null}dispose(){this.el&&this.el.element&&(this.RFa(this.el.element),this.oq.dispose(),this.oq=null,this.nra());this.NO=this.bX=this.el=null}}e.sma=k;class h{constructor(f,c){this.ZW="__resizeLast__";this.j8="__resizeListeners__";this.TI="__resizeTriggers__";this.pP="__resizeRAF__";this.joa="__resizeTrigger";this.BC=f;this.U2=c;this.yQ=this.sva();u.w(this.BC)||this.Cxa(this.U2)}get f2(){return this.GK()[this.TI]}get d2(){return this.GK()[this.ZW]}get sT(){return this.GK()[this.pP]}set sT(f){this.GK()[this.pP]=
f}sva(){return this.joa+u.K.Pb.Gb.sf.id}Cxa(f){this.BC[f][this.yQ]={};f=this.BC[f][this.yQ];f[this.ZW]={};f[this.j8]=[];f[this.TI]=document.createElement("div");f[this.TI].className="fm-resize-triggers";f[this.TI].innerHTML='<div class="fm-expand-trigger"><div></div></div><div class="fm-contract-trigger"></div>';f[this.pP]=null}GK(){return this.BC[this.U2][this.yQ]}dispose(){if(!u.w(this.BC)){this.BC.removeChild(this.f2);const f=this.GK();f[this.ZW]=null;f[this.j8]=null;f[this.pP]=null;f[this.TI]=
null;this.BC[this.U2][this.yQ]=null}}}e.aKa=h})(w||(w={}));
(function(e){class k{constructor(){}static jya(h){return null!=h&&(0==h.indexOf("http://")||0==h.indexOf("https://"))}static Mxa(h){return null!=h&&0==h.indexOf("blob:http")}static WF(h,f=!1){if(!h)return"()";h=h.trim();if(0==h.length)return"()";if(k.Mxa(h))return h;f&&(h+=(-1<h.indexOf("?")?"&":"?")+Math.round(Date.now()/3600));if(k.jya(h)||0==h.indexOf("file")||"/"==h.substr(0,1)||"./"==h.substr(0,2))return h;if(-1!=h.indexOf("..")){f=k.hY.split("/");""==f[f.length-1]&&f.pop();for(h=h.split("/");".."==
h[0]&&(0<h.length&&h.shift(),0<f.length&&f.pop(),0!=f.length););h=f.join("/")+"/"+h.join("/");"/"==h.substr(0,1)&&(h=h.substring(1));return h}return k.hY+h}static Ppa(h){return h+=(-1<h.indexOf("?")?"&":"?")+Math.round(Date.now()/3600)}}k.hY="";e.Vw=k})(w||(w={}));
(function(e){class k{constructor(){}static format(h,f){var c=!1,a=this.mf(f);"UTC:"==f.slice(0,4)?(f=f.slice(4),c=!0):u.w(a)||(f=f.slice(f.indexOf(":")+1),h=new Date(h.getTime()+36E5*(a+h.getTimezoneOffset()/60)));var b=c?"getUTC":"get";a=h[b+"Date"]();var d=h[b+"Day"](),g=h[b+"Month"](),l=h[b+"FullYear"](),m=h[b+"Hours"](),n=h[b+"Minutes"](),p=h[b+"Seconds"]();b=h[b+"Milliseconds"]();var q=c?0:h.getTimezoneOffset(),t={d:a,dd:k.dn(a),ddd:k.Rt.lF[d],dddd:k.Rt.lF[d+7],D:a,DD:k.dn(a),DDD:k.Rt.lF[d],
DDDD:k.Rt.lF[d+7],M:g+1,MM:k.dn(g+1),MMM:k.Rt.CS[g],MMMM:k.Rt.CS[g+12],yy:String(l).slice(2),yyyy:l,YY:String(l).slice(2),YYYY:l,h:m%12||12,hh:k.dn(m%12||12),H:m,HH:k.dn(m),k:0==m?24:m,kk:0==m?24:k.dn(m),m:n,mm:k.dn(n),s:p,ss:k.dn(p),l:k.dn(b,3),L:k.dn(Math.round(b/10)),t:12>m?"a":"p",tt:12>m?"am":"pm",T:12>m?"A":"P",TT:12>m?"AM":"PM",Z:c?"UTC":(String(h).match(k.XFa)||[""]).pop().replace(k.YFa,""),o:(0<q?"-":"+")+k.dn(100*Math.floor(Math.abs(q)/60)+Math.abs(q)%60,4),S:["th","st","nd","rd"][3<a%10?
0:(10!=a%100-a%10?1:0)*a%10]};return f.replace(k.Wfa,function(x){return x in t?t[x]:x.slice(1,x.length-1)})}static Jua(h,f){var c=0>h;0>h&&(h*=-1);var a=Math.floor(h/86400);f=null==f||""==f?0<a&&null==u.i.B.F.Pp?"d'd' "+this.d$:this.d$:f;h=Math.round(h);var b=h%60;h=(h-b)/60;var d=h%60;h=(h-d)/60;var g=h%24;c&&(f="-"+f);var l={d:a,dd:k.dn(a),H:g,HH:k.dn(g),HHH:h,m:d,mm:k.dn(d),s:b,ss:k.dn(b)};return f.replace(k.Wfa,function(m){return m in l?l[m]:m.slice(1,m.length-1)})}static mf(h){h=h.substr(0,h.indexOf(":"));
return"UTC"==h.slice(0,3)?0:"GMT"==h.slice(0,3)?4<h.length?parseInt(h.substr(3)):0:this.NG.hasOwnProperty(h.slice(0,2))?this.NG[h.slice(0,2)]:this.NG.hasOwnProperty(h.slice(0,3))?this.NG[h.slice(0,3)]:this.NG.hasOwnProperty(h.slice(0,4))?this.NG[h.slice(0,4)]:null}static dn(h,f){h=""+h;for(f=f||2;h.length<f;)h="0"+h;return h}static bFa(h,f){k.Rt.lF=f.concat(h)}static oFa(h,f){k.Rt.CS=f.concat(h)}static $va(){return k.Rt.lF.slice(7,14)}static zwa(){return k.Rt.CS.slice(12,24)}}k.d$="HH:mm:ss";k.NG=
{CET:1,EET:2,EAT:3,GET:4,CXT:7,CST:8,JST:9,SAKT:11,IDLE:12,WAT:-1,AT:-2,ART:-3,AST:-4,EST:-5,CT:-6,MST:-7,PST:-8,AKST:-9,YST:-9,HST:-10,NT:-11,IDLW:-12};k.Wfa=/d{1,4}|D{1,4}|m{1,4}|M{1,4}|yy(?:yy)?|YY(?:YY)?|H{1,3}|([HhkMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g;k.XFa=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g;k.YFa=/[^-+\dA-Z]/g;k.Rt={lF:"Sun Mon Tue Wed Thu Fri Sat Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
CS:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec January February March April May June July August September October November December".split(" ")};e.Lh=k})(w||(w={}));
(function(e){function k(f){return"undefined"===typeof f||null===f}class h{constructor(){}static $P(f,c){if(f==c)return 0;f=f.split(".");c=c.split(".");if(f.length<c.length)return-1;if(f.length>c.length)return 1;for(var a=0;a<f.length;a++){var b=parseInt(f[a]),d=parseInt(c[a]);if(b<d)return-1;if(b>d)return 1}return 0}static Rc(f){return void 0!==f&&null!==f&&("true"==f.toLowerCase()||"on"==f.toLowerCase())}static nK(){var f=(new Date).getTime()-(new Date(2012,2,8)).getTime()*Math.round(123456789*Math.random());
if(h.Oya==f)return f.toString(35)+(h.sca++).toString();h.Oya=f;h.sca=0;return f.toString(35)}static bind(f,...c){if(k(f))return f;for(var a=0;a<c.length;a++)f=f.replace(new RegExp("\\{"+a+"\\}","gi"),null==c[a]?"":c[a].toString());return f}static Zy(f,c=null){return isNaN(f)?e.i.C.u.Bm:w.Lh.Jua(f,c)}static Yy(f,c){void 0===c&&(c="dd/MM/yyyy");if(isNaN(f)||0===f)return e.i.C.u.Bm;f=new Date(f);return isNaN(f.getTime())?"":w.Lh.format(f,c)}static cU(f,c){void 0===c&&(c="dd/MM/yyyy HH:mm:ss");return h.Yy(f,
c)}static H_(f){return Date.parse(f)&&this.uza(f)}static uza(f){return this.Iya.test(f)}static Xn(f){if(k(f))return 0;if("#"===f.substr(0,1))return parseInt(f.substr(1),16);"transparent"==f&&(f="rgb(255,255,255)");f=f.replace(/[^\d,]/g,"");f=f.split(",");var c=parseInt(f[0]),a=parseInt(f[1]),b=parseInt(f[2]);0===parseInt(f[3])&&(c=a=b=255);return b|a<<8|c<<16}static V2(f){for(var c=new Uint8Array(f.length),a=0,b=f.length;a<b;++a)c[a]=f.charCodeAt(a);return c}static W9(f){f=-1!==f.split(",")[0].indexOf("base64")?
atob(f.split(",")[1]):decodeURI(f.split(",")[1]);return h.V2(f)}static kta(f){for(var c=f.length,a=Array(c);c--;)a[c]=String.fromCharCode(f[c]);return a.join("")}static contains(f,c){return k(f)?!1:-1<f.toLowerCase().indexOf(c)}static d3(f){if(null==f)return NaN;if("number"===typeof f)return f;"string"!==typeof f&&(f=f.toString());","==e.i.cc.bk.$f("").gn&&(f=f.replace(/,/gi,""));f=f.replace(",",".");f=f.replace(/[^[,|\.|\-|\d|e]]*/gi,"");return parseFloat(f)}static trim(f,c=null){if(null==f)return"";
for(var a=0;h.Z_(f.charAt(a),c);)++a;for(var b=f.length-1;h.Z_(f.charAt(b),c);)--b;return b>=a?f.slice(a,b+1):""}static trimLeft(f,c=null){if(null==f)return"";for(var a=0;h.Z_(f.charAt(a),c);)++a;c=f.length-1;return c>=a?f.slice(a,c+1):""}static Z_(f,c=null){if(null!=c&&f==c)return!1;switch(f){case " ":case "\t":case "\r":case "\n":case "\f":return!0}return!1}static Yxa(f){for(var c in h.AQ)if(h.AQ[c]==f)return!0;return!1}static zF(f){return"string"!==typeof f||"="!=f.charAt(0)&&"@"!=f.charAt(0)?
f:"'"+f}static ap(f,c=!1){if(k(f))return"";f=""+f;return c?f.replace(/[<>"'\/]/g,a=>h.AQ[a]):f.replace(/[&<>"'\/]/g,a=>h.AQ[a])}static Bva(){return new Uint8Array([239,187,191])}}h.sca=0;h.Iya=/^(?:[\+-]?\d{4}(?!\d{2}\b))-(?:0[1-9]|1[0-2])(?:(-?)(?:(?:[12]\d|0[1-9]|3[01])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24:?00)(?:[\.,]\d+(?!:))?)?(?:\2[0-5]\d(?:[\.]\d+)?)?(?:[zZ]|(?:[\+-])(?:[01]\d|2[0-3]):?(?:[0-5]\d)?)?)?)?$/;h.AQ={"&":"&amp;",
"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};e.P=h;e.w=k;e.rf=function(f){return"function"===typeof f};e.ia=function(f){if(k(f))return!0;"string"!==typeof f&&(f=""+f);return 0===f.trim().length};e.VKa=function(f){return f.replace(/\|/g,"{%7C}")};e.UKa=function(f){return f.replace(/{%7C}/g,"|")};e.hJ=function(f,c){var a=new Date(f.getTime()),b=c.match(/year|y|quarter|q|month|M|week|w|day|d|hour|h|minute|m|second|s/);if(!b)return a;b=b[0];if("year"==b||"y"==b)return a.setUTCFullYear(f.getUTCFullYear()+
1),a;if("quarter"==b||"q"==b)return a.setUTCMonth(f.getUTCMonth()+3),a;if("month"==b||"M"==b)return a.setUTCMonth(f.getUTCMonth()+1),a;if("week"==b||"w"==b)return a.setUTCDate(f.getUTCDate()+7),a;if("day"==b||"d"==b)return a.setUTCDate(f.getUTCDate()+1),a;c=parseInt(c)||1;if("hour"==b||"h"==b)return a.setUTCHours(f.getUTCHours()+c),a;if("minute"==b||"m"==b)return a.setUTCMinutes(f.getUTCMinutes()+c),a;"second"!=b&&"s"!=b||a.setUTCSeconds(f.getUTCSeconds()+c);return a};e.CDa=function(f){var c=document.createElement("a");
c.href=f;f={protocol:c.protocol,host:c.host,hostname:c.hostname,port:c.port,pathname:c.pathname,search:c.search,hash:c.hash};-1<f.protocol.indexOf(":")&&(f.protocol=f.protocol.substr(0,f.protocol.length-1));return f}})(u||(u={}));
(function(e){class k{constructor(){}static sort(h,f=0,c){var a=1===f%2;f>>=1;var b=1===f%2;f=f>>1>>1;var d=1===(f>>1)%2?(g,l)=>{if(void 0!==c){if(e.w(l))return-1;if(e.w(g))return 1;g=c(g);l=c(l)}return isNaN(l)||null===l?-1:isNaN(g)||null===g?1:g-l}:a?(g,l)=>{if(e.ia(l))return-1;if(e.ia(g))return 1;if(void 0!==c){g=c(g);l=c(l);if(e.ia(l))return-1;if(e.ia(g))return 1}return k.localeCompare(g,l)}:(g,l)=>{if(e.ia(l))return-1;if(e.ia(g))return 1;if(void 0!==c){g=c(g);l=c(l);if(e.ia(l))return-1;if(e.ia(g))return 1}return k.localeCompare(g.toLocaleLowerCase(),
l.toLocaleLowerCase())};if(1===f%2){f=[];for(a=0;a<h.length;a++)f[a]=a;f.sort((g,l)=>d(h[g],h[l]));b&&f.reverse();return f}h.sort(d);b&&h.reverse();return h}static localeCompare(h,f){return h&&h.localeCompare?h.localeCompare(f):h===f?0:h>f?1:-1}static insert(h,f,c){for(var a=0;a<f.length;a++)h.splice(c+a,0,f[a])}static ws(h,f){if(void 0!==h.push)return h.push(f),h;var c=new h.constructor(h.length+1);c.set(h,0);c.set([f],h.length);return c}static vGa(h,f){if(Array.isArray(h))return h.splice(f,1),h;
if(h instanceof Uint8Array||h instanceof Uint16Array||h instanceof Uint32Array){var c=h.length-1;c=h instanceof Uint8Array?new Uint8Array(c):h instanceof Uint16Array?new Uint16Array(c):new Uint32Array(c);c.set(h.subarray(0,f),0);c.set(h.subarray(f+1,h.length),f);return c}return h}static A0(h,f,c){h.splice(c,0,h.splice(f,1)[0])}}k.Hw=1;k.yo=2;k.uKa=4;k.Mu=8;k.oi=16;e.gb=k})(u||(u={}));
void 0===Array.prototype.findIndex&&(Array.prototype.findIndex=function(e,k){if(null==this)throw new TypeError("Array is null or undefined");for(var h=Object(this),f=h.length>>>0,c=0;c<f;c++)if(e.call(k,h[c],c,h))return c;return-1});void 0===Array.prototype.find&&(Array.prototype.find=function(e,k){if(null==this)throw new TypeError("Array is null or undefined");for(var h=Object(this),f=h.length>>>0,c=0;c<f;c++){var a=h[c];if(e.call(k,a,c,h))return a}});
void 0===Uint16Array.prototype.slice&&Object.defineProperty(Uint16Array.prototype,"slice",{value:function(e,k){return new Uint16Array(Array.prototype.slice.call(this,e,k))}});
(function(e){class k{constructor(){this.values={};this.keys=[]}Ta(h,f){void 0===this.values[h]&&this.keys.push(h);this.values[h]=f}xpa(h){if(null!=h)for(var f in h)h.hasOwnProperty(f)&&this.Ta(f,h[f])}unshift(h,f){this.keys.unshift(h);this.values[h]=f}iJ(h,f,c){null!=this.getItem(h)&&this.removeItem(h);this.keys.splice(c,0,h);this.values[h]=f}removeItem(h){null!=this.getItem(h)&&(this.keys.splice(this.indexOf(h),1),delete this.values[h])}SL(h){var f=this.keys[h];null!=f&&(this.keys.splice(h,1),delete this.values[f])}set length(h){}get length(){return this.keys.length}indexOf(h){return this.keys.indexOf(h)}Sb(h){return null!=
this.values[h]}getItem(h){return this.values[h]}ea(h){return this.values[this.keys[h]]}Ah(h){return this.keys[h]}B0(h,f){this.keys.splice(f,0,this.keys.splice(h,1)[0])}slice(h=0,f=0){0==f&&(f=this.length-h);for(var c=new k,a=0;a<f;a++)this.length>a+h&&(e.w(this.ea(a+h))||c.Ta(this.Ah(a+h),this.ea(a+h)));return c}concat(h,f=!0){if(!f)return this.boa(h),null;var c=new k;for(f=0;f<this.length;f++)c.Ta(this.Ah(f),this.ea(f));for(f=0;f<h.length;f++)c.Ta(h.Ah(f),h.ea(f));return c}boa(h){var f,c=h.length;
for(f=0;f<c;f++)this.Ta(h.Ah(f),h.ea(f))}splice(h,f=0){var c=new k;h+f>this.length&&(f=this.length-h);1>f&&(f=this.length);for(var a=0;a<this.length;a++)(a<h||a>=h+f)&&c.Ta(this.Ah(a),this.ea(a));return c}reverse(){var h,f=new k;for(h=this.length-1;-1<h;h--)f.Ta(this.Ah(h),this.ea(h));return f}Lc(h=!1){if(h)return this.keys.slice(0);h=[];for(var f=0;f<this.length;f++)h.push(this.ea(f));return h}toString(){var h=[],f;for(f in this.keys){var c="{"+f+": "+this.getItem(f)+"}";h.push(c)}return h.join(", ")}Qa(){for(var h=
{},f=0;f<this.keys.length;f++){var c=this.keys[f];h[c]=this.getItem(c)}return h}clear(){this.values={};this.keys.length=0}}e.wb=k})(u||(u={}));
(function(e){class k{constructor(){this.quotes=[]}parse(h){try{this.quotes=[];for(var f=[],c=!1,a="",b=0;b<h.length;b++){var d=h.charAt(b);'"'==d||"'"==d?(c&&(this.quotes.push(a),f.push(d),a=""),c=!c):c&&(a+=d)}h="  "+h;for(b=0;b<this.quotes.length;b++)if("truestyle"!=this.quotes[b].toLowerCase()){var g=f[b]+this.quotes[b]+f[b],l=h.substring(0,h.indexOf(g)+g.length+2);var m=/(\w\w\w\()['|"][^'|^"]*['|"]/i;if(m.test(l))h=h.replace(g,"@"+b);else{m=/(\W)['|"][^'|^"]*['|"]/i;var n=(-1!=l.indexOf("#value")||
-1!=l.indexOf("#updateDifference")||-1!=l.indexOf("#updatePercent"))&&-1!=l.indexOf("if(");m.test(l)&&!n?h=h.replace(g,"sum(@"+b+")"):(m=/(\W)['|"][^'|^"]*['|"]/i,h=h.replace(g,"@"+b))}}m=/#value/g;h=h.replace(m,"value()");m=/#updateDifference/g;h=h.replace(m,"updateDifference()");m=/#updatePercent/g;h=h.replace(m,"updatePercent()");h=h.toLocaleLowerCase();var p=this.a8(h);p=p[1][0]}catch(q){return null}return p}a8(h){for(var f=[],c="",a=h.length,b=0;b<h.length;b++){var d=h.charAt(b);if("("==d)c+=
"$"+f.length+";",d=this.a8(h.slice(b+1)),f.push(d[1]),b=b+d[0]+1;else if(")"==d){a=b;break}else c+=d}h=[];c=c.split(",");for(b=0;b<c.length;b++)h.push(this.VW(c[b],f));return[a,h]}VW(h,f){for(var c=[[" or "," and "],"== != >= <= = > <".split(" "),["-","+"],["/","*"],["^"]],a=0;a<c.length;a++){var b=Number.MIN_VALUE,d=c[a][0];if(3==a){b=h.indexOf(c[a][0]);var g=h.indexOf(c[a][1]);-1!=b&&-1!=g?d=b<g?c[a][1]:c[a][0]:-1!=b?d=c[a][0]:-1!=g&&(d=c[a][1])}else for(g=0;g<c[a].length;g++){var l=h.indexOf(c[a][g]);
-1!=l&&(l>=b||2==a)&&(d=c[a][g],b=l+d.length)}b=h.split(d);2<b.length&&(g=b[b.length-1],b.pop(),b=[b.join(d),g]);if(2==b.length)return[d.trim(),[this.VW(b[0],f),this.VW(b[1],f)],!0]}return this.Poa(h,f)}Poa(h,f){h=h.trim();if(-1!=h.indexOf("$")){var c=h.split("$");h=c[0];c=parseInt(c[1]);if(0<h.length){var a="string"!=typeof f[c][0];("min"==h||"max"==h)&&1<f[c].length&&(a=!0,"string"==typeof f[c][0]&&(f[c][0]=["sum",[f[c][0]],!1]),"string"==typeof f[c][1]&&(f[c][1]=["sum",[f[c][1]],!1]));return[h,
f[c],a]}return f[c][0]}if(-1!=h.indexOf("@"))return f=parseInt(h.slice(1)),this.quotes[f];if("truestyle"==h.toLowerCase()||"truestyle"==h.substring(1,h.length-1).toLowerCase())return"truestyle";f=parseFloat(h);return isNaN(f)?0===h.trim().length?0:h:f}}e.SH=k})(w||(w={}));(function(e){class k{static get eo(){return/Mac/i.test(navigator.platform)}static get hC(){return/(iPhone|iPod|iPad)/i.test(navigator.platform)||/(iPhone|iPod|iPad)/i.test(navigator.userAgent)}}e.Di=k})(w||(w={}));
(function(e){class k{constructor(f=!0){this.values=[];this.root=new h("");this.SX=f}get length(){return this.values.length}add(f,c){return u.w(f)||0===f.length?(void 0===this.Nx&&(this.Nx=this.values.length,this.values.push(f)),this.Nx):this.root.add(""+f,this.values,c,this.SX)}hua(f){return-1<this.find(f)}get(f){return this.values[f]}find(f){return u.w(f)||0===f.length?void 0!==this.Nx?this.Nx:-1:this.root.find(""+f,0,this.values,this.SX)}sort(){var f=this.root.sort(k.eY);void 0!==this.Nx&&f.unshift(this.Nx);
return f}clone(){var f=new k(this.SX);f.values=this.values.slice();f.Nx=this.Nx;f.root=this.root.clone();return f}static eY(f,c){return f&&f.localeCompare?f.localeCompare(c):f==c?0:f>c?1:-1}}e.mO=k;class h{constructor(f){this.kj=[];this.IX=[];this.prefix=f}add(f,c,a,b){var d=this.prefix.length;if(void 0!==this.children&&f.length>d)return d=f[d],void 0===this.children[d]&&(this.children[d]=new h(this.prefix+d)),this.children[d].add(f,c,a,b);d=b?f.toLocaleLowerCase():f;for(var g,l=0;l<this.kj.length;l++){g=
c[this.kj[l]];b&&(g=g.toLocaleLowerCase());if(d<g)return this.g7(f,c,a,l);if(d===g){if(void 0===a)return this.kj[l];c[a]=f;this.kj.splice(l,0,a);return a}}return this.g7(f,c,a)}g7(f,c,a,b=-1){void 0===a?(a=c.length,c.push(f)):c[a]=f;-1===b?this.kj.push(a):this.kj.splice(b,0,a);this.kj.length>h.rka&&this.Toa(c);return a}Toa(f){if(!this.children){this.children={};for(var c,a=this.prefix.length,b=-1,d=0,g=0;g<this.kj.length;g++)c=f[this.kj[g]],c.length===a?b=this.kj[g]:(c=c[a],void 0===this.children[c]&&
(this.children[c]=new h(this.prefix+c),d++),this.children[c].kj.push(this.kj[g]));this.kj=-1===b?[]:[b]}}sort(f){var c=0<this.kj.length?this.kj.slice():[];if(void 0!==this.children)for(var a=Object.keys(this.children).sort(f),b=0;b<a.length;b++){var d=this.children[a[b]].sort(f);c=c.concat(d)}return c}find(f,c,a,b){return b?this.tZ(f,c,a):this.Y$(f,c,a)}Y$(f,c,a){if(void 0!==this.children&&f.length!==this.prefix.length){var b=f[c];return void 0===this.children[b]?-1:this.children[b].Y$(f,c+1,a)}return this.D7(f,
a,!1)}tZ(f,c,a){if(void 0!==this.children&&f.length!==this.prefix.length){var b=f[c],d=-1;void 0!==this.children[b]&&(d=this.children[b].tZ(f,c+1,a));if(-1===d){var g=this.Ava(b);void 0!==this.children[g]&&b!==g&&(d=this.children[g].tZ(f,c+1,a))}return d}return this.D7(f,a,!0)}Ava(f){void 0===this.IX[f]&&(this.IX[f]=this.pya(f)?f.toLocaleUpperCase():f.toLocaleLowerCase());return this.IX[f]}D7(f,c,a){for(var b=0;b<this.kj.length;b++){var d=c[this.kj[b]];if(f.length===d.length){for(var g=!0,l=0;l<d.length;l++)if(d[l]!==
f[l])if(a){if(d[l].toLocaleLowerCase()!==f[l].toLocaleLowerCase()){g=!1;break}}else{g=!1;break}if(g)return this.kj[b]}}return-1}pya(f){return f===f.toLocaleLowerCase()}clone(){var f=new h(this.prefix);f.kj=this.kj.slice();if(void 0!==this.children){f.children={};for(var c in this.children){var a=this.children[c].clone();f.children[c]=a}}return f}}h.rka=16})(w||(w={}));
(function(e){class k{static ag(h){for(var f in h)if(!u.w(h[f]))return!1;return!0}static hF(h){var f={},c;for(c in h)f[c]=h[c];return f}static Ni(h,f){if(u.w(h))return null;if(Array.isArray(h))return k.lta(h);var c={},a;for(a in h)c[a]="object"!=typeof h[a]||null==h[a]||null!=f&&-1<f.indexOf(a)?h[a]:k.Ni(h[a]);return c}static lta(h){for(var f=[],c=0;c<h.length;c++)f[c]="object"!=typeof h[c]?h[c]:k.Ni(h[c]);return f}static resolve(h,f){return u.w(f)?null:f.hasOwnProperty(h)?f[h]:h.split(".").reduce((c,
a)=>c&&c[a],f)}}e.Jc=k})(w||(w={}));
(function(e){e.requestIdleCallback=function(h,f=null,c=!1){if(window.requestIdleCallback&&!c)return window.requestIdleCallback(h,f);var a,b=e.nf(),d;return u.Be(()=>{h({didTimeout:!1,timeRemaining:()=>void 0===a?(a=e.nf(),d=Math.min(350,e.nf()-b+50)):Math.max(0,d-(e.nf()-a))})},1)};e.cancelIdleCallback=function(h){if(window.cancelIdleCallback)return window.cancelIdleCallback(h);u.Pr(h)};class k{constructor(){throw Error("Singleton");}static Cn(h){k.BG.push(h);k.Of()}static Of(){u.w(k.yJ)&&0<k.BG.length&&
(3<k.y_&&(k.zba=!1),k.yJ=e.requestIdleCallback(k.AEa,{timeout:100},!k.zba))}static AEa(h){if(h.didTimeout)k.y_++,k.xea();else for(k.y_=0;0<h.timeRemaining()&&0<k.BG.length&&!k.xea(););k.yJ=null;k.Of()}static xea(){var h=k.BG.shift(),f=h.po(h.NX);f?h&&h.Je&&u.Be(h.Je,1):k.BG.push(h);return f}static cancel(){null!=k.yJ&&(e.cancelIdleCallback(k.yJ),k.yJ=null);k.BG=[]}}k.BG=[];k.zba=!0;k.y_=0;e.al=k})(w||(w={}));
(function(e){function k(){var h=navigator.userAgent.toLowerCase(),f={};f.eL=/mozilla/.test(h)&&/firefox/.test(h);f.TR=/webkit/.test(h)&&/chrome/.test(h)&&!/edge/.test(h);f.K_=/edge/.test(h);f.Cya=/applewebkit/.test(h)&&/safari/.test(h)&&!/chrome/.test(h);f.eca=/opera/.test(h);f.Si=/msie/.test(h);f.lm=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Windows Phone/i.test(h)||/iPad|iPhone|iPod|BlackBerry/i.test(navigator.platform);f.version=NaN;f.Si||f.eL||f.TR||f.Cya||f.eca||!/trident/.test(h)||(f.Si=!0,
f.version=11);if(isNaN(f.version))for(var c=["chrome","firefox","msie","safari","opera"],a=0;a<c.length;a++)try{f.version=parseInt(h.match(new RegExp("("+c[a]+")( |/)([0-9]+)"))[3]);break}catch(b){}return f}e.Dd=function(){return k()};e.rQ=k;e.aS=function(){return null!=document.fullscreenElement||null!=document.mozFullScreenElement||null!=document.webkitFullscreenElement||null!=document.msFullscreenElement};e.P_=function(){return window!=top};e.Qba=function(){try{return!u.w(window.process.versions.electron)}catch(h){return!1}};
e.gya=function(){try{return void 0!==ArrayBuffer&&void 0!==DataView&&void 0!==Uint8Array&&(window.chrome&&navigator.userAgent.match(/chrome.\d*/gi)?12<=parseInt(navigator.userAgent.match(/chrome.\d*/gi)[0].replace(/[^\d]/g,"")):!0)&&(window.opera?15<=window.opera.version():!0)&&(navigator.userAgent.match("Safari/")?!navigator.userAgent.match("Version/5.")&&!navigator.userAgent.match("Version/6.0"):!0)}catch(h){return!1}};e.FKa=function(h){var f=document.cookie,c=f.indexOf(" "+h+"=");-1==c&&(c=f.indexOf(h+
"="));-1==c?f=null:(c=f.indexOf("=",c)+1,h=f.indexOf(";",c),-1==h&&(h=f.length),f=decodeURI(f.substring(c,h)));return f};e.OKa=function(h,f){var c=new Date;c.setDate(c.getDate()+1825);f=encodeURI(f)+"; expires="+c.toUTCString();document.cookie=h+"="+f};e.GKa=function(){return screen.orientation&&-1<screen.orientation.type.indexOf("landscape")};e.HKa=function(){return screen.orientation&&-1<screen.orientation.type.indexOf("portrait")};e.XKa=function(){return Math.max(document.documentElement.clientWidth)};
e.WKa=function(){return Math.max(document.documentElement.clientHeight)}})(w||(w={}));
(function(e){class k extends r.fh{constructor(f,c=0){super();this.IO=0;this.WI=!1;this.foa=f;this.h8=c}HCa(){this.IO++;this.Ga(new r.da(h.Zk));0<this.h8&&this.IO>=this.h8&&(this.stop(),this.Ga(new r.da(h.$k)))}start(){this.WI||(this.K7=u.eaa(()=>this.HCa(),this.foa),this.WI=!0)}stop(){this.WI&&!u.w(this.K7)&&(u.uZ(this.K7),this.WI=!1)}reset(){this.IO=0;this.stop()}set zv(f){}get zv(){return this.IO}set Mk(f){}get Mk(){return this.WI}}e.Ns=k;class h{}h.Zk="timer";h.$k="complete";e.Ve=h;e.nf=function(){return"undefined"!==
typeof performance&&"function"===typeof window.performance.now?performance.now():(new Date).getTime()}})(w||(w={}));
(function(e){class k{static load(f,c,a){if(wa.libsIncluded)return c();f=new h(f,k.W8);f.Jb=c;f.Ma=a;f.load()}}k.W8="";e.Ms=k;class h{constructor(f,c){this.total=this.loaded=0;this.eK=[];this.url=f;this.baseURI=c;this.total="string"==typeof this.url?1:this.url.length}load(){0==this.total&&this.gi();if("string"==typeof this.url)this.NI(this.url,()=>this.gi());else for(var f=this.url,c=0;c<f.length;c++)this.NI(f[c],()=>this.gi())}gi(){this.loaded++;if(this.loaded==this.total||0==this.total)0==this.eK.length?
this.Jb&&this.Jb():this.Ma&&this.Ma(this.eK),this.Ma=this.Jb=null}NI(f){f=this.baseURI+f;f.lastIndexOf(".js")==f.length-3?this.dza(f):f.lastIndexOf(".css")==f.length-4?this.Zya(f):this.gi()}dza(f){if(null==this.$$(f)){var c=document.createElement("script");c.type="text/javascript";c.src=f+"?"+u.Mh.Fw;c.async=!0;var a=()=>{c.readystate="loaded";this.gi();if(c.onloadedlisteners){for(var b=0;b<c.onloadedlisteners.length;b++)c.onloadedlisteners[b]();delete c.onloadedlisteners}};c.onreadystatechange=a;
c.onload=a;c.onerror=()=>{c.readystate="error";this.eK.push(f);this.gi()};document.head.appendChild(c)}else c=this.$$(f),"error"==c.readystate?(this.eK.push(f),this.gi()):!0===c.async&&"loaded"!=c.readystate?(null==c.onloadedlisteners&&(c.onloadedlisteners=[]),c.onloadedlisteners.push(()=>this.gi())):this.gi()}Zya(f){var c=document.createElement("link");c.href=f+"?"+u.Mh.Fw;c.rel="stylesheet";c.type="text/css";c.onerror=()=>this.Tb(f);c.onreadystatechange=()=>this.gi();c.onload=()=>this.gi();document.head.appendChild(c)}$$(f){for(var c=
0;c<document.head.children.length;c++){var a=document.head.children.item(c);if(a.src&&-1<a.src.indexOf(f))return a}return null}Tb(f){this.eK.push(f);this.gi()}}})(w||(w={}));
(function(e){class k extends r.fh{constructor(f){super();this.EW=!1;this.Coa=c=>this.hw(c);this.Bba=()=>this.qBa();this.zO=null;if(null!=k.oe)throw Error("KeyboardListener is singleton");this.target=f;e.Dd().lm||(u.rl.addEventListener("keydown",this.Coa),this.rE=new v.Da("div"),this.rE.U("position","fixed").U("left","0px").U("top","0px").U("opacity","0").U("width","0px").U("height","0px"),this.rE.cb(),this.lq=new v.Su,this.lq.G.U("width","1px").U("height","1px").U("padding","0px"),this.lq.N("focusin",
()=>{this.EW=!0}),this.lq.N("focusout",()=>{this.EW=!1}),this.rE.append(this.lq.G),f.append(this.rE))}static V(){null==k.oe&&(k.oe=new k(u.K.Pb.Gb.G));return k.oe}get Tba(){return this.EW}hw(f){var c=new h(h.AN);c.keyCode=f.keyCode;c.altKey=f.altKey;c.ctrlKey=f.ctrlKey;c.metaKey=f.metaKey;c.shiftKey=f.shiftKey;c.Lq=f;this.Ga(c)}qBa(){this.rE.cb();this.lq.Yi("");this.lq.G.blur();this.lq.qb("keyup",this.Bba);null!=this.zO&&(this.zO.focus({preventScroll:!0}),this.zO=null)}hF(f){this.zO=document.activeElement;
this.rE.show();this.lq.Yi(f);this.lq.G.focus({preventScroll:!0});this.lq.selectAll();this.lq.G.focus({preventScroll:!0});this.lq.N("keyup",this.Bba)}static dispose(){k.oe=null}}e.lV=k;class h extends r.da{constructor(f){super(f)}}h.AN="event_keydown";e.KeyboardEvent=h;(function(f){f[f.cHa=8]="BACKSPACE";f[f.kKa=9]="TAB";f[f.FHa=13]="ENTER";f[f.fKa=16]="SHIFT";f[f.sHa=17]="CTRL";f[f.YGa=18]="ALT";f[f.UJa=19]="PAUSE";f[f.kHa=20]="CAPS_LOCK";f[f.HHa=27]="ESCAPE";f[f.hKa=32]="SPACE";f[f.TJa=33]="PAGE_UP";
f[f.QJa=34]="PAGE_DOWN";f[f.pz=35]="END";f[f.qIa=36]="HOME";f[f.cJa=37]="LEFT_ARROW";f[f.wKa=38]="UP_ARROW";f[f.ZJa=39]="RIGHT_ARROW";f[f.CHa=40]="DOWN_ARROW";f[f.rIa=45]="INSERT";f[f.C4=46]="DELETE";f[f.tIa=48]="KEY_0";f[f.uIa=49]="KEY_1";f[f.vIa=50]="KEY_2";f[f.wIa=51]="KEY_3";f[f.xIa=52]="KEY_4";f[f.yIa=53]="KEY_5";f[f.zIa=54]="KEY_6";f[f.AIa=55]="KEY_7";f[f.BIa=56]="KEY_8";f[f.CIa=57]="KEY_9";f[f.DIa=65]="KEY_A";f[f.EIa=66]="KEY_B";f[f.FIa=67]="KEY_C";f[f.GIa=68]="KEY_D";f[f.HIa=69]="KEY_E";f[f.IIa=
70]="KEY_F";f[f.JIa=71]="KEY_G";f[f.KIa=72]="KEY_H";f[f.LIa=73]="KEY_I";f[f.MIa=74]="KEY_J";f[f.NIa=75]="KEY_K";f[f.OIa=76]="KEY_L";f[f.PIa=77]="KEY_M";f[f.QIa=78]="KEY_N";f[f.RIa=79]="KEY_O";f[f.SIa=80]="KEY_P";f[f.TIa=81]="KEY_Q";f[f.UIa=82]="KEY_R";f[f.VIa=83]="KEY_S";f[f.WIa=84]="KEY_T";f[f.XIa=85]="KEY_U";f[f.YIa=86]="KEY_V";f[f.ZIa=87]="KEY_W";f[f.$Ia=88]="KEY_X";f[f.aJa=89]="KEY_Y";f[f.bJa=90]="KEY_Z";f[f.dJa=91]="LEFT_META";f[f.$Ja=92]="RIGHT_META";f[f.eq=93]="SELECT";f[f.EJa=96]="NUMPAD_0";
f[f.FJa=97]="NUMPAD_1";f[f.GJa=98]="NUMPAD_2";f[f.HJa=99]="NUMPAD_3";f[f.IJa=100]="NUMPAD_4";f[f.JJa=101]="NUMPAD_5";f[f.KJa=102]="NUMPAD_6";f[f.LJa=103]="NUMPAD_7";f[f.MJa=104]="NUMPAD_8";f[f.NJa=105]="NUMPAD_9";f[f.UN=106]="MULTIPLY";f[f.JM=107]="ADD";f[f.jO=109]="SUBTRACT";f[f.yHa=110]="DECIMAL";f[f.rH=111]="DIVIDE";f[f.JHa=112]="F1";f[f.NHa=113]="F2";f[f.OHa=114]="F3";f[f.PHa=115]="F4";f[f.QHa=116]="F5";f[f.RHa=117]="F6";f[f.SHa=118]="F7";f[f.THa=119]="F8";f[f.UHa=120]="F9";f[f.KHa=121]="F10";
f[f.LHa=122]="F11";f[f.MHa=123]="F12";f[f.OJa=144]="NUM_LOCK";f[f.bKa=145]="SCROLL_LOCK";f[f.dKa=186]="SEMICOLON";f[f.GHa=187]="EQUALS";f[f.qHa=188]="COMMA";f[f.wHa=189]="DASH";f[f.VJa=190]="PERIOD";f[f.kIa=191]="FORWARD_SLASH";f[f.nIa=192]="GRAVE_ACCENT";f[f.PJa=219]="OPEN_BRACKET";f[f.dHa=220]="BACK_SLASH";f[f.pHa=221]="CLOSE_BRACKET";f[f.gKa=222]="SINGLE_QUOTE"})(e.bka||(e.bka={}))})(w||(w={}));
(function(e){class k{constructor(){this.b3=[]}add(h,...f){this.b3.push({Jb:h,NX:f})}Of(h){var f=()=>{if(0==this.b3.length)h();else{var c=this.b3.shift();e.requestIdleCallback(()=>c.Jb(f,...c.NX),{timeout:100})}};f()}}e.oI=k})(w||(w={}));
(function(e){function k(C,E,G){var F=0,J=[],H=0,L,K,P,M=!1,V=[],N=[],U=!1;G=G||{};var ba=G.encoding||"UTF8";var da=G.IKa||1;if(da!==parseInt(da,10)||1>da)throw Error("numRounds must a integer >= 1");if(0===C.lastIndexOf("SHA-",0))if(L=function(R,O){return I(R,O,C)},K=function(R,O,aa,X){if("SHA-224"===C||"SHA-256"===C){var W=(O+65>>>9<<4)+15;var fa=16}else throw Error("Unexpected error in SHA-2 implementation");for(;R.length<=W;)R.push(0);R[O>>>5]|=128<<24-O%32;O+=aa;R[W]=O&4294967295;R[W-1]=O/4294967296|
0;aa=R.length;for(O=0;O<aa;O+=fa)X=I(R.slice(O,O+fa),X,C);if("SHA-224"===C)R=[X[0],X[1],X[2],X[3],X[4],X[5],X[6]];else if("SHA-256"===C)R=X;else throw Error("Unexpected error in SHA-2 implementation");return R},P=function(R){return R.slice()},"SHA-224"===C){var T=512;var Z=224}else if("SHA-256"===C)T=512,Z=256;else throw Error("Chosen SHA variant is not supported");else throw Error("Chosen SHA variant is not supported");var ha=g(E,ba);var ea=D(C);this.setHMACKey=function(R,O,aa){if(!0===M)throw Error("HMAC key already set");
if(!0===U)throw Error("Cannot set HMAC key after calling update");ba=(aa||{}).encoding||"UTF8";O=g(O,ba)(R);R=O.SE;O=O.value;var X=T>>>3;aa=X/4-1;if(X<R/8){for(O=K(O,R,0,D(C));O.length<=aa;)O.push(0);O[aa]&=4294967040}else if(X>R/8){for(;O.length<=aa;)O.push(0);O[aa]&=4294967040}for(R=0;R<=aa;R+=1)V[R]=O[R]^909522486,N[R]=O[R]^1549556828;ea=L(V,ea);F=T;M=!0};this.update=function(R){var O,aa=0,X=T>>>5;var W=ha(R,J,H);R=W.SE;var fa=W.value;W=R>>>5;for(O=0;O<W;O+=X)aa+T<=R&&(ea=L(fa.slice(O,O+X),ea),
aa+=T);F+=aa;J=fa.slice(aa>>>5);H=R%T;U=!0};this.getHash=function(R,O){if(!0===M)throw Error("Cannot call getHash after setting HMAC key");var aa=d(O);switch(R){case "HEX":R=function(W){return f(W,Z,aa)};break;case "B64":R=function(W){return c(W,Z,aa)};break;case "BYTES":R=function(W){return a(W,Z)};break;case "ARRAYBUFFER":try{O=new ArrayBuffer(0)}catch(W){throw Error("ARRAYBUFFER not supported by this environment");}R=function(W){return b(W,Z)};break;default:throw Error("format must be HEX, B64, BYTES, or ARRAYBUFFER");
}var X=K(J.slice(),H,F,P(ea));for(O=1;O<da;O+=1)X=K(X,Z,0,D(C));return R(X)};this.getHMAC=function(R,O){if(!1===M)throw Error("Cannot call getHMAC without first setting HMAC key");var aa=d(O);switch(R){case "HEX":R=function(W){return f(W,Z,aa)};break;case "B64":R=function(W){return c(W,Z,aa)};break;case "BYTES":R=function(W){return a(W,Z)};break;case "ARRAYBUFFER":try{R=new ArrayBuffer(0)}catch(W){throw Error("ARRAYBUFFER not supported by this environment");}R=function(W){return b(W,Z)};break;default:throw Error("outputFormat must be HEX, B64, BYTES, or ARRAYBUFFER");
}O=K(J.slice(),H,F,P(ea));var X=L(N,D(C));X=K(O,Z,T,X);return R(X)}}function h(){}function f(C,E,G){var F="";E/=8;var J;for(J=0;J<E;J+=1){var H=C[J>>>2]>>>8*(3+J%4*-1);F+="0123456789abcdef".charAt(H>>>4&15)+"0123456789abcdef".charAt(H&15)}return G.XS?F.toUpperCase():F}function c(C,E,G){var F="",J=E/8,H;for(H=0;H<J;H+=3){var L=H+1<J?C[H+1>>>2]:0;var K=H+2<J?C[H+2>>>2]:0;K=(C[H>>>2]>>>8*(3+H%4*-1)&255)<<16|(L>>>8*(3+(H+1)%4*-1)&255)<<8|K>>>8*(3+(H+2)%4*-1)&255;for(L=0;4>L;L+=1)8*H+6*L<=E?F+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(K>>>
6*(3-L)&63):F+=G.JP}return F}function a(C,E){var G="";E/=8;var F;for(F=0;F<E;F+=1){var J=C[F>>>2]>>>8*(3+F%4*-1)&255;G+=String.fromCharCode(J)}return G}function b(C,E){E/=8;var G,F=new ArrayBuffer(E);var J=new Uint8Array(F);for(G=0;G<E;G+=1)J[G]=C[G>>>2]>>>8*(3+G%4*-1)&255;return F}function d(C){var E={XS:!1,JP:"=",PKa:-1};C=C||{};E.XS=C.XS||!1;!0===C.hasOwnProperty("b64Pad")&&(E.JP=C.JP);if("boolean"!==typeof E.XS)throw Error("Invalid outputUpper formatting option");if("string"!==typeof E.JP)throw Error("Invalid b64Pad formatting option");
return E}function g(C,E){switch(E){case "UTF8":case "UTF16BE":case "UTF16LE":break;default:throw Error("encoding must be UTF8, UTF16BE, or UTF16LE");}switch(C){case "HEX":C=function(G,F,J){var H=G.length,L,K;if(0!==H%2)throw Error("String of HEX type must be in byte increments");F=F||[0];J=J||0;var P=J>>>3;for(L=0;L<H;L+=2){var M=parseInt(G.substr(L,2),16);if(isNaN(M))throw Error("String of HEX type contains invalid characters");var V=(L>>>1)+P;for(K=V>>>2;F.length<=K;)F.push(0);F[K]|=M<<8*(3+V%4*
-1)}return{value:F,SE:4*H+J}};break;case "TEXT":C=function(G,F,J){var H=0,L,K,P;F=F||[0];J=J||0;var M=J>>>3;if("UTF8"===E){var V=3;for(L=0;L<G.length;L+=1){var N=G.charCodeAt(L);var U=[];128>N?U.push(N):2048>N?(U.push(192|N>>>6),U.push(128|N&63)):55296>N||57344<=N?U.push(224|N>>>12,128|N>>>6&63,128|N&63):(L+=1,N=65536+((N&1023)<<10|G.charCodeAt(L)&1023),U.push(240|N>>>18,128|N>>>12&63,128|N>>>6&63,128|N&63));for(K=0;K<U.length;K+=1){var ba=H+M;for(P=ba>>>2;F.length<=P;)F.push(0);F[P]|=U[K]<<8*(V+
ba%4*-1);H+=1}}}else if("UTF16BE"===E||"UTF16LE"===E)for(V=2,U="UTF16LE"===E&&!0||"UTF16LE"!==E&&!1,L=0;L<G.length;L+=1){N=G.charCodeAt(L);!0===U&&(K=N&255,N=K<<8|N>>>8);ba=H+M;for(P=ba>>>2;F.length<=P;)F.push(0);F[P]|=N<<8*(V+ba%4*-1);H+=2}return{value:F,SE:8*H+J}};break;case "B64":C=function(G,F,J){var H=0,L,K;if(-1===G.search(/^[a-zA-Z0-9=+\/]+$/))throw Error("Invalid character in base-64 string");var P=G.indexOf("=");G=G.replace(/=/g,"");if(-1!==P&&P<G.length)throw Error("Invalid '=' found in base-64 string");
F=F||[0];J=J||0;var M=J>>>3;for(P=0;P<G.length;P+=4){var V=G.substr(P,4);for(L=K=0;L<V.length;L+=1){var N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(V[L]);K|=N<<18-6*L}for(L=0;L<V.length-1;L+=1){var U=H+M;for(N=U>>>2;F.length<=N;)F.push(0);F[N]|=(K>>>16-8*L&255)<<8*(3+U%4*-1);H+=1}}return{value:F,SE:8*H+J}};break;case "BYTES":C=function(G,F,J){var H;F=F||[0];J=J||0;var L=J>>>3;for(H=0;H<G.length;H+=1){var K=G.charCodeAt(H);var P=H+L;var M=P>>>2;F.length<=M&&F.push(0);
F[M]|=K<<8*(3+P%4*-1)}return{value:F,SE:8*G.length+J}};break;case "ARRAYBUFFER":try{C=new ArrayBuffer(0)}catch(G){throw Error("ARRAYBUFFER not supported by this environment");}C=function(G,F,J){var H;F=F||[0];J=J||0;var L=J>>>3;var K=new Uint8Array(G);for(H=0;H<G.byteLength;H+=1){var P=H+L;var M=P>>>2;F.length<=M&&F.push(0);F[M]|=K[H]<<8*(3+P%4*-1)}return{value:F,SE:8*G.byteLength+J}};break;default:throw Error("format must be HEX, TEXT, B64, BYTES, or ARRAYBUFFER");}return C}function l(C,E){return C>>>
E|C<<32-E}function m(C,E,G){return C&E^~C&G}function n(C,E,G){return C&E^C&G^E&G}function p(C){return l(C,2)^l(C,13)^l(C,22)}function q(C){return l(C,6)^l(C,11)^l(C,25)}function t(C){return l(C,7)^l(C,18)^C>>>3}function x(C){return l(C,17)^l(C,19)^C>>>10}function z(C,E){var G=(C&65535)+(E&65535);return((C>>>16)+(E>>>16)+(G>>>16)&65535)<<16|G&65535}function A(C,E,G,F){var J=(C&65535)+(E&65535)+(G&65535)+(F&65535);return((C>>>16)+(E>>>16)+(G>>>16)+(F>>>16)+(J>>>16)&65535)<<16|J&65535}function B(C,E,
G,F,J){var H=(C&65535)+(E&65535)+(G&65535)+(F&65535)+(J&65535);return((C>>>16)+(E>>>16)+(G>>>16)+(F>>>16)+(J>>>16)+(H>>>16)&65535)<<16|H&65535}function D(C){var E,G;if(0===C.lastIndexOf("SHA-",0))switch(E=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428],G=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],C){case "SHA-224":break;case "SHA-256":E=G;break;case "SHA-384":E=[new h,new h,new h,new h,new h,new h,new h,new h];break;
case "SHA-512":E=[new h,new h,new h,new h,new h,new h,new h,new h];break;default:throw Error("Unknown SHA variant");}else throw Error("No SHA variants supported");return E}function I(C,E,G){var F,J,H,L=[];if("SHA-224"===G||"SHA-256"===G){var K=64;var P=1;var M=Number;var V=z;var N=A;var U=B;var ba=t;var da=x;var T=p;var Z=q;var ha=n;var ea=m;var R=Y}else throw Error("Unexpected error in SHA-2 implementation");G=E[0];var O=E[1];var aa=E[2];var X=E[3];var W=E[4];var fa=E[5];var la=E[6];var ra=E[7];
for(H=0;H<K;H+=1)16>H?(J=H*P,F=C.length<=J?0:C[J],J=C.length<=J+1?0:C[J+1],L[H]=new M(F,J)):L[H]=N(da(L[H-2]),L[H-7],ba(L[H-15]),L[H-16]),F=U(ra,Z(W),ea(W,fa,la),R[H],L[H]),J=V(T(G),ha(G,O,aa)),ra=la,la=fa,fa=W,W=V(X,F),X=aa,aa=O,O=G,G=V(F,J);E[0]=V(G,E[0]);E[1]=V(O,E[1]);E[2]=V(aa,E[2]);E[3]=V(X,E[3]);E[4]=V(W,E[4]);E[5]=V(fa,E[5]);E[6]=V(la,E[6]);E[7]=V(ra,E[7]);return E}class Q{static hash(C){var E=new k("SHA-256","TEXT");E.update(C);return E.getHash("HEX")}}e.yma=Q;var Y=[1116352408,1899447441,
3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,
506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]})(u||(u={}));
(function(e){function k(){!1!==e.J_&&(0!==f.length&&f.forEach(b=>{var d=b.values[0];"string"===typeof d&&"[!]"===d.substr(0,3)&&(d=JSON.parse(d.substr(3)));h(d);if(1<b.values.length)for(var g=1;g<b.values.length;g++)d=b.values[g],"string"===typeof d&&"[!]"===d.substr(0,3)&&(d=JSON.parse(d.substr(3))),h(d)}),f=[],a())}function h(b){return"string"===typeof b&&"[Stack trace]"===b.substr(0,13)}e.J_=!1;var f=[],c,a=()=>{!1!==e.J_&&(c&&e.Pr(c),c=e.Be(k,1E3))};a();e.debug=function(...b){if(!1!==e.J_){for(var d=
[],g=0;g<b.length;g++)if("object"===typeof b[g])try{d[g]="[!]"+JSON.stringify(b[g])}catch(l){d[g]="[Object]"}else d[g]=b[g];f.push({time:w.nf(),values:d})}};e.EKa=k;e.SKa=function(){var b=Error();return b&&b.stack?"[Stack trace] "+b.stack.substr(79):""}})(u||(u={}));(function(e){e.Wa=function(h,f="",c=k.Tk,a=null,b=null,d=!1){e.K.TM.V().gs(h,f,c,a,b,d)};class k{}k.Tk="alert";k.xo="confirmation";k.Ca="error";k.xN="info";e.Bb=k})(u||(u={}));
(function(e){e.xGa=function(k=null){e.K.ema.V().gs("Please enter group name:",k)}})(u||(u={}));(function(e){e.wa=function(k=!0,h,f,c,a){e.K.dma.V().show(k,h,f,c,a)}})(u||(u={}));
(function(e){(function(k){class h extends r.fh{constructor(){super();if(null!=h.La)throw Error("Singleton");this.ja=e.v.Sa.V();this.Ja=new k.qc.Rma;this.XG=e.v.external.Db.Ai.Z6.V()}static V(){null==this.La&&(this.La=new h);return this.La}ZK(f){h.id=f.id?f.id:"";k.Ya.gFa(f);k.C.Bz.V().reset();e.K.Y.X.$d.Av=f.customizeCell;e.K.nd.yu.fB=f.customizeChartElement;e.K.Y.$M.TJ=f.customizeContextMenu;e.v.external.Kc.LM.SJ=f.customizeAPIRequest;this.Ja.ZK(f)}open(){this.Ja.open()}load(f,c){this.Ja.load(f,
c)}save(f,c=null,a,b,d=!1){return this.Ja.save(f,c,a,b,d)}tw(f){this.Ja.tw(f)}Nt(f={}){return this.Ja.Nt(f)}MT(f){f=k.ab.Ru.yb(k.ab.Ru.Jl(f));k.size.jd.clear();k.size.jd.MX(f);this.refresh();this.Za()}VF(){return k.size.jd.VF().Qa(this.ja.za.e3())}clear(){this.Ja&&this.Ja.clear()}g9(f){var c={};e.w(f.dataSourceType)||(c.dataSourceType=f.dataSourceType);e.w(f.type)||(c.dataSourceType=f.type);e.w(f.proxyUrl)||(c.proxyUrl=f.proxyUrl);e.w(f.dataSourceInfo)||(c.dataSourceInfo=f.dataSourceInfo);e.w(f.catalog)||
(c.catalog=f.catalog);e.w(f.cube)||(c.cube=f.cube);e.w(f.subquery)||(c.subquery=f.subquery);e.w(f.localeIdentifier)||(c.localeIdentifier=f.localeIdentifier);e.w(f.effectiveUserName)||(c.effectiveUserName=f.effectiveUserName);e.w(f.customData)||(c.customData=f.customData);e.w(f.filename)||(c.filename=f.filename);e.w(f.requestHeader)||(c.requestHeaders=f.requestHeader);e.w(f.requestHeaders)||(c.requestHeaders=f.requestHeaders);e.w(f.fieldSeparator)||(c.fieldSeparator=f.fieldSeparator);e.w(f.thousandSeparator)||
(c.thousandSeparator=f.thousandSeparator);e.w(f.recordsetDelimiter)||(c.recordsetDelimiter=f.recordsetDelimiter);e.w(f.browseForFile)||(c.browseForFile=f.browseForFile);e.w(f.data)||(c.data=f.data);e.w(f.binary)||(c.binary=f.binary);e.w(f.ignoreQuotedLineBreaks)||(c.ignoreQuotedLineBreaks=f.ignoreQuotedLineBreaks);e.w(f.roles)||(c.roles=f.roles);e.w(f.hash)||(c.hash=f.hash);e.w(f.username)||(c.username=f.username);e.w(f.password)||(c.password=f.password);e.w(f.host)||(c.host=f.host);e.w(f.node)||
(c.node=f.node);e.w(f.index)||(c.index=f.index);e.w(f.mapping)||(c.mapping=f.mapping);e.w(f.useStreamLoader)||(c.useStreamLoader=f.useStreamLoader);e.w(f.url)||(c.url=f.url);return c}gF(f){this.Ja.gF(this.g9(f))}Hd(f,c){c.partial?this.Ja.BGa(f.data,c):this.Ja.Hd(this.g9(f),c)}getData(f,c,a){if(k.ua.mc.Yo||k.ua.mc.Bp)if(null!=a&&(e.Mh.La.on("update",function(){e.Mh.La.getData(f,a)}),this.N(k.cc.u5.p5,function(){e.Mh.La.getData(f,a)})),null!=f&&null!=f.slice){var b=f.slice instanceof k.ab.Io?f.slice:
k.ab.Io.yb(f.slice);k.bC.yN.V().REa(b,c)}else b=k.bC.yN.V().getData(),k.bC.yN.V().m$(c,b);else e.Wa(k.ua.pa.J(k.ua.pa.VX),k.ua.pa.J(k.ua.pa.fo))}FZ(){return k.va.Xp.Ewa()}JZ(f){return(f=k.va.Xp.get(f))?f.Qa():null}vP(f){k.va.Xp.add(k.va.X.x4.yb(f))}oT(f){k.va.Xp.remove(f)}mT(){k.va.Xp.X1()}it(f){this.ja.it(f)}Jy(f){this.ja.Jy(f)}KC(){this.ja.KC()}CQ(f=!0){this.ja.Gc(!0,f);e.v.kf.zj.dispose();this.refresh();this.Za()}XP(){this.ja.Gc(!1,!1);e.v.kf.zj.dispose();this.refresh();this.bb("reset_grid");this.Za()}Jp(f){null!=
f.chartActiveMeasure&&delete f.chartActiveMeasure;null!=f.chartActiveTupleIndex&&delete f.chartActiveTupleIndex;null!=f.zoom&&delete f.zoom;f.flatView&&this.Ja.ha.Qc&&this.Ja.ha.Fa!==e.v.j.sa.API&&delete f.flatView;if(!e.w(f.useOlapFormatting)&&this.Ja.ha.Qc&&k.B.F.Qp!=f.useOlapFormatting){var c=this.Nt({withDefaults:!0});c.options.rC(f);this.tw({report:c})}else{c=k.B.F.dc;const a=k.B.F.rs,b=k.B.F.Zd;k.B.F.Jp(k.B.bq.yb(f),!1);a!=k.B.F.rs&&this.Ja&&this.Ja.ha&&!this.Ja.ha.Qc&&this.I.load();!e.w(this.Ja)&&
this.Ja.ha.Fa==e.v.j.sa.API&&(c!=k.B.F.dc||k.B.F.dc&&b!=k.B.F.Zd)&&(c=this.Nt({withDefaults:!0}),c.options.rC(f),e.w(this.Ja.ha.wc)||(c.ma.wc=this.Ja.ha.wc),this.clear(),this.tw({report:c}))}}print(f){k.ls.SD.V().print(f)}Nj(f,c=null,a=null){k.tc.pn.Nj(f,c,a)}XF(f,c){return this.XG.XF(f,c)}BR(f,c){this.XG.Eaa(f,c)}zR(f,c,a){this.XG.Cva(f,c,a)}AR(f,c,a,b){this.XG.Sva(f,c,a,b)}UP(f,c,a,b,d){this.XG.SP(f,c,a,b,d)}gm(f){return null==this.ja||null==this.ja.O?[]:(f=this.ja.O.rc(!1).getItem(f))&&f.filter.Xg?
f.filter.Qa():null}Fl(f,c){f=e.v.Se.pg(f);if(f=this.ja.O.rc(!1).getItem(f)){f.ut();f.filter=k.ab.wz.yb(c,f);if(f.filter.Ch&&(f.filter.query.va==e.v.j.pc.Oh||f.filter.query.va==e.v.j.pc.aj))if(k.B.F.dc)this.ja.za.Wh=[{sort:f.filter.query.va==e.v.j.pc.Oh?e.v.j.Ba.Ec:e.v.j.Ba.gc,measure:this.ja.O.qd(f.filter.measure.A)}];else{c=this.ja.za.he(e.v.j.ga.Ia);var a=this.ja.za.he(e.v.j.ga.Xa);c=-1!=c.Va.indexOf(f.A)?a:c;c.ym=[];c.yf=f.filter.query.va==e.v.j.pc.Oh?e.v.j.Ba.Ec:e.v.j.Ba.gc;c.yg=this.ja.za.Zh(f.filter.measure)}this.bb("reset_grid");
this.ja.filter();this.Za()}}ut(f){f=e.v.Se.pg(f);if(f=this.ja.O.rc(!1).getItem(f))f.ut(),this.ja.select(),this.Za()}JK(){if(null==this.ja||null==this.ja.za)return[];const f=[],c=this.ja.za.rows;for(let a=0;a<c.length;a++)f.push(c.ea(a).Rk());return f}uK(){if(null==this.ja||null==this.ja.za)return[];const f=[],c=this.ja.za.Ka;for(let a=0;a<c.length;a++)f.push(c.ea(a).Rk());return f}RF(){if(null==this.ja||null==this.ja.za)return[];const f=[],c=this.ja.za.lb;for(let a=0;a<c.length;a++)f.push(c.ea(a).Rk());
return f}ed(){if(null==this.ja||null==this.ja.za)return[];var f=[];if(k.B.F.dc){for(var c=this.ja.za.flatten(),a,b=0;b<c.length;b++)a=c.ea(b),(a=this.ja.O.Ke(a.A))&&f.push(a.Rk());c=this.ja.za.ed();for(b=0;b<c.length;b++)c[b].Ra&&f.push(c[b].Rk())}else for(c=this.ja.za.ed(),b=0;b<c.length;b++)f.push(c[b].Rk());return f}Sx(){if(null==this.ja||null==this.ja.O)return[];for(var f=[],c=this.ja.O.Ea,a=0;a<c.length;a++)f.push(c.ea(a).Rk());return f}rT(f){this.ja.O.rc(!1).getItem(f.name).label=f.caption}oK(){if(null==
this.ja||null==this.ja.O)return[];const f=[],c=this.ja.O.rc(!1);for(let a=0;a<c.length;a++)f.push(c.ea(a).Rk());return f}XT(f,c,a,b){b="string"==typeof b?new k.ab.Bg(e.v.Se.pg(b)):k.ab.Bg.yb(b);f=this.ja.za.axes.getItem(f);if(null!=f){if(b=this.ja.za.Zh(b))f.yf=c,f.ym=a,f.yg=b;this.ja.sort();this.Za()}}YC(f,c){f=e.v.Se.pg(f);if(f=this.ja.O.rc(!1).getItem(f)){var a=this.ja.za.axes.getItem(e.v.j.ga.Xa),b=this.ja.za.axes.getItem(e.v.j.ga.Ia);-1!=a.Va.indexOf(f.A)?b.aF():-1!=b.Va.indexOf(f.A)&&a.aF();
f.xf=c;k.B.F.dc&&(this.ja.za.Wh=[{sort:c,measure:this.ja.O.Ke(f.A)}]);this.Za()}this.ja.select()}GT(f){this.ja.za.Wh=e.v.O.ir.baa(f,this.ja.za.ad);this.Za();this.ja.select()}Za(){k.Ya.V().Ga(new k.bd(k.Ya.jI))}YT(f,c){f=e.v.Se.pg(f);if(f=this.ja.O.rc(!1).getItem(f))f.cw=c;this.Ja.vc&&this.ja.select()}d_(f){if(null==this.ja||null==this.ja.O)return"";f=this.ja.O.rc(!1).getItem(f);return null!=f?f.xf:""}TZ(){return null==this.ja||null==this.ja.O?null:this.ja.za.caa()}ij(f,c,a){if(null==this.ja||null==
this.ja.O)return[];var b=[],d=this.ja.O.rc(!1).getItem(f);null==c&&(c="");d&&(this.Ja.ha.Qc?(f=""==c?d.Cd:d.Yb(c),null==a||null==f&&""!=c||(f&&f.children&&0<f.children.length&&!f.qf?(b=this.Aaa(d,c),a(b)):this.ja.Dk(d,f,()=>{b=this.Aaa(d,c);a(b)}))):(b=this.vaa(d.Cd),null!=a&&a(b)));return b}Aaa(f,c){var a=[];c=""==c?f.Cd.children:f.Yb(c).children;for(var b=0;b<c.length;b++){var d=f.ya(c[b]),g=d.Qa();g.isLeaf=d.level.xb==d.hierarchy.ta.length-1;g.parentMember=d.parent.Rb?d.hierarchy.Cd.fm:d.parent.fm;
d.A!=f.gl&&a.push(g)}return a}vaa(f){for(var c=[],a=f.hierarchy.uj(f,!1),b=0;b<a.length;b++){var d=f.hierarchy.ya(a[b]),g=d.Qa();g.isLeaf=d.level.xb==d.hierarchy.ta.length-1;g.uniqueName=d.fm;g.parentMember=d.parent.Rb?d.hierarchy.Cd.fm:d.parent.fm;if(1!=d.children.length||d.hierarchy.ya(d.children[0]).caption!=k.C.u.Bj)g.children=this.vaa(d);c.push(g)}return c}XL(f){this.Ja.de(e.v.O.ir.yb(f,e.v.Sa.V().O))}de(f){this.Ja.de(f)}Qv(){var f=k.B.F.Qv(!0,!0).Qa();null!=f.chartActiveMeasure&&delete f.chartActiveMeasure;
null!=f.chartActiveTupleIndex&&delete f.chartActiveTupleIndex;return f}$f(f){var c=(f=this.ja&&this.ja.O?this.ja.O.qd(f):null)&&k.B.F.dc&&e.v.j.Na.oc==f.type;return(f?f.$f(c):k.cc.bk.$f("")).Qa(!0)}UC(f,c){f.hasOwnProperty("name")||(f.name=e.P.nK());try{k.cc.bk.UC(f)}catch(g){e.Wa("Can't add format. Component's configuration requires more parameters.");return}try{var a=this.ja.O.qd(c);a&&(a.format=f.name,f.label&&(a.label=f.label));var b;if(""!=f.name&&(""==c||null==c))for(b=0;b<this.ja.O.Ea.length;b++)a=
this.ja.O.Ea.ea(b),a.format=f.name;var d=this.ja.za.ed();for(b=0;b<d.length;b++)c==d[b].A&&(d[b].format=f.name,f.label&&(a.label=f.label))}catch(g){e.Wa("List of measures is empty. There is nothing to format.");return}this.Ga(new r.da(k.cc.u5.p5));this.Za()}refresh(){this.ja.filter()}W1(){var f=e.Mh.La.Nt();e.Mh.La.clear();e.Mh.La.tw(f)}dispose(){e.v.kf.zj.dispose();e.K.Y.X.$d.Av=null;e.K.nd.yu.fB=null;e.K.Y.$M.TJ=null;e.v.external.Kc.LM.SJ=null;e.v.Sa.dispose();this.Ja&&this.Ja.dispose();this.XG=
this.I=this.Ja=this.ja=null;h.La=null}QZ(f,c){e.v.external.ze.tia.V().VZ(f,(a,b)=>{e.rf(c)&&c(a,b)})}}h.id="flexmonster";k.Ua=h})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){class h{constructor(c,a=null){this.type=c;this.data=a}}k.bd=h;class f extends r.fh{constructor(){super();if(null!=f.La)throw Error("Singleton");}static V(){null==f.La&&(f.La=new f);return f.La}static dispose(){f.La=null}static Tfa(c){return f.Y_(c)?c:""}static Y_(c){return-1<f.types.indexOf(c)}N(c,a,b=0){c=f.Tfa(c);f.Y_(c)&&super.N(c,a,b)}qb(c,a){c=f.Tfa(c);f.Y_(c)&&super.qb(c,a)}static gFa(c){for(var a=0;a<f.types.length;a++){var b=f.types[a];f.fFa(b,c[b])}}static fFa(c,
a){if(a){"string"==typeof a&&(a=f.Qaa(a));var b=a;c!=f.pU&&c!=f.Ew&&c!=f.uo&&c!=f.nU&&(b=function(...d){e.Be(function(){a.apply(null,d)},1)});f.V().N(c,b)}}static Qaa(c){var a=window;c=c.split(".");for(var b=c.pop(),d=0;d<c.length;d++){if(null==a)return null;a=a[c[d]]}return a[b]}}f.QD="openingreportfile";f.Az="loadingreportfile";f.vn="reportfileloaded";f.kI="reportfileerror";f.Ls="reportfilecancelled";f.GD="loadingdata";f.nH="dataloaded";f.lH="dataerror";f.mH="datafilecancelled";f.z4="datachanged";
f.K5="loadingolapstructure";f.aI="olapstructureloaded";f.$H="olapstructureerror";f.VV="unauthorizederror";f.Mz="runningquery";f.ek="querycomplete";f.Ks="queryerror";f.HD="loadinglocalization";f.ID="localizationloaded";f.RH="localizationerror";f.cj="reportcomplete";f.jI="reportchange";f.S4="exportstart";f.Lg="exportcomplete";f.q6="printstart";f.Kz="printcomplete";f.w6="ready";f.T6="update";f.Ew="beforegriddraw";f.uo="aftergriddraw";f.nU="afterchartdraw";f.Z3="chartclick";f.Y3="cellclick";f.UM="celldoubleclick";
f.Kw="filteropen";f.XU="filterclose";f.k5="fieldslistopen";f.g5="fieldslistclose";f.k6="numberformatting";f.f4="conditionalformatting";f.pU="beforetoolbarcreated";f.I4="drillthroughopen";f.G4="drillthroughclose";f.types=[f.w6,f.QD,f.Az,f.vn,f.kI,f.Ls,f.GD,f.nH,f.lH,f.mH,f.z4,f.K5,f.aI,f.$H,f.VV,f.Mz,f.ek,f.Ks,f.HD,f.ID,f.RH,f.cj,f.jI,f.q6,f.Kz,f.S4,f.Lg,f.T6,f.Ew,f.uo,f.nU,f.Z3,f.Y3,f.UM,f.Kw,f.XU,f.k5,f.g5,f.k6,f.f4,f.pU,f.I4,f.G4];k.Ya=f})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){class h{static valid(f){if(e.w(f)||"number"===typeof f)return!0;f=f.toLowerCase();return-1===f.indexOf("<script")&&-1===f.indexOf("<svg")&&-1===f.indexOf("javascript:")&&-1===f.indexOf("<iframe")&&-1===f.indexOf("<object")&&-1===f.indexOf("expression(")&&-1===f.indexOf("onmouseover")&&-1===f.indexOf("onload=")&&-1===f.indexOf("onerror")}static Mc(f,c=!1){return e.P.ap(f,c)}}k.Vb=h})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){}static V(){null==f.La&&(f.La=new f);return f.La}static dispose(){f.La=null}getData(){if(k.ua.mc.Yo||k.ua.mc.Bp){var c=e.v.kf.zj.HZ(k.B.F.MP);return this.aQ(c)}e.Wa(k.ua.pa.J(k.ua.pa.VX),k.ua.pa.J(k.ua.pa.fo))}REa(c,a){if(k.ua.mc.Yo||k.ua.mc.Bp){var b=e.v.Sa.V();if(void 0!=b.ha&&!b.ha.Qc){c=e.v.O.ir.yb(c,b.O,!0);var d=e.v.local.GN.clone(b.ra);d.slice=c;d.select();b=new e.v.kf.Fia;b.reset();b.ra=d;b.slice=c;b.load();c=this.aQ(b);this.m$(a,
c);b.reset()}}else e.Wa(k.ua.pa.J(k.ua.pa.VX),k.ua.pa.J(k.ua.pa.fo))}m$(c,a){a.$xa()?c({},a.yF.Qa()):c(a.Qa())}aQ(c){var a=new h.Jla;if(void 0==c.slice)return a;a.slice=c.slice.Qa();a.dw={caption:k.B.F.Xl,vAmount:c.slice.ed().length,formats:[]};var b=0,d=0;if(c.Th&&!c.ib){var g="on"==k.B.F.xg||"rows"==k.B.F.xg?c.vd-1:c.vd;var l="on"==k.B.F.xg||"columns"==k.B.F.xg?c.od-1:c.od;a.data=[];var m=[];var n=[];var p={};for(var q=0;q<c.Ea.length;q++){var t=c.Ea[q];a.dw["v"+q+"Name"]=t.caption;var x=k.Ua.V().$f(t.A);
a.dw.formats.push(x);t=c.Ha(m,n,t);p["v"+q]=t}a.data.push(p);for(x=0;x<l;x++)if(m=c.gp(x),!e.w(m)&&0!=m.length){p={};b=Math.max(b,m.length);n=[];q=c.Ab;for(t=0;t<m.length;t++){var z=t;var A=q.ea(z);var B=m[t];B=A.ya(B);a.dw["r"+z+"Name"]=A.caption;A=this.hR(B);p["r"+z]=A}for(q=0;q<c.Ea.length;q++)t=c.Ea[q],t=c.Ha(m,n,t),p["v"+q]=t;a.data.push(p)}for(var D=0;D<g;D++)if(n=c.wk(D),!e.w(n)&&0!=n.length){p={};m=[];d=Math.max(d,n.length);q=c.Fb;for(t=0;t<n.length;t++)z=t,A=q.ea(z),B=n[t],B=A.ya(B),a.dw["c"+
z+"Name"]=A.caption,A=this.hR(B),p["c"+z]=A;for(q=0;q<c.Ea.length;q++)t=c.Ea[q],t=c.Ha(m,n,t),p["v"+q]=t;a.data.push(p)}var I=!1,Q=w.nf();if(0<c.Fb.length&&0<c.Ab.length)for(x=0;x<l;x++){m=c.gp(x);b=Math.max(b,m.length);for(D=0;D<g;D++){if(1E4<w.nf()-Q){I=!0;break}n=c.wk(D);d=Math.max(d,n.length);p={};q=c.Ab;for(t=0;t<m.length;t++)z=t,A=q.ea(z),B=m[t],B=A.ya(B),A=this.hR(B),p["r"+z]=A;q=c.Fb;for(t=0;t<n.length;t++)z=t,A=q.ea(z),B=n[t],B=A.ya(B),A=this.hR(B),p["c"+z]=A;for(q=0;q<c.Ea.length;q++)t=
c.Ea[q],t=c.Ha(m,n,t),p["v"+q]=t;a.data.push(p)}if(I)break}}I?(a.data=[],a.dw={},a.yF=new h.Eia,a.yF.od=l,a.yF.vd=g,a.yF.errorMessage=k.C.u.V5+". "+k.C.u.U5):(a.dw.rAmount=b,a.dw.cAmount=d);return a}hR(c){return c.level.type==e.v.j.rb.kb||c.level.type==e.v.j.rb.bc?c.sc:c.level.type==e.v.j.rb.Cc?Date.parse(c.caption):c.level.type==e.v.j.rb.Cm?isNaN(parseFloat(c.caption))?c.caption:parseFloat(c.caption):c.caption}}h.yN=f})(k.bC||(k.bC={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){this.slice={};this.dw={};this.data=[];this.yF=null}Qa(){var a={};a.meta=this.dw;a.data=this.data;return a}$xa(){return null!=this.yF}}h.Jla=f;class c{constructor(){this.errorMessage=null}Qa(){var a={};a.errorMessage=this.errorMessage;a.dataH=this.od;a.dataW=this.vd;return a}}h.Eia=c})(k.bC||(k.bC={}))})(e.i||(e.i={}))})(u||(u={}));var xa=u||(u={}),ya=xa.i||(xa.i={});{var za=ya.C||(ya.C={});class e{}e.FU="Flexmonster Pivot Table";za.u=e}
(function(e){(function(k){(function(h){class f{load(c,a,b){this.Hb=a;this.Ma=b;this.xhr=new XMLHttpRequest;this.xhr.open("GET",c,!0);this.xhr.onerror=d=>this.Tb(d);this.xhr.onreadystatechange=d=>this.kw(d);this.xhr.send()}kw(){null!=this.xhr&&4===this.xhr.readyState&&(200===this.xhr.status?this.rM():this.Ma())}rM(){this.xhr.response&&null==this.xhr.response.error?null!=this.Hb&&this.gi(this.xhr.response):this.Ma&&this.Ma()}Tb(){null!=this.Ma&&this.Ma()}gi(c){try{var a=JSON.parse(c);this.Hb(h.EN.yb(a))}catch(b){console.error(b),
this.Ma()}}}h.hka=f})(k.C||(k.C={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){if(null!=f.La)throw Error("Singleton");this.Bt=new h.EN;this.Bt.TC()}static V(){null==f.La&&(f.La=new f);return f.La}static dispose(){h.u.er=null;h.u.Pw=null;h.u.Tz=null;h.u.Uz=null;h.u.v6=null;f.La.Bt=null;f.La.CR=null;f.La.kG=null;f.La=null}updateLabels(){h.u.i5=this.J("fieldsList/flatHierarchyBox");h.u.XHa=this.J("fieldsList/hierarchyBox");h.u.WHa=this.J("fieldsList/filterBox");h.u.ZHa=this.J("fieldsList/rowBox");h.u.VHa=this.J("fieldsList/columnBox");
h.u.YHa=this.J("fieldsList/measureBox");h.u.wH=this.J("fieldsList/values");h.u.vz=this.J("fieldsList/addCalculatedMeasure");h.u.Jia=this.J("fieldsList/expandAll");h.u.h5=this.J("fieldsList/collapseAll");h.u.j5=this.J("fieldsList/formulasGroupName");h.u.jN=this.J("fieldsList/allFields");h.u.lN=this.J("fieldsList/rows");h.u.kN=this.J("fieldsList/columns");h.u.Bu=this.J("fieldsList/filters");h.u.Jw=this.J("fieldsList/dropField");h.u.mN=this.J("fieldsList/title");h.u.l5=this.J("fieldsList/subtitle");
h.u.Iia=this.J("fieldsList/actions/select");h.u.TU=this.J("fieldsList/actions/deselect");h.u.Hia=this.J("fieldsList/actions/expand");h.u.Gia=this.J("fieldsList/actions/collapse");h.u.d5=this.J("fieldsList/actions/move_to_rows");h.u.b5=this.J("fieldsList/actions/move_to_columns");h.u.c5=this.J("fieldsList/actions/move_to_filters");h.u.e5=this.J("fieldsList/actions/move_to_values");h.u.f5=this.J("fieldsList/actions/move_up");h.u.Z4=this.J("fieldsList/actions/move_down");h.u.UU=this.J("fieldsList/actions/edit_calculated_value");
h.u.zH=this.J("filter/all");h.u.FH=this.J("filter/multipleItems");h.u.Eu=this.J("filter/selectAll");h.u.nja=this.J("filter/selectAllResults");h.u.fja=this.J("filter/top");h.u.Xia=this.J("filter/bottom");h.u.m5=this.J("filter/ascSort");h.u.n5=this.J("filter/descSort");h.u.YU=this.J("filter/search");h.u.Lia=this.J("filter/amountSelected");h.u.Kia=this.J("filter/amountFound");h.u.oja=this.J("filter/sort");h.u.Mia=this.J("filter/filterBy");h.u.o5=this.J("filter/labelsFilter");h.u.hja=this.J("filter/numbersFilter");
h.u.uja=this.J("filter/valuesFilter");h.u.gja=this.J("filter/datesFilter");h.u.qja=this.J("filter/timeFilter");h.u.BH=this.J("filter/equal");h.u.DH=this.J("filter/notEqual");h.u.Uia=this.J("filter/before");h.u.Via=this.J("filter/beforeEqual");h.u.Sia=this.J("filter/after");h.u.Tia=this.J("filter/afterEqual");h.u.AH=this.J("filter/between");h.u.CH=this.J("filter/notBetween");h.u.aja=this.J("filter/last");h.u.Zia=this.J("filter/current");h.u.bja=this.J("filter/next");h.u.Wia=this.J("filter/begin");
h.u.cja=this.J("filter/notBegin");h.u.$ia=this.J("filter/end");h.u.eja=this.J("filter/notEnd");h.u.Yia=this.J("filter/contain");h.u.dja=this.J("filter/notContain");h.u.oN=this.J("filter/greater");h.u.pN=this.J("filter/greaterEqual");h.u.qN=this.J("filter/less");h.u.rN=this.J("filter/lessEqual");h.u.tja=this.J("filter/seconds");h.u.sja=this.J("filter/minutes");h.u.rja=this.J("filter/hours");h.u.pja=this.J("filter/days");h.u.ija=this.J("filter/day");h.u.lja=this.J("filter/week");h.u.jja=this.J("filter/month");
h.u.kja=this.J("filter/quarter");h.u.mja=this.J("filter/year");h.u.Nia=this.J("filter/clearDateFilter");h.u.Oia=this.J("filter/clearLabelFilter");h.u.Pia=this.J("filter/clearNumberFilter");h.u.Qia=this.J("filter/clearTimeFilter");h.u.Ria=this.J("filter/clearValueFilter");h.u.iia=this.J("drillThrough/title");h.u.hia=this.J("drillThrough/row");h.u.gia=this.J("drillThrough/column");h.u.jia=this.J("drillThrough/value");h.u.X3=this.J("calculatedView/title");h.u.T3=this.J("calculatedView/measureBox");h.u.U3=
this.J("calculatedView/measureName");h.u.vU=this.J("calculatedView/formula");h.u.S3=this.J("calculatedView/formulaPrompt");h.u.R3=this.J("calculatedView/calculateIndividualValues");h.u.W3=this.J("calculatedView/removeValue");h.u.Wga=this.J("calculatedView/removeValueTitle");h.u.Vga=this.J("calculatedView/removeValueMessage");h.u.jHa=this.J("calculatedView/header");h.u.iHa=this.J("calculatedView/allValues");h.u.Uga=this.J("calculatedView/actions/add_to_formula");h.u.fV=this.J("grid/total");h.u.Ija=
this.J("grid/totals");h.u.eV=this.J("grid/grandTotal");h.u.Bj=this.J("grid/blankMember");h.u.EU=this.J("grid/dateNullCaption");h.u.Bm=this.J("grid/dateInvalidCaption");h.u.Cia=this.J("grid/reportInformation");h.u.aha=this.J("charts/showLegend");h.u.Zga=this.J("charts/hideLegend");h.u.$ga=this.J("charts/selectMeasures");h.u.mHa=this.J("charts/rowNumber");h.u.nHa=this.J("charts/flatTypesLimitation");h.u.b4=this.J("charts/noDataTitle");h.u.bha=this.J("charts/noMeasuresTitle");h.u.cha=this.J("charts/bigDataSetWarning");
h.u.qO=this.J("tooltips/fieldList");h.u.P6=this.J("tooltips/selectAggregation");h.u.N6=this.J("tooltips/editCalculatedMeasure");h.u.dna=this.J("tooltips/row");h.u.nKa=this.J("tooltips/column");h.u.cna=this.J("tooltips/headerResize");h.u.O6=this.J("tooltips/headerFit");h.u.Rz=this.J("tooltips/filterIcon");h.u.TV=this.J("tooltips/filtered");h.u.pO=this.J("tooltips/expandIcon");h.u.oO=this.J("tooltips/collapseIcon");h.u.ana=this.J("tooltips/drillDown");h.u.bna=this.J("tooltips/drillUp");h.u.gna=this.J("tooltips/sortIcon");
h.u.fna=this.J("tooltips/sortedDescIcon");h.u.ena=this.J("tooltips/sortedAscIcon");h.u.hna=this.J("tooltips/unsortedIcon");h.u.$ma=this.J("tooltips/close");h.u.J6=this.J("aggregations/sum/caption");h.u.nI=this.J("aggregations/sum/totalCaption");h.u.Jma=this.J("aggregations/sum/grandTotalCaption");h.u.n4=this.J("aggregations/count/caption");h.u.VM=this.J("aggregations/count/totalCaption");h.u.Fha=this.J("aggregations/count/grandTotalCaption");h.u.cia=this.J("aggregations/distinctCount/caption");h.u.cN=
this.J("aggregations/distinctCount/totalCaption");h.u.dia=this.J("aggregations/distinctCount/grandTotalCaption");h.u.kma=this.J("aggregations/runningTotalsOfColumn/caption");h.u.aO=this.J("aggregations/runningTotalsOfColumn/totalCaption");h.u.lma=this.J("aggregations/runningTotalsOfColumn/grandTotalCaption");h.u.mma=this.J("aggregations/runningTotalsOfRow/caption");h.u.cO=this.J("aggregations/runningTotalsOfRow/totalCaption");h.u.nma=this.J("aggregations/runningTotalsOfRow/grandTotalCaption");h.u.Zha=
this.J("aggregations/differenceOfColumn/caption");h.u.pH=this.J("aggregations/differenceOfColumn/totalCaption");h.u.$ha=this.J("aggregations/differenceOfColumn/grandTotalCaption");h.u.aia=this.J("aggregations/differenceOfRow/caption");h.u.qH=this.J("aggregations/differenceOfRow/totalCaption");h.u.bia=this.J("aggregations/differenceOfRow/grandTotalCaption");h.u.Nla=this.J("aggregations/percentDifferenceOfColumn/caption");h.u.dI=this.J("aggregations/percentDifferenceOfColumn/totalCaption");h.u.Ola=
this.J("aggregations/percentDifferenceOfColumn/grandTotalCaption");h.u.Pla=this.J("aggregations/percentDifferenceOfRow/caption");h.u.eI=this.J("aggregations/percentDifferenceOfRow/totalCaption");h.u.Qla=this.J("aggregations/percentDifferenceOfRow/grandTotalCaption");h.u.F3=this.J("aggregations/average/caption");h.u.RM=this.J("aggregations/average/totalCaption");h.u.Iga=this.J("aggregations/average/grandTotalCaption");h.u.Nka=this.J("aggregations/median/caption");h.u.qV=this.J("aggregations/median/totalCaption");
h.u.Oka=this.J("aggregations/median/grandTotalCaption");h.u.Ema=this.J("aggregations/stdevp/caption");h.u.hO=this.J("aggregations/stdevp/totalCaption");h.u.Fma=this.J("aggregations/stdevp/grandTotalCaption");h.u.Gma=this.J("aggregations/stdevs/caption");h.u.iO=this.J("aggregations/stdevs/totalCaption");h.u.Hma=this.J("aggregations/stdevs/grandTotalCaption");h.u.Yla=this.J("aggregations/product/caption");h.u.ZN=this.J("aggregations/product/totalCaption");h.u.Zla=this.J("aggregations/product/grandTotalCaption");
h.u.mla=this.J("aggregations/min/caption");h.u.TN=this.J("aggregations/min/totalCaption");h.u.nla=this.J("aggregations/min/grandTotalCaption");h.u.pka=this.J("aggregations/max/caption");h.u.LN=this.J("aggregations/max/totalCaption");h.u.qka=this.J("aggregations/max/grandTotalCaption");h.u.Kla=this.J("aggregations/percent/caption");h.u.iI=this.J("aggregations/percent/totalCaption");h.u.Rla=this.J("aggregations/percent/grandTotalCaption");h.u.Lla=this.J("aggregations/percentOfColumn/caption");h.u.cI=
this.J("aggregations/percentOfColumn/totalCaption");h.u.Mla=this.J("aggregations/percentOfColumn/grandTotalCaption");h.u.Wla=this.J("aggregations/percentOfRow/caption");h.u.hI=this.J("aggregations/percentOfRow/totalCaption");h.u.Xla=this.J("aggregations/percentOfRow/grandTotalCaption");h.u.Sla=this.J("aggregations/percentOfParentColumnTotal/caption");h.u.fI=this.J("aggregations/percentOfParentColumnTotal/totalCaption");h.u.Tla=this.J("aggregations/percentOfParentColumnTotal/grandTotalCaption");h.u.Ula=
this.J("aggregations/percentOfParentRowTotal/caption");h.u.gI=this.J("aggregations/percentOfParentRowTotal/totalCaption");h.u.Vla=this.J("aggregations/percentOfParentRowTotal/grandTotalCaption");h.u.Oja=this.J("aggregations/index/caption");h.u.MH=this.J("aggregations/index/totalCaption");h.u.Pja=this.J("aggregations/index/grandTotalCaption");h.u.xla=this.J("aggregations/none/caption");h.u.Ca=this.J("messages/error");h.u.X6=this.J("messages/warning");h.u.CN=this.J("messages/limitation");h.u.Oga=this.J("messages/browse");
h.u.xo=this.J("messages/confirmation");h.u.YJa=this.J("messages/reportFileType");h.u.Xka=this.J("messages/api/incorrectUrl");h.u.Wka=this.J("messages/api/errorZeroStatus");h.u.Rka=this.J("messages/api/error404Status");h.u.Qka=this.J("messages/api/error400Status");h.u.Ska=this.J("messages/api/error500Status");h.u.T5=this.J("messages/api/selectRequestError");h.u.Tka=this.J("messages/api/selectDrillThroughError");h.u.iJa=this.J("messages/api/clientOutdated");h.u.Vka=this.J("messages/api/serverOutdated");
h.u.Uka=this.J("messages/api/fieldsRequestError");h.u.S5=this.J("messages/api/membersRequestError");h.u.rV=this.J("messages/api/noGridChartsMode");h.u.LD=this.J("messages/loading");h.u.tJa=this.J("messages/loadingConfiguration");h.u.Bf=this.J("messages/loadingData");h.u.vV=this.J("messages/loadingMapping");h.u.Gs=this.J("messages/waiting");h.u.wV=this.J("messages/progress");h.u.MD=this.J("messages/progressKnown");h.u.Nl=this.J("messages/progressUnknown");h.u.gla=this.J("messages/sortingMembers");
h.u.NN=this.J("messages/analyzing");h.u.ON=this.J("messages/analyzingProgress");h.u.R5=this.J("messages/analyzingRecords");h.u.Pka=this.J("messages/analyzingRecordsWithAmount");h.u.c6=this.J("messages/saving");h.u.UH=this.J("messages/loadingDimensions");h.u.tV=this.J("messages/loadingHierarchies");h.u.RN=this.J("messages/loadingMeasures");h.u.Z5=this.J("messages/loadingKPIs");h.u.sn=this.J("messages/loadingMembers");h.u.uV=this.J("messages/loadingLevels");h.u.a6=this.J("messages/loadingProperties");
h.u.oJa=this.J("messages/fullscreen");h.u.mJa=this.J("messages/exportComplete");h.u.Ow=this.J("messages/exportProgress");h.u.Fs=this.J("messages/exportError");h.u.pJa=this.J("messages/generatingPDF");h.u.OD=this.J("messages/pleaseWait");h.u.b6=this.J("messages/pagesWereGenerated");h.u.d6=this.J("messages/uploading");h.u.TH=this.J("messages/cantSaveFile");h.u.jJa=this.J("messages/cantSaveToClipboard");h.u.ela=this.J("messages/saveReportToFile");h.u.uJa=this.J("messages/loadReportFromFile");h.u.rJa=
this.J("messages/inputNewName");h.u.sJa=this.J("messages/inputReportName");h.u.KD=this.J("messages/invalidDataSource");h.u.Zka=this.J("messages/dataStreamError");h.u.VH=this.J("messages/unableToOpenFile");h.u.PN=this.J("messages/errorTextMessage");h.u.kJa=this.J("messages/unableTwoFileBrowsingSessions");h.u.cla=this.J("messages/inappropriateFileFormat");h.u.QN=this.J("messages/invalidJSONdata");h.u.jla=this.J("messages/wrongFormulaEmpty");h.u.e6=this.J("messages/wrongFormulaFormat");h.u.lla=this.J("messages/wrongUniqueName");
h.u.ila=this.J("messages/wrongFormulaAggregation");h.u.kla=this.J("messages/wrongFormulaRecursive");h.u.$ka=this.J("messages/excelCsvChartsExportError");h.u.lJa=this.J("messages/excelPdfExportLimitation");h.u.nJa=this.J("messages/excelExportLimitation");h.u.ND=this.J("messages/noDataAvailable");h.u.vJa=this.J("messages/saveDataToFile");h.u.sV=this.J("messages/dataWasUpdated");h.u.Yka=this.J("messages/cantConnectToAccelerator");h.u.dla=this.J("messages/ocsvIncompatible");h.u.xV=this.J("messages/unknownError");
h.u.X5=this.J("messages/invalidReportFormat");h.u.Y5=this.J("messages/invalidReportFormat2");h.u.W5=this.J("messages/csvHeaderParsingError");h.u.hla=this.J("messages/tooManyColumnsInClassicMode");h.u.U5=this.J("messages/cantExpand");h.u.V5=this.J("messages/cantExpandTitle");h.u.fla=this.J("messages/selectFile");h.u.bla=this.J("messages/flatTableIsNotSupported");h.u.qJa=this.J("messages/enterGroupNamePrompt");h.u.ala=this.J("messages/exportFontLoadingError");h.u.Nw=this.J("kpis/kpis");h.u.F5=this.J("kpis/value");
h.u.B5=this.J("kpis/goal");h.u.E5=this.J("kpis/trend");h.u.D5=this.J("kpis/status");h.u.qU=this.J("buttons/ok");h.u.Gw=this.J("buttons/apply");h.u.Ml=this.J("buttons/cancel");h.u.N3=this.J("buttons/save");h.u.fHa=this.J("buttons/clear");h.u.Pga=this.J("buttons/select");h.u.qD=this.J("buttons/yes");h.u.M3=this.J("buttons/no");h.u.h4=this.J("contextMenu/clearSorting");h.u.hha=this.J("contextMenu/collapse");h.u.i4=this.J("contextMenu/drillThrough");h.u.mha=this.J("contextMenu/expand");h.u.kha=this.J("contextMenu/drillUp");
h.u.jha=this.J("contextMenu/drillDown");h.u.l4=this.J("contextMenu/openFilter");h.u.nha=this.J("contextMenu/filterBy");h.u.m4=this.J("contextMenu/removeField");h.u.wha=this.J("contextMenu/removeMeasure");h.u.zha=this.J("contextMenu/sortColumnAsc");h.u.Aha=this.J("contextMenu/sortColumnDesc");h.u.Bha=this.J("contextMenu/sortRowAsc");h.u.Cha=this.J("contextMenu/sortRowDesc");h.u.g4=this.J("contextMenu/aggregation");h.u.vha=this.J("contextMenu/properties");h.u.lha=this.J("contextMenu/editFormula");h.u.tha=
this.J("contextMenu/moveToRows");h.u.rha=this.J("contextMenu/moveToColumns");h.u.sha=this.J("contextMenu/moveToReportFilters");h.u.uha=this.J("contextMenu/numberFormatting");h.u.iha=this.J("contextMenu/conditionalFormatting");h.u.xha=this.J("contextMenu/showProperty");h.u.pha=this.J("contextMenu/hideProperty");h.u.oha=this.J("contextMenu/groupMembers");h.u.Dha=this.J("contextMenu/ungroupMembers");h.u.yha=this.J("contextMenu/showSubtotals");h.u.qha=this.J("contextMenu/hideSubtotals");h.u.bl=this.J("date/year");
h.u.Js=this.J("date/quarter");h.u.Ag=this.J("date/month");h.u.Cm=this.J("date/day");h.u.v6=[this.J("quarters/q1"),this.J("quarters/q2"),this.J("quarters/q3"),this.J("quarters/q4")];h.u.er=[this.J("months/january"),this.J("months/february"),this.J("months/march"),this.J("months/april"),this.J("months/may"),this.J("months/june"),this.J("months/july"),this.J("months/august"),this.J("months/september"),this.J("months/october"),this.J("months/november"),this.J("months/december")];h.u.Pw=[this.J("monthsShort/january"),
this.J("monthsShort/february"),this.J("monthsShort/march"),this.J("monthsShort/april"),this.J("monthsShort/may"),this.J("monthsShort/june"),this.J("monthsShort/july"),this.J("monthsShort/august"),this.J("monthsShort/september"),this.J("monthsShort/october"),this.J("monthsShort/november"),this.J("monthsShort/december")];h.u.Tz=[this.J("weekdays/first"),this.J("weekdays/second"),this.J("weekdays/third"),this.J("weekdays/fourth"),this.J("weekdays/fifth"),this.J("weekdays/sixth"),this.J("weekdays/seventh")];
h.u.Uz=[this.J("weekdaysShort/first"),this.J("weekdaysShort/second"),this.J("weekdaysShort/third"),this.J("weekdaysShort/fourth"),this.J("weekdaysShort/fifth"),this.J("weekdaysShort/sixth"),this.J("weekdaysShort/seventh")];w.Lh.bFa(h.u.Tz,h.u.Uz);w.Lh.oFa(h.u.er,h.u.Pw)}J(c){if(!e.w(this.kG)){var a=this.kG.J(c);if(!e.w(a))return a}return e.w(this.CR)||(a=this.CR.J(c),e.w(a))?this.Bt.J(c):a}reset(){this.kG=null;this.updateLabels()}load(c,a,b=!1){"string"!==typeof c||e.ia(c)?(c instanceof Object?this.pda(h.EN.yb(c),
b):this.reset(),null!=a&&a(!0)):(new h.hka).load(w.Vw.WF(c,!0),d=>{this.pda(d,b);null!=a&&a(!0)},()=>{null!=a&&a(!1)})}pda(c,a=!1){a?this.CR=c:this.kG=c;this.updateLabels()}Baa(){var c=new h.EN;c.TC();c.merge(this.CR);this.kG&&c.merge(this.kG);return c.Qa().toolbar}}h.Bz=f})(k.C||(k.C={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){this.labels={}}J(c){var a=this.labels;c=c.split("/");for(var b=0;b<c.length;b++){if(void 0===a[c[b]])return;a=a[c[b]]}return a}$a(c,a){var b=this.labels;c=c.split("/");for(var d=0;d<c.length-1;d++)b=b[c[d]];b[c[c.length-1]]=a}TC(){this.labels.fieldsList={};this.labels.fieldsList.flatHierarchyBox="Select and arrange columns";this.labels.fieldsList.hierarchyBox="Drag Dimensions";this.labels.fieldsList.filterBox="Drop & Arrange Report Filter";
this.labels.fieldsList.rowBox="Drop & Arrange Rows";this.labels.fieldsList.columnBox="Drop & Arrange Columns";this.labels.fieldsList.measureBox="Drop & Arrange Values";this.labels.fieldsList.values="Values";this.labels.fieldsList.allFields="All Fields";this.labels.fieldsList.rows="Rows";this.labels.fieldsList.columns="Columns";this.labels.fieldsList.filters="Report Filters";this.labels.fieldsList.dropField="Drop field here";this.labels.fieldsList.addCalculatedMeasure="Add calculated value";this.labels.fieldsList.expandAll=
"Expand All";this.labels.fieldsList.collapseAll="Collapse All";this.labels.fieldsList.formulasGroupName="Calculated Values";this.labels.fieldsList.title="Fields";this.labels.fieldsList.subtitle="Drag and drop fields to arrange";this.labels.fieldsList.actions={};this.labels.fieldsList.actions.select="Select";this.labels.fieldsList.actions.deselect="Deselect";this.labels.fieldsList.actions.expand="Expand";this.labels.fieldsList.actions.collapse="Collapse";this.labels.fieldsList.actions.move_to_rows=
"Move to rows";this.labels.fieldsList.actions.move_to_columns="Move to columns";this.labels.fieldsList.actions.move_to_filters="Move to report filters";this.labels.fieldsList.actions.move_to_values="Move to values";this.labels.fieldsList.actions.move_up="Move up";this.labels.fieldsList.actions.move_down="Move down";this.labels.fieldsList.actions.edit_calculated_value="Edit calculated value";this.labels.filter={};this.labels.filter.ascSort="Az";this.labels.filter.descSort="zA";this.labels.filter.top=
"Top";this.labels.filter.bottom="Bottom";this.labels.filter.measuresPrompt="Choose value";this.labels.filter.search="Search";this.labels.filter.selectAll="Select All";this.labels.filter.selectAllResults="Select All Results";this.labels.filter.amountSelected="{0} of {1} selected";this.labels.filter.amountFound="{0} of {1} found are selected";this.labels.filter.multipleItems="Multiple Items";this.labels.filter.all="All";this.labels.filter.sort="Sort:";this.labels.filter.filterBy="Filter by:";this.labels.filter.labelsFilter=
"Labels";this.labels.filter.numbersFilter="Labels";this.labels.filter.valuesFilter="Values";this.labels.filter.datesFilter="Dates";this.labels.filter.timeFilter="Time";this.labels.filter.equal="Equal";this.labels.filter.notEqual="Not equal";this.labels.filter.before="Before";this.labels.filter.beforeEqual="Before or equal";this.labels.filter.after="After";this.labels.filter.afterEqual="After or equal";this.labels.filter.between="Between";this.labels.filter.notBetween="Not between";this.labels.filter.last=
"Last...";this.labels.filter.current="Current...";this.labels.filter.next="Next...";this.labels.filter.begin="Begin";this.labels.filter.notBegin="Not begin";this.labels.filter.end="End";this.labels.filter.notEnd="Not end";this.labels.filter.contain="Contain";this.labels.filter.notContain="Not contain";this.labels.filter.greater="Greater";this.labels.filter.greaterEqual="Greater or equal";this.labels.filter.less="Less";this.labels.filter.lessEqual="Less or equal";this.labels.filter.day="Day";this.labels.filter.week=
"Week";this.labels.filter.month="Month";this.labels.filter.quarter="Quarter";this.labels.filter.year="Year";this.labels.filter.seconds="sec.";this.labels.filter.minutes="min.";this.labels.filter.hours="hr.";this.labels.filter.days="d.";this.labels.filter.clearDateFilter="Clear date filter";this.labels.filter.clearLabelFilter="Clear label filter";this.labels.filter.clearNumberFilter="Clear label filter";this.labels.filter.clearTimeFilter="Clear time filter";this.labels.filter.clearValueFilter="Clear value filter";
this.labels.drillThrough={};this.labels.drillThrough.title="Details";this.labels.drillThrough.row="Row: <b>{0}</b>";this.labels.drillThrough.column="Column: <b>{0}</b>";this.labels.drillThrough.value="{0}: <b>{1}</b>";this.labels.calculatedView={};this.labels.calculatedView.title="Calculated Value";this.labels.calculatedView.measureBox="Drag values to formula";this.labels.calculatedView.measureName="Value name";this.labels.calculatedView.formula="Formula";this.labels.calculatedView.formulaPrompt=
"Drop values and edit formula here";this.labels.calculatedView.calculateIndividualValues="Calculate individual values";this.labels.calculatedView.removeValue="Remove";this.labels.calculatedView.removeValueTitle="Remove {0}?";this.labels.calculatedView.removeValueMessage="Are you sure you want to remove this calculated value?";this.labels.calculatedView.header="Add calculated value";this.labels.calculatedView.allValues="All values";this.labels.calculatedView.actions={};this.labels.calculatedView.actions.add_to_formula=
"Add to formula";this.labels.grid={};this.labels.grid.total="Total";this.labels.grid.totals="Totals";this.labels.grid.grandTotal="Grand Total";this.labels.grid.blankMember="(blank)";this.labels.grid.dateNullCaption="null";this.labels.grid.dateInvalidCaption="Invalid date";this.labels.grid.reportInformation="Report Information";this.labels.charts={};this.labels.charts.showLegend="Show legend";this.labels.charts.hideLegend="Hide legend";this.labels.charts.selectMeasures="Select measures";this.labels.charts.rowNumber=
"Row number";this.labels.charts.bigDataSetWarning="Dataset is too big to be displayed on the chart. Dataset will be cut off to the amount fitting into the chart.";this.labels.charts.flatTypesLimitation="Staked column and column line charts are not available for flat table.";this.labels.charts.noDataTitle="No data to display.";this.labels.charts.noMeasuresTitle="No measures to display. Add at least one measure in the Field List.";this.labels.tooltips={};this.labels.tooltips.fieldList="Click to open Fields";
this.labels.tooltips.selectAggregation="Select aggregation";this.labels.tooltips.editCalculatedMeasure="Edit calculated value";this.labels.tooltips.row="Row:";this.labels.tooltips.column="Column:";this.labels.tooltips.headerResize="Drag to resize";this.labels.tooltips.headerFit="Double click to fit";this.labels.tooltips.filterIcon="Click to filter";this.labels.tooltips.filtered="Filtered";this.labels.tooltips.expandIcon="Click to expand";this.labels.tooltips.collapseIcon="Click to collapse";this.labels.tooltips.drillDown=
"Click to drill down";this.labels.tooltips.drillUp="Click to drill up";this.labels.tooltips.sortIcon="Click to sort";this.labels.tooltips.sortedDescIcon="Click to sort Desc";this.labels.tooltips.sortedAscIcon="Click to sort Asc";this.labels.tooltips.unsortedIcon="Click to unsort";this.labels.tooltips.close="Click to close";this.labels.aggregations={};this.labels.aggregations.sum={};this.labels.aggregations.sum.caption="Sum";this.labels.aggregations.sum.totalCaption="Sum of {0}";this.labels.aggregations.sum.grandTotalCaption=
"Total Sum of {0}";this.labels.aggregations.count={};this.labels.aggregations.count.caption="Count";this.labels.aggregations.count.totalCaption="Count of {0}";this.labels.aggregations.count.grandTotalCaption="Total Count of {0}";this.labels.aggregations.distinctCount={};this.labels.aggregations.distinctCount.caption="Distinct Count";this.labels.aggregations.distinctCount.totalCaption="Distinct Count of {0}";this.labels.aggregations.distinctCount.grandTotalCaption="Total Distinct Count of {0}";this.labels.aggregations.average=
{};this.labels.aggregations.average.caption="Average";this.labels.aggregations.average.totalCaption="Average of {0}";this.labels.aggregations.average.grandTotalCaption="Total Average of {0}";this.labels.aggregations.median={};this.labels.aggregations.median.caption="Median";this.labels.aggregations.median.totalCaption="Median of {0}";this.labels.aggregations.median.grandTotalCaption="Total Median of {0}";this.labels.aggregations.stdevp={};this.labels.aggregations.stdevp.caption="Population StDev";
this.labels.aggregations.stdevp.totalCaption="Population StDev of {0}";this.labels.aggregations.stdevp.grandTotalCaption="Total Population StDev of {0}";this.labels.aggregations.stdevs={};this.labels.aggregations.stdevs.caption="Sample StDev";this.labels.aggregations.stdevs.totalCaption="Sample StDev of {0}";this.labels.aggregations.stdevs.grandTotalCaption="Total Sample StDev of {0}";this.labels.aggregations.product={};this.labels.aggregations.product.caption="Product";this.labels.aggregations.product.totalCaption=
"Product of {0}";this.labels.aggregations.product.grandTotalCaption="Total Product of {0}";this.labels.aggregations.min={};this.labels.aggregations.min.caption="Min";this.labels.aggregations.min.totalCaption="Min of {0}";this.labels.aggregations.min.grandTotalCaption="Total Min of {0}";this.labels.aggregations.max={};this.labels.aggregations.max.caption="Max";this.labels.aggregations.max.totalCaption="Max of {0}";this.labels.aggregations.max.grandTotalCaption="Total Max of {0}";this.labels.aggregations.percent=
{};this.labels.aggregations.percent.caption="% of Grand Total";this.labels.aggregations.percent.totalCaption="% of Grand Total of {0}";this.labels.aggregations.percent.grandTotalCaption="Total % of Grand Total of {0}";this.labels.aggregations.percentOfColumn={};this.labels.aggregations.percentOfColumn.caption="% of Column";this.labels.aggregations.percentOfColumn.totalCaption="% of Column of {0}";this.labels.aggregations.percentOfColumn.grandTotalCaption="Total % of Column of {0}";this.labels.aggregations.percentOfRow=
{};this.labels.aggregations.percentOfRow.caption="% of Row";this.labels.aggregations.percentOfRow.totalCaption="% of Row of {0}";this.labels.aggregations.percentOfRow.grandTotalCaption="Total % of Row of {0}";this.labels.aggregations.percentOfParentColumnTotal={};this.labels.aggregations.percentOfParentColumnTotal.caption="% of Parent Column Total";this.labels.aggregations.percentOfParentColumnTotal.totalCaption="% of Parent Column Total of {0}";this.labels.aggregations.percentOfParentColumnTotal.grandTotalCaption=
"% of Parent Column Total of {0}";this.labels.aggregations.percentOfParentRowTotal={};this.labels.aggregations.percentOfParentRowTotal.caption="% of Parent Row Total";this.labels.aggregations.percentOfParentRowTotal.totalCaption="% of Parent Row Total of {0}";this.labels.aggregations.percentOfParentRowTotal.grandTotalCaption="% of Parent Row Total of {0}";this.labels.aggregations.runningTotalsOfColumn={};this.labels.aggregations.runningTotalsOfColumn.caption="Running Totals of Column";this.labels.aggregations.runningTotalsOfColumn.totalCaption=
"Running Totals of Column of {0}";this.labels.aggregations.runningTotalsOfColumn.grandTotalCaption="Running Totals of Column of {0}";this.labels.aggregations.runningTotalsOfRow={};this.labels.aggregations.runningTotalsOfRow.caption="Running Totals of Row";this.labels.aggregations.runningTotalsOfRow.totalCaption="Running Totals of Row of {0}";this.labels.aggregations.runningTotalsOfRow.grandTotalCaption="Running Totals of Row of {0}";this.labels.aggregations.index={};this.labels.aggregations.index.caption=
"Index";this.labels.aggregations.index.totalCaption="Index of {0}";this.labels.aggregations.index.grandTotalCaption="Index of {0}";this.labels.aggregations.differenceOfColumn={};this.labels.aggregations.differenceOfColumn.caption="Difference of Column";this.labels.aggregations.differenceOfColumn.totalCaption="Difference of Column of {0}";this.labels.aggregations.differenceOfColumn.grandTotalCaption="Difference of Column of {0}";this.labels.aggregations.differenceOfRow={};this.labels.aggregations.differenceOfRow.caption=
"Difference of Row";this.labels.aggregations.differenceOfRow.totalCaption="Difference of Row of {0}";this.labels.aggregations.differenceOfRow.grandTotalCaption="Difference of Row of {0}";this.labels.aggregations.percentDifferenceOfColumn={};this.labels.aggregations.percentDifferenceOfColumn.caption="% Difference of Column";this.labels.aggregations.percentDifferenceOfColumn.totalCaption="% Difference of Column of {0}";this.labels.aggregations.percentDifferenceOfColumn.grandTotalCaption="% Difference of Column of {0}";
this.labels.aggregations.percentDifferenceOfRow={};this.labels.aggregations.percentDifferenceOfRow.caption="% Difference of Row";this.labels.aggregations.percentDifferenceOfRow.totalCaption="% Difference of Row of {0}";this.labels.aggregations.percentDifferenceOfRow.grandTotalCaption="% Difference of Row of {0}";this.labels.aggregations.none={};this.labels.aggregations.none.caption="No Calculation";this.labels.messages={};this.labels.messages.error="Error";this.labels.messages.warning="Warning";this.labels.messages.limitation=
"Limitation";this.labels.messages.browse="Browse";this.labels.messages.confirmation="Confirmation";this.labels.messages.reportFileType="Flexmonster report file";this.labels.messages.loading="Loading...";this.labels.messages.loadingConfiguration="";this.labels.messages.loadingData="Loading data...";this.labels.messages.loadingMapping="Loading mapping...";this.labels.messages.uploading="Uploading...";this.labels.messages.waiting="Waiting for the response {0} sec.";this.labels.messages.progress="{0} rows";
this.labels.messages.progressKnown="loaded {0} KB of {1} KB ({2}%)";this.labels.messages.progressUnknown="loaded {0} KB";this.labels.messages.sortingMembers="Sorting members...";this.labels.messages.analyzing="Analyzing data...";this.labels.messages.analyzingProgress="{0} records of {1} ({2}%)";this.labels.messages.analyzingRecords="{0}% records";this.labels.messages.analyzingRecordsWithAmount="{0} records ({1}%)";this.labels.messages.saving="Saving...";this.labels.messages.loadingDimensions="Loading dimensions...";
this.labels.messages.loadingHierarchies="Loading hierarchies...";this.labels.messages.loadingMeasures="Loading measures...";this.labels.messages.loadingKPIs="Loading KPIs...";this.labels.messages.loadingMembers="Loading members...";this.labels.messages.loadingProperties="Loading properties...";this.labels.messages.loadingLevels="Loading levels...";this.labels.messages.fullscreen="Open report in full screen?";this.labels.messages.exportComplete='Export data is created, please click "Save" button to save the data.';
this.labels.messages.generatingPDF="Generating PDF";this.labels.messages.pleaseWait="Please wait.";this.labels.messages.pagesWereGenerated="pages were generated.";this.labels.messages.exportProgress="Export in progress...";this.labels.messages.exportError="Failed to export. An unexpected error occurred.";this.labels.messages.cantSaveFile="Cannot save file. <br/>Details: {0}";this.labels.messages.cantSaveToClipboard="Error: Cannot write to the clipboard.";this.labels.messages.saveReportToFile='Report is ready to be saved to file, please click "Save" button to save the report.';
this.labels.messages.saveDataToFile='Data is ready to be saved to file, please click "Save" button to save the file.';this.labels.messages.loadReportFromFile="Select report file to be loaded.";this.labels.messages.inputNewName="Input new name";this.labels.messages.inputReportName="Please input report name";this.labels.messages.invalidDataSource="Invalid datasource or catalog. Please check. <br/><br/><u><a href='https://www.flexmonster.com/doc/typical-errors/#invalid-datasource' target='_blank'>Read more info about this error</a></u>";
this.labels.messages.dataStreamError="Stream error occurred while loading '{0}'<br/><br/><u><a href='https://www.flexmonster.com/doc/typical-errors/#stream-error' target='_blank'>Read more info about this error</a></u>";this.labels.messages.unableToOpenFile="Unable to open file {0}.<br/><br/>It seems that this file doesn't exist or 'Access-Control-Allow-Origin' header is absent in the requested resource.<br/><br/><u><a href='https://www.flexmonster.com/doc/typical-errors/#unable-to-open-file' target='_blank'>Read more info about this error</a></u>";
this.labels.messages.unableTwoFileBrowsingSessions="Browse file dialog is already opened.";this.labels.messages.wrongUniqueName="The field with <b>'{0}'</b> uniqueName is not defined.";this.labels.messages.wrongFormulaEmpty="The formula should not be empty.";this.labels.messages.wrongFormulaFormat="Wrong formula format. Please check.";this.labels.messages.wrongFormulaRecursive="The formula for <b>'{0}'</b> measure calls itself recursively. Please consider removing recursion from the formula.";this.labels.messages.wrongFormulaAggregation=
"The aggregation <b>'{0}'</b> in the <b>'{1}'</b> formula is not valid.";this.labels.messages.inappropriateFileFormat="The data file is of inappropriate format.";this.labels.messages.invalidJSONdata="JSON data is invalid.";this.labels.messages.excelCsvChartsExportError="Export to Microsoft Excel or CSV is not available for charts.";this.labels.messages.excelPdfExportLimitation="Export to Microsoft Excel or PDF is not available in the current edition.";this.labels.messages.excelExportLimitation="Export is not available in the current edition.";
this.labels.messages.noDataAvailable="Data source is empty.";this.labels.messages.csvHeaderParsingError="CSV header parsing error.";this.labels.messages.dataWasUpdated="Data source has been updated on the server. Refresh the report?";this.labels.messages.cantConnectToAccelerator="Cannot connect to data source. Please check if Flexmonster Accelerator is running.";this.labels.messages.ocsvIncompatible="Unable to read data source. It seems that OCSV file was compressed with a newer version. Please update the component to version {0} or newer.";
this.labels.messages.unknownError="Unknown error occurred.";this.labels.messages.invalidReportFormat="Invalid report format or access to file is denied.";this.labels.messages.invalidReportFormat2="Invalid report format. 'dataSource' property is required.";this.labels.messages.tooManyColumnsInClassicMode="Too many columns for classic form. Switched layout to compact form.";this.labels.messages.cantExpand="Some fields cannot be expanded. Please narrow down the dataset.";this.labels.messages.cantExpandTitle=
"Dataset is too large";this.labels.messages.errorTextMessage="</br>Details: '{0}'";this.labels.messages.selectFile="Select data file to upload.";this.labels.messages.flatTableIsNotSupported="Flat table is not supported for {0} data source.";this.labels.messages.enterGroupNamePrompt="Please enter group name:";this.labels.messages.exportFontLoadingError="Failed to load the font. An unexpected error occurred.";this.labels.messages.api={};this.labels.messages.api.incorrectUrl="Custom data source API: incorrect type of the 'url' parameter.<br/><br/>";
this.labels.messages.api.errorZeroStatus="Unable to connect to custom data source API endpoint '<u><a href='{0}'>{0}</a></u>'.<br/><br/>Check the following to resolve:<br/>- make sure that the URL is correct<br/>- enable CORS<br/>- check the browser console for any errors";this.labels.messages.api.error404Status="Unable to connect to custom data source API endpoint '<u><a href='{0}'>{0}</a></u>'.<br/><br/>Check the following to resolve:<br/>- make sure that the URL is correct<br/>- check that the endpoint is processing POST requests";
this.labels.messages.api.error400Status="Custom data source API: request error on '<u><a href='{0}'>{0}</a></u>'.<br/><br/>";this.labels.messages.api.error500Status="Custom data source API: server error on '<u><a href='{0}'>{0}</a></u>'.<br/><br/>";this.labels.messages.api.selectRequestError="Custom data source API: select request.<br/><br/>The endpoint '<u><a href='{0}'>{0}</a></u>' response is in an incorrect format.";this.labels.messages.api.selectDrillThroughError="Custom data source API: select request for drill-through view.<br/><br/>The endpoint '<u><a href='{0}'>{0}</a></u>' response is in an incorrect format.";
this.labels.messages.api.clientOutdated="Custom data source API: the versions of flexmonster.js and server API are not compatible.<br/><br/>The flexmonster.js is outdated. Please update flexmonster.js to the minimum required version: {0}";this.labels.messages.api.serverOutdated="Custom data source API: the versions of flexmonster.js and server API are not compatible.<br/><br/>The server API is outdated. Please update the server API '<u><a href='{0}'>{0}</a></u>' to the minimum required version: {1}";
this.labels.messages.api.fieldsRequestError="Custom data source API: fields request.<br/><br/>The endpoint '<u><a href='{0}'>{0}</a></u>' response is in an incorrect format.";this.labels.messages.api.membersRequestError="Custom data source API: members request.<br/><br/>The endpoint '<u><a href='{0}'>{0}</a></u>' response is in an incorrect format.";this.labels.messages.api.noGridChartsMode="Grid and charts mode is not supported in flat form with API data source.";this.labels.buttons={};this.labels.buttons.ok=
"OK";this.labels.buttons.apply="Apply";this.labels.buttons.cancel="Cancel";this.labels.buttons.save="Save";this.labels.buttons.clear="Clear";this.labels.buttons.select="Select";this.labels.buttons.yes="Yes";this.labels.buttons.no="No";this.labels.kpis={};this.labels.kpis.kpis="KPIs";this.labels.kpis.value="Value";this.labels.kpis.goal="Goal";this.labels.kpis.trend="Trend";this.labels.kpis.status="Status";this.labels.contextMenu={};this.labels.contextMenu.drillThrough="Drill through";this.labels.contextMenu.openFilter=
"Open filter";this.labels.contextMenu.filterBy="Filter by <b>{0}</b>";this.labels.contextMenu.removeField="Remove Field";this.labels.contextMenu.removeMeasure="Remove Measure";this.labels.contextMenu.collapse="Collapse";this.labels.contextMenu.expand="Expand";this.labels.contextMenu.drillUp="Drill up";this.labels.contextMenu.drillDown="Drill down";this.labels.contextMenu.sortRowDesc="Sort row desc";this.labels.contextMenu.sortRowAsc="Sort row asc";this.labels.contextMenu.clearSorting="Clear sorting";
this.labels.contextMenu.sortColumnDesc="Sort column desc";this.labels.contextMenu.sortColumnAsc="Sort column asc";this.labels.contextMenu.aggregation="Aggregation";this.labels.contextMenu.properties="Properties";this.labels.contextMenu.showProperty="Show <b>{0}</b>";this.labels.contextMenu.editFormula="Edit <b>{0}</b>";this.labels.contextMenu.moveToRows="Move to Rows";this.labels.contextMenu.moveToColumns="Move to Columns";this.labels.contextMenu.moveToReportFilters="Move to Report Filters";this.labels.contextMenu.conditionalFormatting=
"Conditional Formatting";this.labels.contextMenu.numberFormatting="Number Formatting";this.labels.contextMenu.hideProperty="Hide <b>{0}</b>";this.labels.contextMenu.groupMembers="Group members";this.labels.contextMenu.ungroupMembers="Ungroup members";this.labels.contextMenu.showSubtotals="Show subtotals";this.labels.contextMenu.hideSubtotals="Hide subtotals";this.labels.date={};this.labels.date.year="Year";this.labels.date.quarter="Quarter";this.labels.date.month="Month";this.labels.date.day="Day";
this.labels.quarters={};this.labels.quarters.q1="Quarter 1";this.labels.quarters.q2="Quarter 2";this.labels.quarters.q3="Quarter 3";this.labels.quarters.q4="Quarter 4";this.labels.months={};this.labels.months.january="January";this.labels.months.february="February";this.labels.months.march="March";this.labels.months.april="April";this.labels.months.may="May";this.labels.months.june="June";this.labels.months.july="July";this.labels.months.august="August";this.labels.months.september="September";this.labels.months.october=
"October";this.labels.months.november="November";this.labels.months.december="December";this.labels.monthsShort={};this.labels.monthsShort.january="Jan";this.labels.monthsShort.february="Feb";this.labels.monthsShort.march="Mar";this.labels.monthsShort.april="Apr";this.labels.monthsShort.may="May";this.labels.monthsShort.june="Jun";this.labels.monthsShort.july="Jul";this.labels.monthsShort.august="Aug";this.labels.monthsShort.september="Sep";this.labels.monthsShort.october="Oct";this.labels.monthsShort.november=
"Nov";this.labels.monthsShort.december="Dec";this.labels.weekdays={};this.labels.weekdays.first="Sunday";this.labels.weekdays.second="Monday";this.labels.weekdays.third="Tuesday";this.labels.weekdays.fourth="Wednesday";this.labels.weekdays.fifth="Thursday";this.labels.weekdays.sixth="Friday";this.labels.weekdays.seventh="Saturday";this.labels.weekdaysShort={};this.labels.weekdaysShort.first="Sun";this.labels.weekdaysShort.second="Mon";this.labels.weekdaysShort.third="Tue";this.labels.weekdaysShort.fourth=
"Wed";this.labels.weekdaysShort.fifth="Thu";this.labels.weekdaysShort.sixth="Fri";this.labels.weekdaysShort.seventh="Sat";this.labels.toolbar={};this.labels.toolbar.connect="Connect";this.labels.toolbar.connect_local_csv="To local CSV";this.labels.toolbar.connect_local_ocsv="To local OCSV";this.labels.toolbar.connect_local_json="To local JSON";this.labels.toolbar.connect_remote_csv="To remote CSV";this.labels.toolbar.connect_remote_csv_mobile="CSV";this.labels.toolbar.connect_remote_json="To remote JSON";
this.labels.toolbar.connect_remote_json_mobile="JSON";this.labels.toolbar.connect_olap="To OLAP (XMLA)";this.labels.toolbar.connect_olap_mobile="OLAP";this.labels.toolbar.connect_elastic="To Elasticsearch";this.labels.toolbar.connect_elastic_mobile="Elastic";this.labels.toolbar.open="Open";this.labels.toolbar.local_report="Local report";this.labels.toolbar.remote_report="Remote report";this.labels.toolbar.remote_report_mobile="Report";this.labels.toolbar.save="Save";this.labels.toolbar.load_json=
"JSON report";this.labels.toolbar.grid="Grid";this.labels.toolbar.grid_flat="Flat";this.labels.toolbar.grid_classic="Classic";this.labels.toolbar.grid_compact="Compact";this.labels.toolbar.charts="Charts";this.labels.toolbar.charts_column="Column";this.labels.toolbar.charts_bar_horizontal="Bar";this.labels.toolbar.charts_line="Line";this.labels.toolbar.charts_scatter="Scatter";this.labels.toolbar.charts_pie="Pie";this.labels.toolbar.charts_stacked_column="Stacked column";this.labels.toolbar.charts_column_line=
"Column line";this.labels.toolbar.charts_multiple="Multiple values";this.labels.toolbar.charts_multiple_disabled="Mutltiple values do not apply to ";this.labels.toolbar.format="Format";this.labels.toolbar.format_cells="Format cells";this.labels.toolbar.format_cells_mobile="Format";this.labels.toolbar.conditional_formatting="Conditional formatting";this.labels.toolbar.conditional_formatting_mobile="Conditional";this.labels.toolbar.options="Options";this.labels.toolbar.fullscreen="Fullscreen";this.labels.toolbar.minimize=
"Minimize";this.labels.toolbar["export"]="Export";this.labels.toolbar.export_print="Print";this.labels.toolbar.export_html="To HTML";this.labels.toolbar.export_csv="To CSV";this.labels.toolbar.export_excel="To Excel";this.labels.toolbar.export_image="To Image";this.labels.toolbar.export_pdf="To PDF";this.labels.toolbar.fields="Fields";this.labels.toolbar.ok="OK";this.labels.toolbar.apply="Apply";this.labels.toolbar.done="Done";this.labels.toolbar.cancel="Cancel";this.labels.toolbar.value="Value";
this.labels.toolbar["delete"]="Delete";this.labels.toolbar["if"]="If";this.labels.toolbar.then="Then";this.labels.toolbar.open_remote_csv="Open remote CSV";this.labels.toolbar.open_remote_json="Open remote JSON";this.labels.toolbar.csv="CSV";this.labels.toolbar.olap_connection_tool="OLAP connection tool";this.labels.toolbar.select_data_source="Select data source";this.labels.toolbar.select_catalog="Select catalog";this.labels.toolbar.select_cube="Select cube";this.labels.toolbar.proxy_url="Proxy URL";
this.labels.toolbar.data_source_info="Data Source Info";this.labels.toolbar.catalog="Catalog";this.labels.toolbar.cube="Cube";this.labels.toolbar.credentials="credentials";this.labels.toolbar.username="Username";this.labels.toolbar.password="Password";this.labels.toolbar.connect_elastic_title="Connect to Elasticsearch";this.labels.toolbar.host_url="Host URL";this.labels.toolbar.index_name="Index";this.labels.toolbar.select_index="Select index";this.labels.toolbar.open_remote_report="Open remote report";
this.labels.toolbar.choose_value="Choose value";this.labels.toolbar.text_align="Text align";this.labels.toolbar.align_left="left";this.labels.toolbar.align_right="right";this.labels.toolbar.align_center="center";this.labels.toolbar.none="None";this.labels.toolbar.space="(Space)";this.labels.toolbar.thousand_separator="Thousand separator";this.labels.toolbar.decimal_separator="Decimal separator";this.labels.toolbar.decimal_places="Decimal places";this.labels.toolbar.currency_symbol="Currency symbol";
this.labels.toolbar.positive_currency_format="Positive currency format";this.labels.toolbar.negative_currency_format="Negative currency format";this.labels.toolbar.negative_number_format="Negative number format";this.labels.toolbar.currency_align="Currency align";this.labels.toolbar.null_value="Null value";this.labels.toolbar.is_percent="Format as percent";this.labels.toolbar.true_value="true";this.labels.toolbar.false_value="false";this.labels.toolbar.confirm_title="You have some unsaved changes";
this.labels.toolbar.confirm_message="Your formatting will not be applied. </br> Please confirm you want to switch value anyway.";this.labels.toolbar.conditional="Conditional";this.labels.toolbar.less_than="Less than";this.labels.toolbar.less_than_or_equal="Less than or equal to";this.labels.toolbar.greater_than="Greater than";this.labels.toolbar.greater_than_or_equal="Greater than or equal to";this.labels.toolbar.equal_to="Equal to";this.labels.toolbar.not_equal_to="Not equal to";this.labels.toolbar.between=
"Between";this.labels.toolbar.is_empty="Empty";this.labels.toolbar.all_values="All values";this.labels.toolbar.default_value="Default value";this.labels.toolbar.and="and";this.labels.toolbar.and_symbole="&";this.labels.toolbar.no_active_conditions="There are no active conditions.";this.labels.toolbar.add_condition_button="Add condition";this.labels.toolbar.cp_text="Text";this.labels.toolbar.cp_highlight="Highlight";this.labels.toolbar.layout_options="Layout options";this.labels.toolbar.layout="Layout";
this.labels.toolbar.compact_view="Compact form";this.labels.toolbar.classic_view="Classic form";this.labels.toolbar.flat_view="Flat form";this.labels.toolbar.grand_totals="Grand totals";this.labels.toolbar.grand_totals_off="Do not show grand totals";this.labels.toolbar.grand_totals_on="Show grand totals";this.labels.toolbar.grand_totals_on_rows="Show for rows only";this.labels.toolbar.grand_totals_on_columns="Show for columns only";this.labels.toolbar.subtotals="Subtotals";this.labels.toolbar.subtotals_off=
"Do not show subtotals";this.labels.toolbar.subtotals_on="Show subtotals";this.labels.toolbar.subtotals_on_rows="Show subtotal rows only";this.labels.toolbar.subtotals_on_columns="Show subtotal columns only";this.labels.toolbar.choose_page_orientation="Choose page orientation";this.labels.toolbar.landscape="Landscape";this.labels.toolbar.portrait="Portrait";this.labels.toolbar.tooltips={};this.labels.toolbar.tooltips.add_condition="Add condition";this.labels.toolbar.tooltips.remove_condition="Remove condition";
this.labels.toolbar.tooltips.cp_text_color="Text color"}merge(c){e.w(c)||(this.ada(c.labels,this.labels),this.Mc())}Qa(){return this.labels}static yb(c){var a=new f;a.labels=c;return a}ada(c,a){if(!e.w(c)&&!e.w(a)&&c instanceof Object)for(var b in c){var d=c[b];e.w(d)||"function"!==typeof d&&("string"===typeof d?a[b]=d:d instanceof Object&&this.ada(d,a[b]))}}Mc(){e.w(this.labels)||(e.w(this.labels.toolbar.charts_bar_stack)||(this.labels.toolbar.charts_stacked_column=this.labels.toolbar.charts_bar_stack,
delete this.labels.toolbar.charts_bar_stack),e.w(this.labels.toolbar.charts_bar_line)||(this.labels.toolbar.charts_column_line=this.labels.toolbar.charts_bar_line,delete this.labels.toolbar.charts_bar_line),e.w(this.labels.toolbar.charts_bar)||(this.labels.toolbar.charts_column=this.labels.toolbar.charts_bar,delete this.labels.toolbar.charts_bar),e.w(this.labels.toolbar.add_condition)||(e.w(this.labels.toolbar.tooltips)&&(this.labels.toolbar.tooltips={}),this.labels.toolbar.tooltips.add_condition=
this.labels.toolbar.add_condition,delete this.labels.toolbar.add_condition))}}h.EN=f})(k.C||(k.C={}))})(e.i||(e.i={}))})(u||(u={}));(function(e){(function(k){(function(h){class f{}f.vn="load";f.Lu="fail";f.Ls="cancel";h.Cj=f;class c extends r.da{constructor(b){super(f.vn);this.ab=b}}h.A6=c;class a extends r.da{constructor(b,d=""){super(f.Lu);this.errorMessage="";this.message=b;this.errorMessage=d}}h.eO=a})(k.ab||(k.ab={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends r.fh{constructor(){super();this.JSON="json";this.aa="xml";this.nta="report."}open(){this.vy=new h.mka;this.vy.N(h.Cj.vn,c=>this.wC(c));this.vy.N(h.Cj.Lu,c=>this.FL(c));this.vy.N(h.Cj.Ls,()=>this.EL());this.vy.load()}load(c,a){e.wa(!0,k.C.u.LD);this.gD=new h.vna;this.gD.N(h.Cj.vn,b=>this.wC(b));this.gD.N(h.Cj.Lu,b=>this.FL(b));this.gD.load(w.Vw.Ppa(c),a)}cancel(){this.vy&&(this.vy.fe(h.Cj.vn),this.vy.fe(h.Cj.Lu),this.vy=null);this.gD&&(this.gD.fe(h.Cj.vn),
this.gD.fe(h.Cj.Lu),this.gD=null);this.fe(h.Cj.vn);this.fe(h.Cj.Lu)}wC(c){this.Ga(new h.A6(c.ab))}FL(c){e.Wa(c.message+c.errorMessage,k.C.u.Ca,e.Bb.Ca);this.bb(h.Cj.Lu)}EL(){this.bb(h.Cj.Ls)}save(c,a=null,b,d,g=!1,l){this.j2=b;b=!1;let m="string"==typeof c?c:null,n=d,p=this.JSON;d=g;let q=null;c instanceof Object&&(c.hasOwnProperty("filename")&&(m=c.filename),c.hasOwnProperty("destination")&&(a=c.destination),c.hasOwnProperty("url")&&(n=c.url),c.hasOwnProperty("reportType")&&(p=c.reportType),c.hasOwnProperty("embedData")&&
(d=c.embedData),c.hasOwnProperty("requestHeaders")&&(q=c.requestHeaders));if(null==m||""==m)m=this.nta,m=p==this.aa?m+this.aa:m+this.JSON;l.ma.Fa!=e.v.j.sa.qh&&l.ma.Fa!=e.v.j.sa.aq||!(l.ma instanceof e.v.local.FN&&l.ma.Ld||l.ma instanceof e.v.local.csv.PD&&l.ma.Mj||d)||l.options.R("gridType")==e.K.Y.He.li||(c=new e.v.local.json.zN,l.ma=c,b=!0);a=null==a?h.zo.nN:a.toLowerCase();switch(a){case h.zo.KV:b?(new e.v.local.json.kV).getData(t=>{l.ma.data=t;this.xT(n,m,l,p,q)}):this.xT(n,m,l,p,q);break;case h.zo.Jz:b?
(new e.v.local.json.kV).getData(t=>{l.ma.data=t;this.lB(l.Qa())}):this.lB(l.Qa());break;default:b?(new e.v.local.json.kV).getData(t=>{l.ma.data=t;this.$L(m,l,p)}):this.$L(m,l,p)}}lB(c){if(null!=this.j2)try{this.j2(c)}catch(a){this.j2("Error! "+a)}}f$(c,a,b=!1){switch(c){case this.JSON:c=JSON.stringify(a.Qa(),null,4);break;case this.aa:c=y.aa.Bc(a.so(),!0);break;default:c=JSON.stringify(a.Qa(),null,4)}b&&(c=encodeURIComponent(c));return c}$L(c,a,b){var d=[this.f$(b,a)];try{var g=this;e.Wa(k.C.u.ela,
k.C.u.xo,e.Bb.xo,[k.C.u.N3,k.C.u.Ml],[function(){y.Aea(new Blob(d,{type:"text/js;charset=utf-8"}),c);g.lB(!0)},function(){g.lB(!1)}])}catch(l){e.Wa(k.C.u.TH,k.C.u.Ca,e.Bb.Ca),this.lB(!1)}}xT(c,a,b,d,g){e.ia(c)&&e.Wa("Report cannot be saved. Save report url is empty.",k.C.u.X6,e.Bb.Ca);var l=new y.una;l.data.name=a;l.data.report=this.f$(d,b,!0);l.data.type=d;var m=new y.Ej;m.data=l.toString();m.contentType=y.mz.Bga;m.Pq=y.Os.Ku;m.N(r.da.Dc,()=>this.rCa(m));m.N(r.da.Ca,()=>this.Tb(m));m.Xi(g);m.load(c);
e.wa(!0,k.C.u.d6)}rCa(c){e.wa(!1);this.lB(c.response)}Tb(c){e.wa(!1);this.lB(!1);c=k.Vb.valid(c.url)?c.url:k.Vb.Mc(c.url);e.Wa(k.C.u.TH+e.P.bind(' (<a href="{0}">{0}</a>)',c),k.C.u.Ca,e.Bb.Ca)}}h.qma=f})(k.ab||(k.ab={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){this.ez=!1;this.ma=new e.v.O.uz;this.slice=new h.Io;this.options=new k.B.bq;this.ie=[];this.Wc=[];this.$l=[];this.yw=new h.Ru;this.labels={};this.Ne=null;this.RJ=this.version=""}static yb(a){if(null==a)return null;a=f.Jl(a);var b=new f;b.ma=e.v.O.Ds.yb(a.connectionInfo?a.connectionInfo:a);b.options=k.B.bq.yb(a.options?a.options:a);b.slice=h.Io.yb(a.slice?a.slice:a,b.ma,b.options.R("gridType")==e.K.Y.He.li);null!=a.formats&&a.formats.length&&
(b.ie=a.formats);null!=a.conditions&&a.conditions.length&&(b.Wc=a.conditions);null!=a.customFields&&(b.$l=a.customFields);b.yw=h.Ru.yb(a.tableSizes);null!=a.localization&&(b.Ne=a.localization);null!=b.Ne&&null!=b.Ne.toolbar&&(null!=b.Ne.toolbar.charts_bar_stack&&(b.Ne.toolbar.charts_stacked_column=b.Ne.toolbar.charts_bar_stack,delete b.Ne.toolbar.charts_bar_stack),null!=b.Ne.toolbar.charts_bar_line&&(b.Ne.toolbar.charts_column_line=b.Ne.toolbar.charts_bar_line,delete b.Ne.toolbar.charts_bar_line),
null!=b.Ne.toolbar.charts_bar&&(b.Ne.toolbar.charts_column=b.Ne.toolbar.charts_bar,delete b.Ne.toolbar.charts_bar));null!=a.version&&0<a.version.length&&(b.version=a.version);null!=a.creationDate&&0<a.creationDate.length&&(b.RJ=a.creationDate);return b}static Pj(a){var b=new f;if(null==a)return b;b.ma=e.v.O.Ds.Pj(a);b.slice=h.Io.Pj(a);b.options=k.B.bq.Pj(a);b.ie=f.Kua(a.find("format"));b.Wc=f.lsa(a.find("conditions condition"));b.yw=h.Ru.Pj(a);b.$l=f.ata(a.find("customFields").children());b.labels=
f.Nya(a.find("labels"));b.Ne=f.kza(a.find("params"));return b}static ata(a){for(var b=[],d=0;d<a.length;d++){var g={};g.name=a[d].attr("name");g.value=a[d].attr("value");b.push(g)}return b}static Kua(a){for(var b=[],d=0;d<a.length;d++){var g=f.Hua(a[d]);b.push(g)}return b}static Hua(a){var b={};void 0!==a.attr("name")&&(b.name=a.attr("name"));0!=a.find("param[name=thousandsSeparator]").length&&(b.thousandsSeparator=a.find("param[name=thousandsSeparator]").text());0!=a.find("param[name=decimalSeparator]").length&&
(b.decimalSeparator=a.find("param[name=decimalSeparator]").text());0!=a.find("param[name=decimalPlaces]").length&&(b.decimalPlaces=parseInt(a.find("param[name=decimalPlaces]").text()));0!=a.find("param[name=maxDecimalPlaces]").length&&(b.maxDecimalPlaces=parseInt(a.find("param[name=maxDecimalPlaces]").text()));0!=a.find("param[name=maxSymbols]").length&&(b.maxSymbols=parseInt(a.find("param[name=maxSymbols]").text()));0!=a.find("param[name=currencySymbol]").length&&(b.currencySymbol=a.find("param[name=currencySymbol]").text());
0!=a.find("param[name=currencySymbolAlign]").length&&(b.currencySymbolAlign=a.find("param[name=currencySymbolAlign]").text());0!=a.find("param[name=nullValue]").length&&(b.nullValue=a.find("param[name=nullValue]").text());0!=a.find("param[name=infinityValue]").length&&(b.infinityValue=a.find("param[name=infinityValue]").text());0!=a.find("param[name=divideByZeroValue]").length&&(b.divideByZeroValue=a.find("param[name=divideByZeroValue]").text());0!=a.find("param[name=textAlign]").length&&(b.textAlign=
a.find("param[name=textAlign]").text());0!=a.find("param[name=isPercent]").length&&(b.isPercent=e.P.Rc(a.find("param[name=isPercent]").text()));return b}static Nya(a){var b={};if(0<a.length){for(var d=a.find("hierarchies").children(),g=0;g<d.length;g++){var l=d[g].attr("name");b[l]=d[g].text()}a=a.find("measures").children();for(g=0;g<a.length;g++)l=a[g].attr("name"),b[l]=a[g].text()}return b}static lsa(a){for(var b=[],d=0;d<a.length;d++){var g=f.ksa(a[d]);b.push(g)}return b}static ksa(a){var b={};
b.id=e.P.nK();for(var d=0;d<a.childNodes.length;d++)if(a.childNodes[d]instanceof CDATASection){b.formula=a.childNodes[d].textContent.trim();break}void 0!==a.attr("hierarchy")&&(b.hierarchy=a.attr("hierarchy"));void 0!==a.attr("measure")&&(b.measure=a.attr("measure"));void 0!==a.attr("member")&&(b.member=a.attr("member"));void 0!==a.attr("row")&&(b.row=a.attr("row"));void 0!==a.attr("column")&&(b.column=a.attr("column"));void 0!==a.attr("isTotal")&&(b.isTotal=e.P.Rc(a.attr("isTotal")));if(0!=a.find("trueStyle").length)try{b.format=
JSON.parse(a.find("trueStyle").text())}catch(g){b.format=a.find("trueStyle").text()}return b}static kza(a){if(0!=a.find("param[name=localization]").length)return a.find("param[name=localization]").text()}Vra(){for(var a=y.aa.create("<labels/>"),b=e.v.Sa.V().O,d,g=y.aa.create("<hierarchies/>"),l=b.rc(),m=0;m<l.length;m++){var n=l.ea(m);n.r_&&(d=y.aa.create("<label/>").text(n.label),d.attr("name",n.A),g.append(d))}0==g.ib()&&a.append(g);g=y.aa.create("<measures/>");b=b.Ea;for(m=0;m<b.length;m++)l=b.ea(m),
l.r_&&(d=y.aa.create("<label/>").text(l.label),d.attr("name",l.A),g.append(d));0==g.ib()&&a.append(g);return a}Cra(){for(var a=y.aa.create("<conditions/>"),b=0;b<this.Wc.length;b++){var d=this.Wc[b],g=y.aa.create("<condition/>");g.append(y.aa.th(d.formula));-1<d.row&&g.attr("row",d.row);-1<d.column&&g.attr("column",d.column);-1<d.isTotal&&g.attr("isTotal",1==d.isTotal?"true":"false");d.measure&&0<d.measure.length&&g.attr("measure",d.measure);d.hierarchy&&0<d.hierarchy.length&&g.attr("hierarchy",d.hierarchy);
d.member&&0<d.member.length&&g.attr("member",d.member);if(d.format&&!w.Jc.ag(d.format)){var l=y.aa.create("<trueStyle/>");l.append(y.aa.th(JSON.stringify(d.format)));g.append(l)}a.append(g)}return a}Pra(a){var b=y.aa.create("<format/>");b.attr("name",a.name);a.hasOwnProperty("decimalPlaces")&&b.append(y.aa.create("<param/>").attr("name","decimalPlaces").text(a.decimalPlaces));a.hasOwnProperty("maxDecimalPlaces")&&b.append(y.aa.create("<param/>").attr("name","maxDecimalPlaces").text(a.maxDecimalPlaces));
a.hasOwnProperty("maxSymbols")&&b.append(y.aa.create("<param/>").attr("name","maxSymbols").text(a.maxSymbols));a.hasOwnProperty("currencySymbolAlign")&&b.append(y.aa.create("<param/>").attr("name","currencySymbolAlign").text(a.currencySymbolAlign));a.hasOwnProperty("thousandsSeparator")&&b.append(y.aa.create("<param/>").attr("name","thousandsSeparator").append(y.aa.th(a.thousandsSeparator)));a.hasOwnProperty("decimalSeparator")&&b.append(y.aa.create("<param/>").attr("name","decimalSeparator").append(y.aa.th(a.decimalSeparator)));
a.hasOwnProperty("currencySymbol")&&b.append(y.aa.create("<param/>").attr("name","currencySymbol").append(y.aa.th(a.currencySymbol)));a.hasOwnProperty("nullValue")&&b.append(y.aa.create("<param/>").attr("name","nullValue").append(y.aa.th(a.nullValue)));a.hasOwnProperty("infinityValue")&&b.append(y.aa.create("<param/>").attr("name","infinityValue").append(y.aa.th(a.infinityValue)));a.hasOwnProperty("divideByZeroValue")&&b.append(y.aa.create("<param/>").attr("name","divideByZeroValue").append(y.aa.th(a.divideByZeroValue)));
a.hasOwnProperty("textAlign")&&b.append(y.aa.create("<param/>").attr("name","textAlign").text(a.textAlign));a.hasOwnProperty("isPercent")&&b.append(y.aa.create("<param/>").attr("name","isPercent").text(a.isPercent));return b}so(){var a=y.aa.create("<config/>"),b=this.ma.so(this.ez);0==b.ib()&&a.append(b);b=this.slice.so(this.ez);0==b.ib()&&a.append(b);b=this.yw.so();0==b.ib()&&a.append(b);b=this.Vra();0==b.ib()&&a.append(b);b=this.options.so();"string"==typeof this.Ne&&b.append(y.aa.create("<param/>").attr("name",
"localization").append(y.aa.th(this.Ne)));a.append(b);b=this.Cra();0==b.ib()&&a.append(b);if(null!=this.ie){b=!k.B.F.i2&&20<this.ie.length;for(var d=0;d<this.ie.length;d++){var g=this.ie[d];(""==g.name||this.slice.Wn.Sb(g.name)&&(!b||this.slice.Wn.getItem(g.name)))&&a.append(this.Pra(g))}}return a}Qa(){const a={};var b=this.ma.Qa(this.ez);w.Jc.ag(b)||(a.dataSource=b);b=this.slice.Qa(this.ez,this.ma.mapping);w.Jc.ag(b)||(a.slice=b);b=this.options.Qa();w.Jc.ag(b)||(a.options=b);b=this.Bra();0<b.length&&
(a.conditions=b);if(null!=this.ie&&0!=this.ie.length){b=[];const d=!k.B.F.i2&&20<this.ie.length;for(let g=0;g<this.ie.length;g++){const l=this.ie[g];(""==l.name||this.slice.Wn.Sb(l.name)&&(!d||this.slice.Wn.getItem(l.name)))&&b.push(l)}a.formats=b}b=this.yw.Qa(this.slice);w.Jc.ag(b)||(a.tableSizes=b);null!=this.$l&&0!=this.$l.length&&(a.customFields=this.$l);null!=this.Ne&&""!=this.Ne&&(a.localization=this.Ne);null!=this.version&&0<this.version.length&&(a.version=this.version);null!=this.RJ&&0<this.RJ.length&&
(a.creationDate=this.RJ);return a}Bra(){for(var a=[],b=0;b<this.Wc.length;b++){var d=this.Wc[b],g={};g.formula=d.formula;-1<d.row&&(g.row=d.row);-1<d.column&&(g.column=d.column);-1<d.isTotal&&(g.isTotal=1==d.isTotal?!0:!1);d.measure&&0<d.measure.length&&(g.measure=d.measure);d.hierarchy&&0<d.hierarchy.length&&(g.hierarchy=d.hierarchy);d.member&&0<d.member.length&&(g.member=d.member);d.format&&!w.Jc.ag(d.format)&&(g.format=d.format);a.push(g)}return a}static Jl(a){var b={};if(void 0==a)return b;null!=
a.customFields&&(b.customFields=a.customFields);null!=a.labels&&(b.labels=a.labels);null!=a.slice&&(a.options||(a.options={}),void 0==a.options.useOlapFormatting&&void 0!=a.slice.useOlapFormatting&&(a.options.useOlapFormatting=a.slice.useOlapFormatting),void 0==a.options.showMemberProperties&&void 0!=a.slice.showMemberProperties&&(a.options.showMemberProperties=a.slice.showMemberProperties));null!=a.dataSource&&(a.options||(a.options={}),void 0==a.options.useOlapFormatting&&void 0!=a.dataSource.useOlapFormatting&&
(a.options.useOlapFormatting=a.dataSource.useOlapFormatting),void 0==a.options.showMemberProperties&&void 0!=a.dataSource.showMemberProperties&&(a.options.showMemberProperties=a.dataSource.showMemberProperties),a.slice&&void 0==a.slice.memberProperties&&void 0!=a.dataSource.memberProperties&&(a.slice.memberProperties=a.dataSource.memberProperties));b.connectionInfo=e.v.O.Ds.Jl(a.connectionInfo?a.connectionInfo:a);b.slice=h.Io.Jl(a.slice?a.slice:a);b.options=k.B.bq.Jl(a.options?a.options:a);b.tableSizes=
h.Ru.Jl(a.tableSizes?a.tableSizes:a);null!=a.formats&&0<a.formats.length&&(b.formats=a.formats);null!=a.conditions&&0<a.conditions.length&&(b.conditions=a.conditions);null!=a.localization&&(b.localization=a.localization);null!=a.version&&0<a.version.length&&(b.version=a.version);null!=a.creationDate&&0<a.creationDate.length&&(b.creationDate=a.creationDate);return b}merge(a){if(e.w(a))return this;a=f.Jl(a);var b=f.Jl(this),d;for(d in a)a.hasOwnProperty(d)&&("connectionInfo"==d?e.v.O.Ds.yb(a.connectionInfo).ib||
(b[d]=a[d]):"options"==d?(this.options.rC(a[d]),b[d]=k.B.bq.Jl(this.options)):b[d]=a[d]);return f.yb(b)}get ib(){return e.w(this.ma)||this.ma.ib}}h.Rw=f;class c{}c.$l=[];h.kH=c})(k.ab||(k.ab={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends r.fh{l$(c){c?this.Ga(new h.A6(c)):this.Ga(new h.eO(k.C.u.X5))}Kda(c){try{var a=-1;if(-1<(a=c.indexOf("</config>"))){var b=y.aa.create(c.substring(0,a+9));return b?h.Rw.Pj(b):null}a=c.indexOf("/**----**");return JSON.parse(-1<a?c.substring(0,a):c)}catch(d){return console.error(d),null}}wR(c){var a=new e.br(new ArrayBuffer(0),0,e.br.eH);a.SGa(c);return a.byteLength}}h.B6=f})(k.ab||(k.ab={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(c){this.type=e.v.j.pb.NONE;this.Wba=!1;this.Ff=[];this.ik=[];this.iA=[];this.M7=this.jE=this.vE=!1;this.Fc=c}clear(){this.TA();this.kra()}TA(){this.type=e.v.j.pb.NONE;this.query=this.measure=null;this.iA=[]}kra(){this.Ff=[];this.ik=[];this.jE=this.vE=!1;this.uA=[];this.lP=!1}ij(c=!1){if(c)return this.vE&&(this.ik=[],0<this.Ff.length&&(this.ik=this.J9(this.Ff)),this.vE=!1),this.ik;this.jE&&(this.Ff=[],0<this.ik.length&&(this.Ff=this.J9(this.ik)),
this.jE=!1);return this.Ff}nFa(c,a=!1){a?(c.length+1===this.Fc.wh&&(c=[]),this.jE=!0,this.ik=c,this.Ff=[]):(c.length+1===this.Fc.wh&&(c=[]),this.vE=!0,this.Ff=c,this.ik=[])}get N_(){return 0<this.ik.length}get Xg(){return this.jj||this.Ch||this.ay||this.Vv||this.UK||this.MR}get jj(){return 0<this.Ff.length||0<this.ik.length}get gy(){return this.Ch||this.ay||this.Vv||this.UK||this.MR}get Ch(){return this.type===e.v.j.pb.xn}get ay(){return this.type===e.v.j.pb.Pa}get Vv(){return this.type===e.v.j.pb.dk}get UK(){return this.type===
e.v.j.pb.kb}get MR(){return this.type===e.v.j.pb.bc}get G_(){return this.M7}set G_(c){this.M7=c}clone(){var c=new f(this.Fc);c.type=this.type;c.measure=this.measure;c.query=w.Jc.Ni(this.query);e.w(this.Ff)||(c.Ff=this.Ff.slice());c.vE=this.vE;e.w(this.ik)||(c.ik=this.ik.slice());c.jE=this.jE;e.w(this.uA)||(c.uA=this.uA.slice());c.lP=this.lP;return c}Qa(){var c={};this.jj&&(this.G_?this.N_?c.exclude=this.Fc.Rr(this.ij(!0)):c.members=this.Fc.Rr(this.ij()):this.ij().length<this.Fc.wh/2?c.members=this.Fc.Rr(this.ij()):
c.exclude=this.Fc.Rr(this.ij(!0)));!e.w(this.measure)&&this.Ch&&(c.measure=this.measure.Qa());!e.w(this.query)&&this.gy&&(c.query=this.query.Qa());0<this.iA.length&&this.gy&&(c.include=this.Fc.Rr(this.iA));return c}static yb(c,a,b=!1){if(e.w(c))return null;f.zqa(c);var d=new f(a);d.G_=b;d.type=f.tta(c,a);d.type==e.v.j.pb.xn?f.DDa(c,d):d.type==e.v.j.pb.Pa?f.eDa(c,d):d.type==e.v.j.pb.dk?f.pDa(c,d):d.type==e.v.j.pb.kb?f.wDa(c,d):d.type==e.v.j.pb.bc&&f.BDa(c,d);f.vDa(c,d,a);!e.w(c.include)&&d.gy&&(d.iA=
f.J1(c.include,a));return d}static zqa(c){if("top"==c.type||"bottom"==c.type)c.query={[c.type]:c.quantity},c.type=e.v.j.pb.xn,delete c.quantity;!e.w(c.members)&&c.negation&&(c.exclude=c.members,delete c.members,delete c.negation)}static tta(c,a){return e.w(c.type)?e.w(c.query)?e.v.j.pb.NONE:e.w(c.measure)?f.lR(a):e.v.j.pb.xn:e.v.j.pb.Mc(c.type)}static J1(c,a){if(e.w(c))return null;for(var b=[],d=0;d<c.length;d++)if("number"==typeof c[d]&&-1<c[d])b.push(c[d]);else{var g="string"==typeof c[d]?c[d]:
c[d].uniqueName;g=e.v.Se.xy(g);g=a.Xx(g);-1<g&&b.push(g)}return b}static lR(c){if(e.v.Sa.V().ha.Qc&&e.v.Sa.V().ha.Fa!==e.v.j.sa.Nc&&e.v.Sa.V().ha.Fa!==e.v.j.sa.API&&e.v.Sa.V().ha.Fa!==e.v.j.sa.Af)return e.v.j.pb.NONE;if(e.v.Sa.V().ha.Fa===e.v.j.sa.API||e.v.Sa.V().ha.Fa===e.v.j.sa.Af)return c.type===e.v.j.Ic.$p?e.v.j.pb.kb:c.type===e.v.j.Ic.Pa?e.v.j.pb.Pa:e.v.j.pb.dk;var a=c.ta.ea(1).type;return c.type===e.v.j.Ic.Pa?2!=c.ta.length||a!==e.v.j.rb.bl&&a!==e.v.j.rb.Ag&&a!==e.v.j.rb.Jm?e.v.j.pb.Pa:e.v.j.pb.NONE:
a===e.v.j.rb.Sc||e.v.Sa.V().ha.Qc?e.v.j.pb.dk:a===e.v.j.rb.kb?e.v.j.pb.kb:a===e.v.j.rb.bc?e.v.j.pb.bc:e.v.j.pb.NONE}static vDa(c,a,b){var d=c.members||c.exclude;if(!e.w(d)){var g=[],l=[];c=e.w(c.members);for(var m=0;m<d.length;m++)if("number"==typeof d[m]&&-1<d[m])g.push(d[m]);else{var n="string"===typeof d[m]?d[m]:d[m].A;n=e.v.Se.xy(n);l.push(n);if(b.type!==e.v.j.Ic.Pa||b.ta.ea(1).type!==e.v.j.rb.Pa&&b.ta.ea(1).type!==e.v.j.rb.Cc)var p=b.Xx(n);else{if(k.B.F.Aq&&"null"===n)p=null;else if(8>n.length||
/\D+/.test(n.slice(1))){p=b.mapping.Ha(b.A,"format",b.ta.ea(1).type===e.v.j.rb.Cc?k.B.F.Wo:k.B.F.Pn);const q=new e.Uf(n,{mv:!1,format:p});q.Zi(w.Lh.mf(p));p=q.getTime()}else p=parseInt(n);p=b.Mv(p);p=null===p?-1:p.ordinal}-1===p&&!e.w(n)&&0<n.indexOf(".")&&(n=n.substr(n.lastIndexOf(".")+1),p=b.Xx(n));-1<p?g.push(p):(b.Nd=!1,console.warn("Error in predefined filter or members have not been loaded yet: "+n))}e.v.Sa.V().ha.Qc&&(a.yG=c,a.Bl=l.length>g.length?l:[]);a.nFa(g,c)}}static DDa(c,a){a.query=
h.Vk.yb(c.query,e.v.j.pb.xn);a.measure="string"==typeof c.measure?new h.Bg(e.v.Se.pg(c.measure)):h.Bg.yb(c.measure);if(e.w(a.query)||e.w(a.measure))a.type=e.v.j.pb.NONE,a.measure=null}static eDa(c,a){a.query=h.Vk.yb(c.query,e.v.j.pb.Pa);e.w(a.query)&&(a.type=e.v.j.pb.NONE)}static pDa(c,a){a.query=h.Vk.yb(c.query,e.v.j.pb.dk);e.w(a.query)&&(a.type=e.v.j.pb.NONE)}static wDa(c,a){a.query=h.Vk.yb(c.query,e.v.j.pb.kb);e.w(a.query)&&(a.type=e.v.j.pb.NONE)}static BDa(c,a){a.query=h.Vk.yb(c.query,e.v.j.pb.bc);
e.w(a.query)&&(a.type=e.v.j.pb.NONE)}J9(c){const a=new e.FD;for(var b=1;b<this.Fc.sm;b++)a.add(b);for(b=0;b<c.length;b++){const d=this.Fc.ya(c[b]);a.delete(d.ordinal);this.qT(a,d);this.lea(a,d.parent)}this.h9(a,this.Fc.Cd);this.Fc.Tr&&this.cEa(a);return a.Lc()}cEa(c){for(let a=c.size-1;0<=a;a--){const b=this.Fc.ya(c[a]);b.parent||c.delete(b.ordinal)}}h9(c,a){for(let b=0;b<a.children.length;b++){const d=this.Fc.ya(a.children[b]);0<d.children.length&&(c.has(d.ordinal)?c.has(d.children[0])&&this.qT(c,
d):this.h9(c,d))}}qT(c,a){if(a){a=a.children;for(var b=0;b<a.length;b++)c.delete(a[b]),this.qT(c,this.Fc.ya(a[b]))}}lea(c,a){a&&!a.Rb&&(c.delete(a.ordinal),a.parent&&this.lea(c,a.parent))}uua(){var c=null;this.ay&&(c=this.rua(this.query));this.Vv&&(c=this.xua(this.query));this.UK&&(c=this.vua(this.query));this.MR&&(c=this.yua(this.query));if(!e.w(c)&&0<this.iA.length)for(var a=0;a<this.iA.length;a++)c.add(this.iA[a]);if(!e.w(c)&&0<this.ik.length)for(a=0;a<this.ik.length;a++)c.delete(this.ik[a]),this.qT(c,
this.Fc.ya(this.ik[a]));return c.Lc()}rua(c){c=c.x9();var a=new e.FD,b=0<this.Ff.length,d=2<this.Fc.ta.length,g=b?this.Ff:null;b&&d&&(g=this.Waa(g));for(var l=b?g.length:this.Fc.wh,m=0;m<l;m++){var n=b?g[m]:m;if(d){var p=this.Fc.ya(n);if(p.level.type===e.v.j.rb.bl||p.level.type===e.v.j.rb.Js||p.level.type===e.v.j.rb.Ag)continue}c.va===e.v.j.Cb.kn?this.w0(this.Fc.NB(n).toLowerCase(),c)&&a.add(n):this.Aza(this.Fc.nR(n),c)&&a.add(n)}return a}xua(c){var a=new e.FD,b=this.Fc.ec?this.Fc.ec.xb:1,d=0<this.Ff.length,
g=2<this.Fc.ta.length,l=d?this.Ff:null;d&&g&&(l=this.Waa(l));for(var m=d?l.length:this.Fc.wh,n=0;n<m;n++){var p=d?l[n]:n;1<b&&g&&this.Fc.ya(d?l[n]:n).level.xb<b||this.w0(this.Fc.NB(p).toLowerCase(),c)&&a.add(p)}return a}vua(c){for(var a=new e.FD,b=0<this.Ff.length,d=b?this.Ff:null,g=b?d.length:this.Fc.wh,l=0;l<g;l++){var m=b?d[l]:l;this.AS(this.Fc.nR(m),c)&&a.add(m)}return a}yua(c){c=c.osa();for(var a=new e.FD,b=0<this.Ff.length,d=b?this.Ff:null,g=b?d.length:this.Fc.wh,l=0;l<g;l++){var m=b?d[l]:l;
c.va==e.v.j.Cb.kn?this.w0(this.Fc.NB(m).toLowerCase(),c)&&a.add(m):this.AS(this.Fc.nR(m),c)&&a.add(m)}return a}w0(c,a){if(e.w(a.value))return!1;if(a.va===e.v.j.Cb.EQUAL)return c===a.value.toLowerCase();if(a.va===e.v.j.Cb.Cf)return c!==a.value.toLowerCase();if(a.va===e.v.j.Cb.pD)return 0==c.indexOf(a.value.toLowerCase());if(a.va===e.v.j.Cb.Dz)return 0!=c.indexOf(a.value.toLowerCase());if(a.va===e.v.j.Cb.pz){var b=c.lastIndexOf(a.value.toLowerCase());return 0<=b&&b+a.value.length==c.length}if(a.va===
e.v.j.Cb.Fz)return b=c.lastIndexOf(a.value.toLowerCase()),0>b||b+a.value.length!=c.length;if(a.va===e.v.j.Cb.kn)return b=c.indexOf(a.value.toLowerCase()),0<=b;if(a.va===e.v.j.Cb.Ez)return b=c.indexOf(a.value.toLowerCase()),0>b;if(a.va===e.v.j.Cb.GREATER)return c>a.value.toLowerCase();if(a.va===e.v.j.Cb.Wk)return c>=a.value.toLowerCase();if(a.va===e.v.j.Cb.LESS)return c<a.value.toLowerCase();if(a.va===e.v.j.Cb.Xk)return c<=a.value.toLowerCase();if(a.va===e.v.j.Cb.Kg)return b=a.value[0].toLowerCase(),
a=a.value[1].toLowerCase(),b<a?c>=b&&c<=a:c>=a&&c<=b;if(a.va===e.v.j.Cb.Cg)return b=a.value[0].toLowerCase(),a=a.value[1].toLowerCase(),b<a?c<b||c>a:c<a||c>b}AS(c,a){if(e.w(a.value))return!1;if(a.va===e.v.j.jg.EQUAL)return c===a.value;if(a.va===e.v.j.jg.Cf)return c!==a.value;if(a.va===e.v.j.jg.GREATER)return c>a.value;if(a.va===e.v.j.jg.Wk)return c>=a.value;if(a.va===e.v.j.jg.LESS)return c<a.value;if(a.va===e.v.j.jg.Xk)return c<=a.value;if(a.va===e.v.j.jg.Kg){var b=Math.min(a.value[0],a.value[1]);
a=Math.max(a.value[0],a.value[1]);return c>=b&&c<=a}if(a.va===e.v.j.jg.Cg)return b=Math.min(a.value[0],a.value[1]),a=Math.max(a.value[0],a.value[1]),c<b||c>a}Aza(c,a){if(e.w(a.value))return!1;if(a.va===e.v.j.Ob.nD){var b=a.value.getTime();return c<b}if(a.va===e.v.j.Ob.oD)return b=a.value.getTime(),c<b+864E5;if(a.va===e.v.j.Ob.kD)return b=a.value.getTime(),c>=b+864E5;if(a.va===e.v.j.Ob.lD)return b=a.value.getTime(),c>=b;if(a.va===e.v.j.Ob.Kg)return b=Math.min(a.value[0].getTime(),a.value[1].getTime()),
a=Math.max(a.value[0].getTime(),a.value[1].getTime()),c>=b&&c<=a;if(a.va===e.v.j.Ob.Cg)return b=Math.min(a.value[0].getTime(),a.value[1].getTime()),a=Math.max(a.value[0].getTime(),a.value[1].getTime()),c<b||c>a}set Bl(c){this.uA=c}get Bl(){null==this.uA&&(this.uA=[]);return this.uA}get yG(){return this.lP}set yG(c){this.lP=c}vv(){if(0<this.Bl.length){for(var c,a=0;a<this.Bl.length;a++){if(this.Fc.type!==e.v.j.Ic.Pa||this.Fc.ta.ea(1).type!==e.v.j.rb.Pa&&this.Fc.ta.ea(1).type!==e.v.j.rb.Cc)c=this.Fc.Yb(this.Bl[a]);
else{if(k.B.F.Aq&&"null"===this.Bl[a])c=null;else if(8>this.Bl[a].length||/\D+/.test(this.Bl[a].slice(1))){c=this.Fc.mapping.Ha(this.Fc.A,"format",this.Fc.ta.ea(1).type===e.v.j.rb.Cc?k.B.F.Wo:k.B.F.Pn);const b=new e.Uf(this.Bl[a],{mv:!1,format:c});b.Zi(w.Lh.mf(c));c=b.getTime()}else c=parseInt(this.Bl[a]);c=this.Fc.Mv(c)}null!=c&&(this.yG?this.ik.push(c.ordinal):this.Ff.push(c.ordinal))}this.Bl=[]}}Waa(c){for(var a=[],b=0;b<c.length;b++)a.push(c[b]),this.eea(a,this.Fc.ya(c[b]));return a}eea(c,a){if(a&&
a.children&&0<a.children.length){a=a.children;for(var b=0;b<a.length;b++)c.push(a[b]),this.eea(c,this.Fc.ya(a[b]))}}}h.wz=f})(k.ab||(k.ab={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(c=null,a=null){this.va=c;this.value=a}clone(){return new f(this.va,this.value)}static yb(c,a){if(e.w(c))return null;let b=null;a==e.v.j.pb.xn?(e.v.j.pc.Nh.some(d=>{if(!e.w(c[d]))return b=new f(d,parseFloat(c[d])),!0}),e.v.j.pc.ff.some(d=>{if(!e.w(c[d]))return b=new f(d,[parseFloat(c[d][0]),parseFloat(c[d][1])]),!0})):a==e.v.j.pb.Pa?(e.v.j.Ob.Nh.some(d=>{if(!e.w(c[d])){var g=new e.Uf(c[d]);g.Zi(k.B.F.JB(),!1);b=new f(d,g);return!0}}),e.v.j.Ob.ff.some(d=>
{if(!e.w(c[d])){const g=new e.Uf(c[d][0]);g.Zi(k.B.F.JB(),!1);const l=new e.Uf(c[d][1]);l.Zi(k.B.F.JB(),!1);if(g&&l)return b=new f(d,g.getTime()<l.getTime()?[g,l]:[l,g]),b.value[1]=b.value[1].tM("day",k.B.F.Vn),!0}}),e.v.j.Ob.Iz.some(d=>{if(e.v.j.Iw.dg(c[d]))return b=new f(d,c[d].toLowerCase()),!0}),e.w(c[e.v.j.Cb.kn])||(b=new f(e.v.j.Cb.kn,c[e.v.j.Cb.kn]))):a==e.v.j.pb.dk?(e.v.j.Cb.Nh.some(d=>{if(!e.w(c[d]))return b=new f(d,c[d]),!0}),e.v.j.Cb.ff.some(d=>{if(!e.w(c[d]))return b=new f(d,[c[d][0],
c[d][1]]),!0})):a==e.v.j.pb.kb?(e.v.j.jg.Nh.some(d=>{if(!e.w(c[d]))return b=new f(d,parseFloat(c[d])),!0}),e.v.j.jg.ff.some(d=>{if(!e.w(c[d]))return b=new f(d,[parseFloat(c[d][0]),parseFloat(c[d][1])]),!0})):a==e.v.j.pb.bc&&(e.v.j.fk.Nh.some(d=>{if(!e.w(c[d]))return b=new f(d,c[d]),!0}),e.v.j.fk.ff.some(d=>{if(!e.w(c[d]))return b=new f(d,[c[d][0],c[d][1]]),!0}),e.w(c[e.v.j.Cb.kn])||(b=new f(e.v.j.Cb.kn,c[e.v.j.Cb.kn])));return b}Qa(){let c=this.value;c instanceof e.Uf&&(c=c.format("yyyy-MM-dd"));
Array.isArray(c)&&c[0]instanceof e.Uf&&(c=[c[0].format("yyyy-MM-dd"),c[1].format("yyyy-MM-dd")]);return{[this.va]:c}}x9(){if(this.va==e.v.j.Ob.EQUAL||this.va==e.v.j.Ob.Cf){var c=this.value.clone().Uq(),a=this.value.clone().dU();return new f(this.va==e.v.j.Ob.Cf?e.v.j.Ob.Cg:e.v.j.Ob.Kg,[c,a])}return 0<=e.v.j.Ob.Iz.indexOf(this.va)&&e.v.j.Iw.dg(this.value)?(c=(new e.Uf).Zi(k.B.F.JB()),this.va==e.v.j.Ob.jH?c.PG(this.value,k.B.F.Vn):this.va==e.v.j.Ob.ZH?(c.tM(this.value,k.B.F.Vn),c.setMilliseconds(1E3)):
this.va==e.v.j.Ob.NH&&(c.PG(this.value,k.B.F.Vn),c.setMilliseconds(-1),c.PG(this.value,k.B.F.Vn)),a=c.clone().tM(this.value,k.B.F.Vn),new f(e.v.j.Ob.Kg,[c,a])):this}osa(){return 0<=e.v.j.fk.Nh.indexOf(this.va)?new f(this.va,this.uM(this.value)):0<=e.v.j.fk.ff.indexOf(this.va)?new f(this.va,[this.uM(this.value[0]),this.uM(this.value[1])]):this}uM(c){const a=c.match(/[s|m|h|d]$/);if(!e.w(a)){const b=parseFloat(c.substr(0,c.length-1));if("s"==a[0])return b;if("m"==a[0])return 60*b;if("h"==a[0])return 3600*
b;if("d"==a[0])return 86400*b}return parseInt(c)}}h.Vk=f})(k.ab||(k.ab={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends h.B6{constructor(){super();this.eZ="\x3c!--";this.A$="/**----**"}load(c,a){this.url=c;this.na=new y.Ej;this.na.dataType=y.nz.Qz;this.na.N(r.da.ge,b=>this.yp(b));this.na.N(r.da.Dc,()=>this.gi());this.na.N(r.da.Ca,()=>this.Tb());this.na.Xi(a);this.na.load(c)}yp(){var c=0;null!=this.na&&-1<(c=this.na.response.indexOf("</config>"))&&c+this.A$.length+1<this.na.response.length&&this.gi()}gi(){if(null!=this.na){this.na.fe(r.da.Dc);var c=this.Kda(this.na.response);
if(c instanceof h.Rw){if(c.ma instanceof e.v.local.csv.PD&&1==c.ma.Mj){var a=c.ma;a.filename=this.na.url;a.embeddedDataOffset=this.wR(this.na.response.substring(0,this.na.response.indexOf("</config>")+9)+"\n");var b=this.na.response.indexOf(this.eZ);a.isOCSV2Data=this.na.response.substring(b,b+this.eZ.length)==this.eZ;c.ma=a}}else e.w(c)||e.w(c.dataSource)?k.B.F.t3&&this.Tb(k.C.u.Y5):1==c.dataSource.embedded&&(c.dataSource.filename=this.na.url,c.dataSource.embeddedDataOffset=this.wR(this.na.response.substring(0,
this.na.response.indexOf(this.A$))),c.dataSource.isOCSV2Data=!0);this.l$(c);this.dispose()}}Tb(c=""){this.na.fe(r.da.ge);this.na.fe(r.da.Dc);this.na.fe(r.da.Ca);if(e.ia(c)){var a="";null!=this.na&&null!=this.na.response&&""!=this.na.response&&(a=k.Vb.Mc(this.na.response),a=700<a.length?a.substr(0,700):a,a=e.P.bind(k.C.u.PN,a).replace(/'/g,""));c=k.Vb.valid(this.url)?this.url:k.Vb.Mc(this.url);c=e.P.bind(k.C.u.VH,c);this.Ga(new h.eO(c,a))}else this.Ga(new h.eO(c));this.dispose()}dispose(){null!=this.na&&
(this.na.fe(),this.na.dispose(),this.na=null)}}h.vna=f})(k.ab||(k.ab={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends h.B6{constructor(){super()}load(){this.file=new y.q5;this.file.N(r.da.eq,()=>this.yCa());this.file.N(r.da.Dc,()=>this.gi());this.file.N(r.da.wU,()=>this.HS());this.file.N(r.da.Ca,()=>this.Tb());this.file.Z8([".json",".js",".xml"])}yCa(){null!=this.file&&this.file.load(y.pma.ARRAY_BUFFER)}gi(){try{var c=new e.br(this.file.response,0,e.br.eH),a=c.lT(c.byteLength),b=this.Kda(a);if(b instanceof h.Rw){if(b.ma instanceof e.v.local.csv.PD&&1==b.ma.Mj){var d=
b.ma;d.B$=this.file.response;d.dZ=this.wR(a.substring(0,a.indexOf("</config>")+9)+"\n");b.ma=d}}else e.w(b)||e.w(b.dataSource)?k.B.F.t3&&this.Tb(k.C.u.Y5):1==b.dataSource.Mj&&(b.dataSource.embeddedDataToLoad=this.file.response,b.dataSource.embeddedDataOffset=this.wR(a.substring(0,a.indexOf("/**----**"))));this.l$(b);this.dispose()}catch(g){console.error(g),this.Tb()}}Tb(c=""){e.ia(c)&&(c=e.P.bind(k.C.u.VH,""));this.Ga(new h.eO(c));this.dispose()}HS(){this.bb(h.Cj.Ls);this.dispose()}dispose(){null!=
this.file&&(this.file.fe(),this.file.dispose(),this.file=null)}}h.mka=f})(k.ab||(k.ab={}))})(e.i||(e.i={}))})(u||(u={}));(function(e){(function(k){(function(h){class f{static bz(c){return c==f.nN||c==f.KV||c==f.K3||c==f.Jz}}f.nN="file";f.KV="server";f.K3="binary";f.Jz="plain";h.zo=f})(k.ab||(k.ab={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(a,b,d){this.Fj=this.A="";this.index=-1;this.label="";void 0!=a&&(this.A=a);void 0!=b&&(this.fa=b);void 0!=d&&(this.index=d)}get fa(){return this.Fj}set fa(a){e.v.j.ca.bz(a)&&(this.Fj=a)}static yb(a){if(null==a)return null;var b=new f;void 0!=a.uniqueName&&(b.A=a.uniqueName);void 0!=a.aggregation&&(b.fa=a.aggregation);void 0!=a.index&&(b.index=a.index);void 0!=a.label&&(b.label=a.label);return b}Qa(){var a={};a.uniqueName=this.A;""!==this.fa&&
(a.aggregation=this.fa);return a}}h.Bg=f;class c{constructor(){this.rows=[];this.Ka=[];this.lb=[];this.Ea=[];this.tj={};this.hj={};this.Kv=[];this.Jv=[];this.Gv=[];this.Fv=[];this.cd=this.Gc=!1;this.Gg=[];this.Wh=null;this.Uc=[];this.nj=[];this.Wn=new e.wb}static bda(a){if(0<=c.qd(a.rows)){var b=c.qd(a.Ka);0<=b&&(a.Ka[b]=a.Ka[0],a.Ka.shift())}}static qd(a){for(var b=0;b<a.length;b++)if("[Measures]"==a[b].uniqueName)return b;return-1}static kT(a){for(var b=[],d,g=0;g<a.length;g++){d=[];d.push(null!=
a[g].measure?a[g].measure:"");if(null!=a[g].tuple)for(var l=0;l<a[g].tuple.length;l++)d.push(a[g].tuple[l]);b.push(d)}return b}static jT(a){for(var b=[],d,g=0;g<a.length;g++){d=[];d.push(null!=a[g].level?a[g].level:"");d.push(null!=a[g].measure?a[g].measure:-1);if(null!=a[g].tuple){d.push(a[g].tuple[a[g].tuple.length-1]);for(var l=0;l<a[g].tuple.length;l++)d.push(a[g].tuple[l])}b.push(d)}return b}static TP(a,b){if(!e.w(b)&&!b.ib)for(let g=0;g<a.length;g++){var d=a[g].uniqueName;let l=b.Ha(d,"caption");
e.w(l)||delete a[g].caption;d=b.Ha(d,"aggregations");e.w(d)||delete a[g].availableAggregations}}static yb(a,b=null){if(null==a)return null;a instanceof c||(a=c.Jl(a));var d=new c;null!=a.measures&&a.measures.length&&(d.Ea=a.measures);null==b&&(b=k.Ua.V().Ja.ha);null!=a.pages&&a.pages.length&&(d.lb=c.u_(a.pages));null!=a.columns&&a.columns.length&&(d.Ka=c.u_(a.columns));null!=a.rows&&a.rows.length&&(d.rows=c.u_(a.rows));null!=a.flatOrder&&a.flatOrder.length&&(d.Gg=a.flatOrder);null!=a.flatSort&&a.flatSort.length&&
(d.Wh=a.flatSort);null!=a.drillThrough&&a.drillThrough.length&&(d.Uc=a.drillThrough);if(void 0!==a.memberProperties&&Array.isArray(a.memberProperties))for(let g=0;g<a.memberProperties.length;g++){const l=a.memberProperties[g];null!=l&&(e.w(d.nj)&&(d.nj={}),d.nj[l.levelName]=l.properties)}c.bda(d);c.TP(d.Ea,b.mapping);c.TP(d.lb,b.mapping);c.TP(d.Ka,b.mapping);c.TP(d.rows,b.mapping);null!=a.rowSorting&&(d.tj=a.rowSorting);null!=a.columnSorting&&(d.hj=a.columnSorting);null!=a.expandAll&&(d.Gc=a.expandAll);
null!=a.expandedRows&&a.expandedRows.length&&(d.Kv=a.expandedRows);null!=a.expandedColumns&&a.expandedColumns.length&&(d.Jv=a.expandedColumns);null!=a.drillAll&&(d.cd=a.drillAll);null!=a.drilledRows&&a.drilledRows.length&&(d.Gv=a.drilledRows);null!=a.drilledColumns&&a.drilledColumns.length&&(d.Fv=a.drilledColumns);return d}static u_(a){for(var b=[],d=0;d<a.length;d++){b[d]={};for(var g in a[d])"sort"==g?b[d].sortName=a[d].sort:b[d][g]=a[d][g]}return b}static Pj(a){var b=new c,d=a.find("defaultSlice axes axis[name=rows]");
b.rows=c.v_(d.find("hierarchy"));b.tj=c.zfa(d.find("sort"));b.Kv=c.J$(d.find("expanded tuple"));b.Gv=c.w$(d.find("drilled tuple"));d=a.find("defaultSlice axes axis[name=columns]");b.Ka=c.v_(d.find("hierarchy"));b.hj=c.zfa(d.find("sort"));b.Jv=c.J$(d.find("expanded tuple"));b.Fv=c.w$(d.find("drilled tuple"));c.bda(b);d=a.find("defaultSlice axes axis[name=pages]");b.lb=c.v_(d.find("hierarchy"));b.Ea=c.zza(a.find("defaultSlice measures measure"));b.Gg=c.Gua(a.find("defaultSlice flatOrder hierarchyName"));
d=a.find("params");0!=d.find("param[name=expandAll]").length&&(b.Gc=e.P.Rc(d.find("param[name=expandAll]").text()));0!=d.find("param[name=drillAll]").length&&(b.cd=e.P.Rc(d.find("param[name=drillAll]").text()));a=a.find("defaultSlice");0!=a.find("expandAll").length&&(b.Gc=e.P.Rc(a.find("expandAll").text()));0!=a.find("drillAll").length&&(b.cd=e.P.Rc(a.find("drillAll").text()));return b}static v_(a){for(var b=[],d=0;d<a.length;d++){var g=c.vxa(a[d]);b.push(g)}return b}static vxa(a){var b={};b.dimensionName=
a.find("dimensionName").text().trim();b.uniqueName=a.find("hierarchyName").text().trim();0<a.find("levelName").length&&(b.activeLevelName=a.find("levelName").text().trim());void 0!==a.attr("sort")&&(b.sortName=a.attr("sort"));void 0!==a.attr("sortAs")&&(b.sortAs=a.attr("sortAs"));var d=a.find("filter");if(0<d.length){for(var g=[],l=d.find("member"),m=0;m<l.length;m++){var n=l[m].text().trim();g.push(n)}m=void 0!==d.attr("negation")?e.P.Rc(d.attr("negation")):!1;l=void 0!==d.attr("type")?d.attr("type"):
e.v.j.pb.NONE;n=void 0!==d.attr("quantity")?parseInt(d.attr("quantity")):-1;var p=void 0!==d.attr("measure")?d.attr("measure"):"";if(l!=e.v.j.pb.NONE||0<g.length)b.filter={};0<g.length&&(b.filter.members=g,b.filter.negation=m);l!=e.v.j.pb.NONE&&(b.filter.type=l,b.filter.quantity=n,b.filter.measure=p)}m=d.find("properties");if(0<m.length)for(d=m.find("property"),b.predefinedProperties=[],m=0;m<d.length;m++)g=d[m].find("propertyName").text(),l=d[m].find("levelName").text(),null==b.predefinedProperties[l]&&
(b.predefinedProperties[l]=[]),b.predefinedProperties[l].push(g);d=[];l=a.find("sort member");for(m=0;m<l.length;m++)d.push(l[m].text());b.customSorting=d;void 0!==a.attr("filterEnabled")&&(b.filterEnabled="false"!=a.attr("filterEnabled"));d={};a=a.find("group");for(m=0;m<a.length;m++)for(g=a[m].attr("name"),d[g]=[],l=a[m].find("member"),n=0;n<l.length;n++)d[g].push(l[m].text());b.groups=d;return b}static zfa(a){var b={};0<a.length&&(b.type=a.text(),b.tuple=void 0!==a.attr("tuple")?a.attr("tuple").split(","):
[],b.measure=new f(a.attr("measure")),void 0!==a.attr("measureAggregation")&&(b.measure.fa=a.attr("measureAggregation")));return b}static J$(a){var b=[];if(0<a.length)for(var d=0;d<a.length;d++){var g=a[d],l=g.text().split(",");if(isNaN(parseInt(l[0]))){var m=void 0!==g.attr("measure")?new f(g.attr("measure")):null;void 0!==g.attr("measureAggregation")&&(m.fa=g.attr("measureAggregation"));l.unshift(m)}else m=void 0!==g.attr("measure")?parseInt(g.attr("measure")):-1,isNaN(m)&&(m=-1),l.unshift(m);b.push(l)}return b}static w$(a){var b=
[];if(0<a.length)for(var d=0;d<a.length;d++){var g=a[d],l=c.gGa(g.text().split(","));var m=-1;void 0!==g.attr("memberName")?m=g.attr("memberName"):void 0!==g.attr("member")&&(m=parseInt(g.attr("member")));l.unshift(m);isNaN(parseInt(l[0]))?(m=void 0!==g.attr("measure")?new f(g.attr("measure")):null,void 0!==g.attr("measureAggregation")&&(m.fa=g.attr("measureAggregation")),l.unshift(m)):(m=void 0!==g.attr("measure")?parseInt(g.attr("measure")):-1,isNaN(m)&&(m=-1),l.unshift(m));void 0!==g.attr("levelName")&&
(g=g.attr("levelName"),l.unshift(g));b.push(l)}return b}static gGa(a){for(var b=0;b<a.length;b++)a[b]=parseInt(a[b]);return a}static zza(a){for(var b=[],d=0;d<a.length;d++){var g=c.vza(a[d]);b.push(g)}return b}static Gua(a){for(var b=[],d=0;d<a.length;d++)b.push(a[d].text());return b}static vza(a){var b={};b.uniqueName=a.text().trim();void 0!==a.attr("calculated")&&0<a.text().length&&(b.uniqueName=a.attr("uniqueName"),b.formula=a.text(),b.individual=void 0!==a.attr("individual")?e.P.Rc(a.attr("individual")):
!1);void 0!==a.attr("availableAggregations")&&(b.availableAggregations=a.attr("availableAggregations").split(","));void 0!==a.attr("aggregation")&&(b.aggregation=a.attr("aggregation"));void 0!==a.attr("caption")&&(b.caption=a.attr("caption"));void 0!==a.attr("grandTotalCaption")&&(b.grandTotalCaption=a.attr("grandTotalCaption"));void 0!==a.attr("format")&&(b.format=a.attr("format"));b.active=void 0!==a.attr("active")?e.P.Rc(a.attr("active")):!0;return b}so(a=!1){var b=y.aa.create("<defaultSlice/>"),
d=y.aa.create("<axes/>"),g=y.aa.create("<axis/>");g.attr("name","rows");for(var l=0;l<this.rows.length;l++)g.append(this.x_(this.rows[l],a));null!=this.tj&&null!=this.tj.type&&this.tj.type!=e.v.j.Ba.Yc&&(l=y.aa.create("<sort/>").text(this.tj.type),l.attr("tuple",this.tj.tuple.join(",")),l.attr("measure",this.tj.measure.A),""!=this.tj.measure.fa&&l.attr("measureAggregation",this.tj.measure.fa),g.append(l));if(0<this.Kv.length){var m=y.aa.create("<expanded/>");for(l=0;l<this.Kv.length;l++){var n=this.Kv[l].slice(0);
var p=n.shift();0!=n.length&&(n=y.aa.create("<tuple/>").append(y.aa.th(n.toString())),p&&(n.attr("measure",p.A),""!=p.fa&&n.attr("measureAggregation",p.fa)),m.append(n))}g.append(m)}if(0<this.Gv.length){var q=y.aa.create("<drilled/>");for(l=0;l<this.Gv.length;l++){n=this.Gv[l].slice(0);m="string"==typeof n[0]?n.shift():"";p=n.shift();var t=n.shift();null!=t&&0!=n.length&&(n=y.aa.create("<tuple/>").text(n.toString()),p&&(n.attr("measure",p.A),""!=p.fa&&n.attr("measureAggregation",p.fa)),0<t.length&&
n.attr("memberName",t),0<m.length&&n.attr("levelName",m),q.append(n))}g.append(q)}m=y.aa.create("<axis/>");m.attr("name","columns");for(l=0;l<this.Ka.length;l++)m.append(this.x_(this.Ka[l],a));null!=this.hj&&this.hj.type&&this.hj.type!=e.v.j.Ba.Yc&&(l=y.aa.create("<sort/>").text(this.hj.type),l.attr("tuple",this.hj.tuple.join(",")),l.attr("measure",this.hj.measure.A),""!=this.hj.measure.fa&&l.attr("measureAggregation",this.hj.measure.fa),m.append(l));if(0<this.Jv.length){t=y.aa.create("<expanded/>");
for(l=0;l<this.Jv.length;l++)n=this.Jv[l].slice(0),p=n.shift(),0!=n.length&&(n=y.aa.create("<tuple/>").append(y.aa.th(n.toString())),p&&(n.attr("measure",p.A),""!=p.fa&&n.attr("measureAggregation",p.fa)),t.append(n));m.append(t)}if(0<this.Fv.length){q=y.aa.create("<drilled/>");for(l=0;l<this.Fv.length;l++)n=this.Fv[l].slice(0),p=n.shift(),t=n.shift(),null!=t&&0!=n.length&&(n=y.aa.create("<tuple/>").text(n.toString()),p&&(n.attr("measure",p.A),""!=p.fa&&n.attr("measureAggregation",p.fa)),0<t.length&&
n.attr("memberName",t),q.append(n));m.append(q)}p=y.aa.create("<axis/>");p.attr("name","pages");for(l=0;l<this.lb.length;l++)p.append(this.x_(this.lb[l],a));this.Wn.clear();n=y.aa.create("<measures/>");for(l=0;l<this.Ea.length;l++)t=this.Ea[l],q=y.aa.create("<measure/>").text(t.A),null!=t.je&&""!=t.je?(q=y.aa.create("<measure/>").append(y.aa.th(t.je)),t.xk&&q.attr("individual","true"),q.attr("caption",t.caption)):(a||t.fa!=e.v.j.ca.NONE)&&q.attr("aggregation",t.fa),(a||0==t.active)&&q.attr("active",
t.active),null!=t.format&&""!=t.format&&(q.attr("format",t.format),t.active?this.Wn.Ta(t.format,!0):this.Wn.Sb(t.format)&&!0===this.Wn.getItem(t.format)||this.Wn.Ta(t.format,!1)),null!=t.Kd&&0<t.Kd.length&&q.attr("availableAggregations",t.Kd.join(",")),n.append(q);0==g.ib()&&d.append(g);0==m.ib()&&d.append(m);0==p.ib()&&d.append(p);0==d.ib()&&b.append(d);0==n.ib()&&b.append(n);if(0<this.Gg.length){d=y.aa.create("<flatOrder/>");for(l=0;l<this.Gg.length;l++)d.append(y.aa.create("<hierarchyName/>").text(this.Gg[l]));
b.append(d)}(a||this.Gc)&&b.append(y.aa.create("<expandAll/>").text(this.Gc));(a||this.cd)&&b.append(y.aa.create("<drillAll/>").text(this.cd));return b}Qa(a=!1,b=null){var d={},g,l=[];for(g=0;g<this.lb.length;g++)l.push(this.w_(this.lb[g],a,b));0<l.length&&(d.reportFilters=l);l=[];for(g=0;g<this.rows.length;g++)l.push(this.w_(this.rows[g],a,b));0<l.length&&(d.rows=l);l=[];for(g=0;g<this.Ka.length;g++)l.push(this.w_(this.Ka[g],a,b));0<l.length&&(d.columns=l);l=[];this.Wn.clear();for(g=0;g<this.Ea.length;g++)l.push(this.Nca(this.Ea[g],
a,b));0<l.length&&(d.measures=l);if(null!=this.tj&&null!=this.tj.type&&this.tj.type!=e.v.j.Ba.Yc||null!=this.hj&&this.hj.type&&this.hj.type!=e.v.j.Ba.Yc)d.sorting={},null!=this.tj&&null!=this.tj.type&&this.tj.type!=e.v.j.Ba.Yc&&(d.sorting.row=this.tj),null!=this.hj&&this.hj.type&&this.hj.type!=e.v.j.Ba.Yc&&(d.sorting.column=this.hj);g={};if(a||this.Gc)g.expandAll=this.Gc;if(e.v.Sa.V().za){var m=e.v.Sa.V().za.Ab;var n=e.v.Sa.V().za.Fb}0<this.Kv.length&&m&&(g.rows=this.I$(this.Kv,m,a,b));0<this.Jv.length&&
n&&(g.columns=this.I$(this.Jv,n,a,b));w.Jc.ag(g)||(d.expands=g);b={};if(a||this.cd)b.drillAll=this.cd;0<this.Gv.length&&(b.rows=this.v$(this.Gv,m));0<this.Fv.length&&(b.columns=this.v$(this.Fv,n));w.Jc.ag(b)||(d.drills=b);0<this.Gg.length&&(d.flatOrder=this.Gg);this.Wh&&0<this.Wh.length&&(d.flatSort=this.Wh);0<this.Uc.length&&(d.drillThrough=this.Uc);if(this.nj){a=[];for(var p in this.nj)a.push({levelName:p,properties:this.nj[p]});0<a.length&&(d.memberProperties=a)}return d}I$(a,b,d=!1,g=null){for(var l=
[],m,n,p,q=0;q<a.length;q++)if(m={},n=a[q].slice(0),p=n.shift(),0!=n.length){for(var t=[],x=0;x<n.length;x++){var z=b.ea(x).Yb(n[x]);t.push(z.fm)}m.tuple=t;p&&(m.measure=this.Nca(p.uniqueName?p:p.Qa(),d,g));l.push(m)}return l}v$(a,b){var d=[],g=0;a:for(;g<a.length;g++){var l={};var m=a[g].slice(0);var n=m.shift();var p=m.shift();m.shift();if(0!=m.length){for(var q=[],t=0;t<m.length;t++){var x=b.ea(t).Yb(m[t]);if(x)q.push(x.fm);else continue a}l.tuple=q;p&&(l.measure=p.uniqueName?p:p.Qa());""!==n&&
(l.level=n);d.push(l)}}return d}qya(a){return e.v.Sa.V().ha.Fa===e.v.j.sa.Nc||e.v.Sa.V().ha.Fa===e.v.j.sa.ae?"[Measures].["+a.name+"]"!=a.uniqueName:a.name!=a.uniqueName}Kxa(a){if(e.v.Sa.V().ha.Fa==e.v.j.sa.API)return!1;if(a.vj.length!==a.Kd.length)return!0;for(var b=0;b<a.Kd.length;b++)if(a.Kd[b]!==a.vj[b])return!0;return!1}Nca(a,b,d=null){var g={};g.uniqueName=a.uniqueName;if(e.ia(a.formula)){if(b||a.aggregation!=e.v.j.ca.NONE)g.aggregation=a.aggregation;var l=e.v.Sa.V().O.aw(a);if(b||this.Kxa(l))e.w(d)||
d.ib?g.availableAggregations=a.availableAggregations:null==d.Ha(a.uniqueName,"aggregations")&&d.Kh(a.uniqueName,"aggregations",a.availableAggregations)}else g.formula=a.formula,a.individual&&(g.individual=!0),a.calculateNaN?a.calculateNaN&&b&&(g.calculateNaN=a.calculateNaN):g.calculateNaN=a.calculateNaN,g.caption=a.caption;this.qya(a)&&(e.w(d)||d.ib?g.caption=a.name:null==d.Ha(a.uniqueName,"caption")&&void 0===a.formula&&d.Kh(a.uniqueName,"caption",a.name));e.v.O.Zq.UZ(a.aggregation,a.originalCaption)!=
a.grandTotalCaption&&""!=a.grandTotalCaption&&(g.grandTotalCaption=a.grandTotalCaption);if(b||0==a.active)g.active=a.active;null!=a.format&&""!=a.format&&(g.format=a.format,a.active?this.Wn.Ta(a.format,!0):this.Wn.Sb(a.format)&&!0===this.Wn.getItem(a.format)||this.Wn.Ta(a.format,!1));a.filter&&(g.filter=a.filter);return g}hya(a){return"[Measures]"==a.uniqueName?!1:e.v.Sa.V().ha.Fa==e.v.j.sa.Nc||e.v.Sa.V().ha.Fa==e.v.j.sa.ae?a.dimensionName+".["+a.caption+"]"!=a.uniqueName:a.uniqueName!=a.caption}w_(a,
b,d=null){var g={};g.uniqueName=a.uniqueName;this.hya(a)&&(e.w(d)||d.ib?g.caption=a.caption:null==d.Ha(a.uniqueName,"caption")&&d.Kh(a.uniqueName,"caption",a.caption));null!=a.activeLevelName&&(g.levelName=a.activeLevelName);e.w(a.filter)||(g.filter={},e.w(a.filter.measure)||(g.filter.measure=a.filter.measure),e.w(a.filter.query)||(g.filter.query=a.filter.query),e.w(a.filter.members)||(g.filter.members=a.filter.members),e.w(a.filter.exclude)||(g.filter.exclude=a.filter.exclude));a.filterEnabled||
(g.filterEnabled=!0);w.Jc.ag(a.groups)||(g.groups=a.groups);"[Measures]"!=a.uniqueName&&a.sortName&&(b||a.sortName!=e.v.O.As.oH)&&(g.sort=a.sortName);"[Measures]"!=a.uniqueName&&a.sortAs&&(g.sortAs=a.sortAs);null!=a.customSorting&&0<a.customSorting.length&&(g.sortOrder=a.customSorting);void 0!==a.showTotals&&(g.showTotals=a.showTotals);return g}x_(a,b){var d=y.aa.create("<hierarchy/>");d.append(y.aa.create("<dimensionName/>").text(a.dimensionName));d.append(y.aa.create("<hierarchyName/>").text(a.uniqueName));
null!=a.activeLevelName&&d.append(y.aa.create("<levelName/>").text(a.activeLevelName));if(null!=a.filter&&(null!=a.filter.type&&a.filter.type!=e.v.j.pb.NONE&&d.append(this.zua(a.filter)),null!=a.filter.members)){var g="string"==typeof a.filter.members?a.filter.members.split(","):a.filter.members;0<g.length&&(0<d.find("filter").length?this.X$(g,d.find("filter")[0]):d.append(this.X$(g)),!0===a.filter.negation&&d.find("filter").attr("negation",a.filter.negation))}a.customSorting&&0<a.customSorting.length&&
d.append(this.cta(a.customSorting));a.groups&&this.kxa(a.groups,d);a.filterEnabled||d.attr("filterEnabled","true");"[Measures]"!=a.uniqueName&&a.sortName&&(b||a.sortName!=e.v.O.As.oH)&&d.attr("sort",a.sortName);"[Measures]"!=a.uniqueName&&a.sortAs&&d.attr("sortAs",a.sortAs);return d}zua(a){var b=null;null==b&&(b=y.aa.create("<filter/>"));b.attr("type",a.type);b.attr("quantity",a.quantity);b.attr("measure",a.measure);return b}X$(a,b=null){null==b&&(b=y.aa.create("<filter/>"));for(var d=0;d<a.length;d++){var g=
a[d];b.append(y.aa.create("<member/>").append(y.aa.th(g)))}return b}cta(a){for(var b=y.aa.create("<sort/>"),d=0;d<a.length;d++){var g=a[d];b.append(y.aa.create("<member/>").append(y.aa.th(g)))}return b}kxa(a,b){if(null!=a)for(var d in a){var g=y.aa.create("<group/>");g.attr("name",d);for(var l=0;l<a[d].length;l++){var m=a[d][l];g.append(y.aa.create("<member/>").append(y.aa.th(m)))}b.append(g)}}static Jl(a){var b={};if(void 0==a)return b;null!=a.pages&&(b.pages=a.pages);null!=a.reportFilters&&(b.pages=
a.reportFilters);null!=a.rows&&(b.rows=a.rows);null!=a.columns&&(b.columns=a.columns);null!=a.measures&&(b.measures=a.measures);null!=a.rowSorting&&(b.rowSorting=a.rowSorting,null!=b.rowSorting.tuple&&"string"==typeof b.rowSorting.tuple&&(b.rowSorting.tuple=b.rowSorting.tuple.split(",")));null!=a.sorting&&null!=a.sorting.row&&(b.rowSorting=a.sorting.row);null!=a.columnSorting&&(b.columnSorting=a.columnSorting,null!=b.columnSorting.tuple&&"string"==typeof b.columnSorting.tuple&&(b.columnSorting.tuple=
b.columnSorting.tuple.split(",")));null!=a.sorting&&null!=a.sorting.column&&(b.columnSorting=a.sorting.column);null!=a.expandAll&&(b.expandAll=a.expandAll);null!=a.expandedRows&&(b.expandedRows=a.expandedRows);null!=a.expandedColumns&&(b.expandedColumns=a.expandedColumns);null!=a.expands&&(null!=a.expands.expandAll&&(b.expandAll=a.expands.expandAll),null!=a.expands.rows&&(b.expandedRows=c.kT(a.expands.rows)),null!=a.expands.columns&&(b.expandedColumns=c.kT(a.expands.columns)));null!=a.drillAll&&(b.drillAll=
a.drillAll);null!=a.drilledRows&&(b.drilledRows=a.drilledRows);null!=a.drilledColumns&&(b.drilledColumns=a.drilledColumns);null!=a.drills&&(null!=a.drills.drillAll&&(b.drillAll=a.drills.drillAll),null!=a.drills.rows&&(b.drilledRows=c.jT(a.drills.rows)),null!=a.drills.columns&&(b.drilledColumns=c.jT(a.drills.columns)));null!=a.flatOrder&&(b.flatOrder=a.flatOrder);null!=a.flatSort&&(b.flatSort=a.flatSort);null!=a.drillThrough&&(b.drillThrough=a.drillThrough);null!=a.memberProperties&&(b.memberProperties=
a.memberProperties);null!=a.slice&&(a=a.slice,null!=a.pages&&a.pages.length&&(b.pages=a.pages),null!=a.reportFilters&&a.reportFilters.length&&(b.pages=a.reportFilters),null!=a.rows&&a.rows.length&&(b.rows=a.rows),null!=a.columns&&a.columns.length&&(b.columns=a.columns),null!=a.measures&&a.measures.length&&(b.measures=a.measures),null!=a.sorting&&null!=a.sorting.row&&(b.rowSorting=a.sorting.row),null!=a.sorting&&null!=a.sorting.column&&(b.columnSorting=a.sorting.column),null!=a.expands&&(null!=a.expands.expandAll&&
(b.expandAll=a.expands.expandAll),null!=a.expands.rows&&(b.expandedRows=c.kT(a.expands.rows)),null!=a.expands.columns&&(b.expandedColumns=c.kT(a.expands.columns))),null!=a.drills&&(null!=a.drills.drillAll&&(b.drillAll=a.drills.drillAll),null!=a.drills.rows&&(b.drilledRows=c.jT(a.drills.rows)),null!=a.drills.columns&&(b.drilledColumns=c.jT(a.drills.columns))),null!=a.flatOrder&&a.flatOrder.length&&(b.flatOrder=a.flatOrder),null!=a.flatSort&&a.flatSort.length&&(b.flatSort=a.flatSort),null!=a.drillThrough&&
a.drillThrough.length&&(b.drillThrough=a.drillThrough),null!=a.memberProperties&&(b.memberProperties=a.memberProperties));return b}iya(a){for(var b=0;b<this.lb.length;b++)if(this.lb[b].uniqueName==a)return!0;for(b=0;b<this.rows.length;b++)if(this.rows[b].uniqueName==a)return!0;for(b=0;b<this.Ka.length;b++)if(this.Ka[b].uniqueName==a)return!0;return!1}}h.Io=c})(k.ab||(k.ab={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){this.vf={};this.jf={};this.wg=[];this.mg=[];this.rj={};this.tk={};this.Ig=[];this.cD=0}static yb(c){const a=new f;if(null==c)return a;null!=c.columnSizes&&"string"!=typeof c.columnSizes&&(a.jf=c.columnSizes);null!=c.rowSizes&&"string"!=typeof c.rowSizes&&(a.vf=c.rowSizes);null!=c.columnHeaderSizes&&"string"!=typeof c.columnHeaderSizes&&(a.mg=c.columnHeaderSizes);null!=c.rowHeaderSizes&&"string"!=typeof c.rowHeaderSizes&&(a.wg=c.rowHeaderSizes);
null!=c.rowFilterSizes&&"string"!=typeof c.rowFilterSizes&&(a.Ig=c.rowFilterSizes);null!=c.columnSizesByIdx&&(a.tk=c.columnSizesByIdx);null!=c.rowSizesByIdx&&(a.rj=c.rowSizesByIdx);return a}static Jl(c){var a={};if(void 0==c)return a;var b;if(null!=c.columns){var d=c.columns;for(b=0;b<d.length;b++)if(null!=d[b].idx&&(null==a.columnSizesByIdx&&(a.columnSizesByIdx={}),a.columnSizesByIdx[parseInt(d[b].idx)]=parseInt(d[b].width)),null!=d[b].tuple||null!=d[b].measure){null==a.columnSizes&&(a.columnSizes=
{});var g=null==d[b].tuple?[]:d[b].tuple.slice();null!=d[b].measure&&("string"==typeof d[b].measure?(g.push(d[b].measure),g.push("")):(g.push(d[b].measure.uniqueName?d[b].measure.uniqueName:""),g.push(d[b].measure.aggregation?d[b].measure.aggregation:"")));a.columnSizes[g.join(",")]=parseInt(d[b].width)}}if(null!=c.rows)for(d=c.rows,b=0;b<d.length;b++)if(null!=d[b].idx&&(null==a.rowSizesByIdx&&(a.rowSizesByIdx={}),a.rowSizesByIdx[parseInt(d[b].idx)]=parseInt(d[b].height)),null!=d[b].tuple||null!=
d[b].measure)null==a.rowSizes&&(a.rowSizes={}),g=null==d[b].tuple?[]:d[b].tuple.slice(),null!=d[b].measure&&("string"==typeof d[b].measure?(g.push(d[b].measure),g.push("")):(g.push(d[b].measure.uniqueName?d[b].measure.uniqueName:""),g.push(d[b].measure.aggregation?d[b].measure.aggregation:""))),a.rowSizes[g.join(",")]=parseInt(d[b].height);null!=c.columnSizes&&(a.columnSizes=c.columnSizes);null!=c.rowSizes&&(a.rowSizes=c.rowSizes);null!=c.columnHeaderSizes&&(a.columnHeaderSizes=c.columnHeaderSizes);
null!=c.rowHeaderSizes&&(a.rowHeaderSizes=c.rowHeaderSizes);null!=c.rowFilterSizes&&(a.rowFilterSizes=c.rowFilterSizes);null!=c.rowSizesByIdx&&(a.rowSizesByIdx=c.rowSizesByIdx);null!=c.columnSizesByIdx&&(a.columnSizesByIdx=c.columnSizesByIdx);return a}Qa(c){const a={};if(null!=this.mg&&!w.Jc.ag(this.mg)||null!=this.jf&&!w.Jc.ag(this.jf)){a.columns=[];if(null!=this.mg&&!w.Jc.ag(this.mg))for(var b=0;b<this.mg.length;b++)null!=this.mg[b]&&a.columns.push({idx:b,width:this.mg[b]});if(null!=this.tk&&!w.Jc.ag(this.tk))for(var d in this.tk)b=
parseInt(d),this.tk.hasOwnProperty(d)&&!isNaN(b)&&a.columns.push({idx:b,width:this.tk[d]});d=h.Io.qd(c.Ka);if(null!=this.jf&&!w.Jc.ag(this.jf))for(var g in this.jf)if(b=g.split(","),0<=d){const m=b.pop(),n=b.pop();a.columns.push({tuple:b,measure:(new h.Bg(n,m)).Qa(),width:this.jf[g]})}else a.columns.push({tuple:b,width:this.jf[g]})}if(null!=this.Ig&&!w.Jc.ag(this.Ig)||null!=this.wg&&!w.Jc.ag(this.wg)||null!=this.vf&&!w.Jc.ag(this.vf)){a.rows=[];if(null!=this.Ig&&!w.Jc.ag(this.Ig))for(g=0;g<this.Ig.length;g++)null!=
this.Ig[g]&&a.rows.push({idx:g,height:this.Ig[g]});if(null!=this.wg&&!w.Jc.ag(this.wg))for(g=0;g<this.wg.length;g++)null!=this.wg[g]&&a.rows.push({idx:g,height:this.wg[g]});if(null!=this.rj&&!w.Jc.ag(this.rj))for(var l in this.rj)g=parseInt(l),this.rj.hasOwnProperty(l)&&!isNaN(g)&&a.rows.push({idx:g,width:this.rj[l]});c=h.Io.qd(c.rows);if(null!=this.vf&&!w.Jc.ag(this.vf))for(const m in this.vf)l=m.split(","),0<=c?(g=l.pop(),d=l.pop(),a.rows.push({tuple:l,measure:(new h.Bg(d,g)).Qa(),height:this.vf[m]})):
a.rows.push({tuple:l,height:this.vf[m]})}return a}so(){var c=y.aa.create("<view/>"),a;if(null!=this.mg)for(a in this.mg)if(null!=this.mg[a]){var b=y.aa.create("<column/>").text(this.mg[a]);b.attr("headerIdx",a);c.append(b)}if(null!=this.jf)for(a in this.jf)null!=this.jf[a]&&(b=y.aa.create("<column/>").append(y.aa.th(this.jf[a])),c.append(b));if(null!=this.Ig)for(a in this.Ig)null!=this.Ig[a]&&(b=y.aa.create("<row/>").text(this.Ig[a]),b.attr("filterIdx",a),c.append(b));if(null!=this.wg)for(a in this.wg)null!=
this.wg[a]&&(b=y.aa.create("<row/>").text(this.wg[a]),b.attr("headerIdx",a),c.append(b));if(null!=this.vf)for(a in this.vf)null!=this.vf[a]&&(b=y.aa.create("<row/>").append(y.aa.th(this.vf[a])),c.append(b));return c}clone(){const c=new f;var a={};for(const n in this.jf)a[n]=this.jf[n];c.jf=a;a={};for(var b in this.tk)a[b]=this.tk[b];c.tk=a;b=[];for(var d in this.mg)b[parseInt(d)]=this.mg[d];c.mg=b;d={};for(var g in this.vf)d[g]=this.vf[g];c.vf=d;g={};for(var l in this.rj)g[l]=this.rj[l];c.rj=g;l=
[];for(var m in this.wg)l[parseInt(m)+this.cD]=this.wg[m];c.wg=l;m=[];if(0!=this.cD)for(const n in this.Ig)m[parseInt(n)]=this.Ig[n];c.Ig=m;return c}static Pj(c){const a=new f;a.mg=f.uba(c.find("view column[headerIdx]"));a.jf=f.tfa(c.find("view column"));a.wg=f.uba(c.find("view row[headerIdx]"));a.vf=f.tfa(c.find("view row"));a.Ig=f.wua(c.find("view row[filterIdx]"));return a}static uba(c){for(var a=[],b=0;b<c.length;b++){var d=c[b];a[parseInt(d.attr("headerIdx"))]=parseInt(d.text())}return a}static wua(c){for(var a=
[],b=0;b<c.length;b++){var d=c[b];a[parseInt(d.attr("filterIdx"))]=parseInt(d.text())}return a}static tfa(c){for(var a=[],b=0;b<c.length;b++){var d=c[b];e.w(d.attr("headerIdx"))&&e.w(d.attr("filterIdx"))&&0<d.text().length&&a.push(d.text().split(","))}return a}}h.Ru=f})(k.ab||(k.ab={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(){this.ie=new e.wb;this.Wc=new e.wb;this.yw=new k.ab.Ru;this.Ne=null;this.labels={};this.RGa=this.ez=!1;this.$l=[]}static jGa(a){if(null===a)return null;var b=new k.ab.Rw;b.ez=a.ez;b.ma=a.zb.clone();a.Wb&&(b.slice=a.Wb.e3());b.options=a.B;var d=[];for(var g=0;g<a.ie.length;g++)d[g]=a.ie.ea(g).Qa();b.ie=d;d=[];for(g=0;g<a.Wc.length;g++)d[g]=a.Wc.ea(g).Qa();b.Wc=d;b.$l=a.$l;b.labels=a.labels;b.yw=a.yw.clone();b.Ne=a.Ne;b.version=
e.Mh.Fw;b.RJ=(new Date).toISOString();return b}}f.M6=c})(h.X||(h.X={}))})(k.qc||(k.qc={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){this.oka=35;this.oP=!1;this.Noa="a4";this.Zda=()=>this.vda();this.wZ=this.t_=0}static V(){null==f.oe&&(f.oe=new f);return f.oe}static dispose(){f.oe=null}print(c=null){this.oP||(this.oP=!0,this.B=c||new k.ls.u6,k.Ua.V().N(e.Vf.Kz,this.Zda),k.Ua.V().bb(e.Vf.BV))}vda(){k.Ua.V().qb(e.Vf.Kz,this.Zda);this.oP=!1}Of(c,a=""){this.Y=c;this.ka=null!=c?c.ka:null;this.Mqa=a||"";this.start()}start(){this.Jk=0;var c=k.tc.Qw.QF(this.Noa);this.jP=c.fxa();
this.SW=c.lwa();this.lb=new v.Da("div");this.us=[];this.DG=this.Kn=0;w.al.Cn({po:()=>this.wva(),Je:()=>this.finish()})}clear(){this.oP=!1;this.Kn=this.Jk=this.DG=0;this.lb=this.ks=null;this.wZ=this.t_=0}wva(){return this.epa()}epa(){if(null==this.ks)this.ks=this.K9(),this.fT=this.ks.find("table");else if(!(this.ks.pf(!0)<=this.jP&&0!=this.Kn)&&(this.ks.pf(!0)>this.jP&&(this.Kn--,this.dEa(this.ks)),this.C8(),this.ks=this.K9(),this.fT=this.ks.find("table"),0==this.Y.wi)){var c=this.Kn;0!=this.Kn&&0<
this.Y.Ho&&(this.Kn=0,this.t8(),this.Kn=c,this.Kn+1<=this.ka.coords.kl&&(this.Kn+=1))}this.t8();if(1==this.shift())this.C8();else return!1;return!0}dEa(c){c=c.find("td:last-child",!0);for(let a=0;a<c.length;a++)c[a].remove()}K9(){var c=(new v.Da("div")).$("page");c.U("position","absolute").U("left","-9999px");if(null!=this.B.vi){var a=this.NJ(this.B.vi);c.append(a)}var b=new v.Da("table");0==this.Jk&&0<k.B.F.ip.length&&b.append((new v.Da("caption")).text(k.B.F.ip));c.append(b);if(null!=this.B.em){var d=
this.NJ(this.B.em);c.append(d)}this.Y.G.append(c);this.t_=null!=a?a.wd():0;this.wZ=null!=d?d.wd():0;return c}NJ(c){var a=new v.Da("div");c=c.replace(/##PAGE-NUMBER##/gi,(this.Jk+1).toString());c=c.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString());a.html(c);return a}C8(){this.Jk++;e.wa(!0,k.C.u.OD,this.Jk+" "+k.C.u.b6,!0);this.ks.detach();this.ks.U("position","").U("left","").U("padding-top",this.oka.toString()+"px");this.lb.append(this.ks)}shift(){++this.Kn;this.Kn>=this.Y.Tf+this.ka.coords.kl&&
(this.Kn=0,this.DG+=this.gf-this.Y.Te+1);return 1E3<=this.Jk||this.DG>=this.ka.coords.Uo?!0:!1}t8(){this.vT=0;var c=this.Y.Ho+this.Kn;if(!this.ka.coords.co(NaN,c)){var a=this.SW-this.t_-this.wZ;for(this.gf=this.Y.dj;this.vT<=a&&this.gf<this.ka.coords.Uo+this.Y.Te-this.DG;this.gf++)if(this.rowIndex=this.gf<this.Y.Te?this.gf:this.gf+this.DG,!this.ka.coords.co(this.rowIndex,c)){var b=this.ka.Kf(this.rowIndex,c,!0);this.vT+=this.dpa(this.gf,b);if(this.vT>=a)break}}}dpa(c,a){const b=e.K.Y.sheet.gh.Cs;
var d=this.fT.find("tr",!0);for(d=0<d.length?d[c]:null;null==d;)this.fT.append(new v.Da("tr")),d=this.fT.find("tr",!0)[c];d.height=e.K.Y.sheet.gh.wu;c="<td {0}>"+(a?a.J(!0):"")+"</td>";if(null==a)c=e.P.bind(c,"class='cell' style='width:"+b+"'");else{var g="",l="";a.Tt&&null!=a.style&&(l=a.style.xR(),g=a.style.fR(),this.KX(a.style.eB));g=a.di?g+(" rowHeaderCell level"+a.level):a.oh?g+" columnHeaderCell":a.Bk?g+" filterHeaderCell":a.gC&&a.nm&&""!=a.J(!0)?g+" grandTotalCell":a.nm&&""!=a.J(!0)?g+" totalCell":
g+" cell";""!=g.trim()&&(g="class='"+g.trim()+"'");l=""!=l.trim()?"style='"+l.trim()+"max-width:200px'":"style='width:"+b+"px;'";c=e.P.bind(c,g+" "+l)}d.element.innerHTML+=c;return d.wd(!0)}KX(c){for(var a=0;a<c.length;a++)0>this.us.indexOf(c[a])&&this.us.push(c[a])}finish(){e.wa(!0,k.C.u.OD,"Sending pages to printer...",!1,!0);y.t6.print(this.Mqa+this.lb.html(),this.DZ(),k.B.F.ip);e.wa(!1);k.Ua.V().bb(e.Vf.Kz);this.clear()}DZ(){var c="",a=v.Da.Ib(this.ka.element),b=a.find(".fm-data-sheet");c+=e.P.bind("table{width:100%;border-collapse:collapse;{0}}\n",
e.K.Y.X.Vc.Rx(a,["font-family","font-size"]));c+=e.P.bind("caption{{0}}\n",e.K.Y.X.Vc.vk(e.K.Y.X.xa.SV,a));c+=e.P.bind("td{white-space:nowrap;{0}}\n",w.Dd().TR?"":"border: 1px solid #eee;");c+=e.P.bind(".cell{{0}}\n",e.K.Y.X.Vc.vk(e.K.Y.X.xa.we,b));c+=e.P.bind(".totalCell{{0}}\n",e.K.Y.X.Vc.vk(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Qu,b));c+=e.P.bind(".grandTotalCell{{0}}\n",e.K.Y.X.Vc.vk(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Qu+" "+e.K.Y.X.xa.JH,b));c+=e.P.bind(".rowHeaderCell{{0}}\n",e.K.Y.X.Vc.vk(e.K.Y.X.xa.we+" "+
e.K.Y.X.xa.Aj+" "+e.K.Y.X.xa.Fu,a));c+=e.P.bind(".columnHeaderCell{{0}}\n",e.K.Y.X.Vc.vk(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Aj+" "+e.K.Y.X.xa.xz,a));c+=e.P.bind(".filterHeaderCell{{0}}\n",e.K.Y.X.Vc.vk(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Aj+" "+e.K.Y.X.xa.dr,a));for(b=1;20>=b;b++)c+=e.P.bind(".level{0}{{1}}\n",b,e.K.Y.X.Vc.vk(e.K.Y.X.xa.Fu+" "+e.K.Y.X.xa.Ue+b,a,["padding-left"]));for(b=0;b<this.us.length;b++)c+=e.P.bind(".{0}{{1}}\n",this.us[b],e.K.Y.X.Vc.vk(this.us[b],a));c=(c+".page:not(:last-child), svg { page-break-after: always; }").replace(/background-color:rgb\(33, 33, 33\)/g,
"background-color:rgb(255, 255, 255)");return c=c.replace(/background-color:rgb\(66, 66, 66\)/g,"background-color:rgb(247, 247, 247)")}}h.SD=f})(k.ls||(k.ls={}))})(e.i||(e.i={}))})(u||(u={}));(function(e){(function(k){(function(h){class f{static yb(c){var a=new f;null!=c&&(null!=c.header&&(a.vi=c.header),null!=c.footer&&(a.em=c.footer));return a}}h.u6=f})(k.ls||(k.ls={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends r.fh{constructor(){super();f.zd=new h.bq;f.zd.TC();f.B=new h.bq;if(f.La)throw Error("Singleton");}static V(){e.w(f.La)&&(f.La=new f);return f.La}static dispose(){f.nE.zd=null;f.nE=null;f.B=null;f.zd=null;f.La=null}static eFa(c){f.nE=c}static Qv(c=!1,a=!1){var b=new h.bq;c&&b.rC(f.zd);a&&b.rC(f.nE);b.rC(f.B);!c&&b.bra();return b}static clear(){this.B=new h.bq}static Jp(c,a=!0,b=!0){if(e.w(f.B)||a)a=f.To,f.B=new h.bq,f.B.la("configuratorOpened",
a);c=h.bq.Jl(c);a=!1;f.QY=!0;var d=f.Qv(!0,!0),g;for(g in c)if(void 0!=d[g]&&c[g]!=d[g]&&(a=!0,f.yC(g))){f.nw=!0;break}f.B.rC(c);e.v.O.As.oH=f.b$;f.QY=!1;a&&b&&f.Za()}static yC(c){return-1<f.Moa.indexOf(c)}static R(c){return f.B&&null!=f.B[c]?f.B[c]:f.nE&&null!=f.nE[c]?f.nE[c]:f.zd?f.zd[c]:null}static get To(){return f.B.R("configuratorOpened")}static set To(c){f.B.la("configuratorOpened",c)}static get JJ(){return f.R("configuratorActive")}static set JJ(c){if(f.B.R("configuratorActive")!=c){var a=
!e.w(f.B.R("configuratorActive"));f.B.la("configuratorOpened",c);f.B.la("configuratorActive",c);a&&f.Za()}}static get cQ(){return this.readOnly?this.vA.configuratorButton:f.R("configuratorButton")}static set cQ(c){if(f.B.R("configuratorButton")!=c){var a=!e.w(f.B.R("configuratorButton"));f.B.la("configuratorButton",c);a&&f.Za()}}static get Zd(){return f.R("viewType")}static set Zd(c){if(f.B.R("viewType")!=c){c=e.K.td.dg(c)?c:f.zd.R("viewType");var a=!(e.w(f.B.R("viewType"))&&f.zd.R("viewType")==c);
f.B.la("viewType",c);a&&f.Za()}}static get Xl(){return f.R("chartTitle")}static set Xl(c){if(f.B.R("chartTitle")!=c){var a=!e.w(f.B.R("chartTitle"));f.B.la("chartTitle",c);a&&f.Za()}}static get pk(){return f.R("gridType")==e.K.Y.He.xu}static set pk(c){f.B.R("gridType")!=e.K.Y.He.xu&&(c=!e.w(f.B.R("gridType")),f.B.la("gridType",e.K.Y.He.xu),f.nw=f.yC("gridType"),c&&f.Za())}static get dc(){return f.R("gridType")==e.K.Y.He.li}static set dc(c){if(1==c&&f.B.R("gridType")!=e.K.Y.He.li){var a=!e.w(f.B.R("gridType"));
f.B.la("gridType",e.K.Y.He.li);f.nw=f.yC("gridType");a&&f.Za()}0==c&&f.B.R("gridType")==e.K.Y.He.li&&(f.B.la("gridType",e.K.Y.He.jz),f.nw=f.yC("gridType"),f.Za())}static get DR(){return f.R("gridType")}static set DR(c){if(f.B.R("gridType")!=c){var a=!e.w(f.B.R("gridType"));f.B.la("gridType",c);a&&f.Za()}}static get ip(){return f.R("gridTitle")}static set ip(c){if(f.B.R("gridTitle")!=c){var a=!e.w(f.B.R("gridTitle"));f.B.la("gridTitle",c);a&&f.Za()}}static get AJ(){return f.R("chartType")}static set AJ(c){c=
e.K.nd.xe.Mc(c);if(f.B.R("chartType")!=c){var a=!e.w(f.B.R("chartType"));f.B.la("chartType",c);a&&f.Za()}}static get Gn(){return f.R("chartOneLevel")}static set Gn(c){if(f.B.R("chartOneLevel")!=c){var a=!e.w(f.B.R("chartOneLevel"));f.B.la("chartOneLevel",c);a&&f.Za()}}static get st(){return f.R("chartOneLevelTuple")}static set st(c){if(f.B.R("chartOneLevelTuple")!=c){var a=!e.w(f.B.R("chartOneLevelTuple"));f.B.la("chartOneLevelTuple",c);a&&f.Za()}}static get RA(){return f.R("chartOneLevelColumnTuple")}static set RA(c){if(f.B.R("chartOneLevelColumnTuple")!=
c){var a=!e.w(f.B.R("chartOneLevelColumnTuple"));f.B.la("chartOneLevelColumnTuple",c);a&&f.Za()}}static get XE(){return f.R("chartMultipleMeasures")}static set XE(c){if(f.B.R("chartMultipleMeasures")!=c){var a=!e.w(f.B.R("chartMultipleMeasures"));f.B.la("chartMultipleMeasures",c);a&&f.Za()}}static get WE(){return f.R("chartActiveMeasures")}static set WE(c){if(f.B.R("chartActiveMeasures")!=c){var a=!e.w(f.B.R("chartActiveMeasures"));f.B.la("chartActiveMeasures",c);a&&f.Za()}}static get En(){return f.R("chartActiveMeasure")}static set En(c){if(f.B.R("chartActiveMeasure")!=
c){var a=!e.w(f.B.R("chartActiveMeasures"));f.B.la("chartActiveMeasure",c);a&&f.Za()}}static get zJ(){return f.R("chartActiveTupleIndex")}static set zJ(c){if(f.B.R("chartActiveTupleIndex")!=c){var a=!e.w(f.B.R("chartActiveTupleIndex"));f.B.la("chartActiveTupleIndex",c);a&&f.Za()}}static get zx(){return f.R("chartPosition")}static set zx(c){if(f.B.R("chartPosition")!=c){var a=!e.w(f.B.R("chartPosition"));f.B.la("chartPosition",c);a&&f.Za()}}static get MP(){return f.R("chartReversedAxes")}static set MP(c){if(f.B.R("chartReversedAxes")!=
c){var a=!e.w(f.B.R("chartReversedAxes"));f.B.la("chartReversedAxes",c);a&&f.Za()}}static get rt(){return f.R("chartAutoRange")}static set rt(c){if(f.B.R("chartAutoRange")!=c){var a=!e.w(f.B.R("chartAutoRange"));f.B.la("chartAutoRange",c);a&&f.Za()}}static get QA(){return f.R("chartAxisShortNumberFormat")}static set QA(c){if(f.B.R("chartAxisShortNumberFormat")!=c){var a=!e.w(f.B.R("chartAxisShortNumberFormat"));f.B.la("chartAxisShortNumberFormat",c);a&&f.Za()}}static get ww(){return this.readOnly?
this.vA.showFilter:f.R("showFilter")}static set ww(c){if(f.B.R("showFilter")!=c){var a=!e.w(f.B.R("showFilter"));f.B.la("showFilter",c);a&&f.Za()}}static get nfa(){return this.readOnly?this.vA.showFilterInCharts:f.R("showFilterInCharts")}static set nfa(c){if(f.B.R("showFilterInCharts")!=c){var a=!e.w(f.B.R("showFilterInCharts"));f.B.la("showFilterInCharts",c);a&&f.Za()}}static get E2(){return f.R("showDefaultSlice")}static set E2(c){if(f.B.R("showDefaultSlice")!=c){var a=!e.w(f.B.R("showDefaultSlice"));
f.B.la("showDefaultSlice",c);a&&f.Za()}}static get Qp(){return f.R("useOlapFormatting")}static set Qp(c){if(f.B.R("useOlapFormatting")!=c){var a=!e.w(f.B.R("useOlapFormatting"));f.B.la("useOlapFormatting",c);a&&f.Za()}}static get IG(){return f.R("showMemberProperties")}static set IG(c){if(f.B.R("showMemberProperties")!=c){var a=!e.w(f.B.R("showMemberProperties"));f.B.la("showMemberProperties",c);a&&f.Za()}}static get $C(){return f.R("showEmptyData")}static set $C(c){if(f.B.R("showEmptyData")!=c){var a=
!e.w(f.B.R("showEmptyData"));f.B.la("showEmptyData",c);a&&f.Za()}}static get hfa(){return f.R("showChartDataLabels")}static set hfa(c){if(f.B.R("showChartDataLabels")!=c){var a=!e.w(f.B.R("showChartDataLabels"));f.B.la("showChartDataLabels",c);a&&f.Za()}}static get ffa(){return f.R("showAllChartLabels")}static set ffa(c){if(f.B.R("showAllChartLabels")!=c){var a=!e.w(f.B.R("showAllChartLabels"));f.B.la("showAllChartLabels",c);a&&f.Za()}}static get Ok(){return f.R("showAggregations")}static set Ok(c){if(f.B.R("showAggregations")!=
c){var a=!e.w(f.B.R("showAggregations"));f.B.la("showAggregations",c);a&&f.Za()}}static get ts(){return f.R("showHierarchyCaptions")}static set ts(c){if(f.B.R("showHierarchyCaptions")!=c){var a=!e.w(f.B.R("showHierarchyCaptions"));f.B.la("showHierarchyCaptions",c);a&&f.Za()}}static get vF(){return f.R("drillthroughMaxRows")}static set vF(c){if(f.B.R("drillthroughMaxRows")!=c){var a=!e.w(f.B.R("drillthroughMaxRows"));f.B.la("drillthroughMaxRows",c);a&&f.Za()}}static get z2(){return f.R("showAllFieldsDrillThrough")}static set z2(c){if(f.B.R("showAllFieldsDrillThrough")!=
c){var a=!e.w(f.B.R("showAllFieldsDrillThrough"));f.B.la("showAllFieldsDrillThrough",c);a&&f.Za()}}static get F2(){return f.R("showFieldListSearch")}static set F2(c){if(f.B.R("showFieldListSearch")!=c){var a=!e.w(f.B.R("showFieldListSearch"));f.B.la("showFieldListSearch",c);a&&f.Za()}}static get HG(){return f.R("showExtraTotalLabels")}static set HG(c){if(f.B.R("showExtraTotalLabels")!=c){var a=!e.w(f.B.R("showExtraTotalLabels"));f.B.la("showExtraTotalLabels",c);a&&f.Za()}}static get Pk(){return f.R("showHeaders")}static set Pk(c){if(f.B.R("showHeaders")!=
c){var a=!e.w(f.B.R("showHeaders"));f.B.la("showHeaders",c);a&&f.Za()}}static get Lp(){return this.readOnly?this.vA.sorting:f.R("sorting")}static set Lp(c){if(f.B.R("sorting")!=c){var a=!e.w(f.B.R("sorting"));f.B.la("sorting",c);a&&f.Za()}}static get ER(){return f.R("grouping")}static set ER(c){if(f.B.R("grouping")!=c){var a=!e.w(f.B.R("grouping"));f.B.la("grouping",c);a&&f.Za()}}static get sB(){return f.R("editing")}static set sB(c){if(f.B.R("editing")!=c){var a=!e.w(f.B.R("editing"));f.B.la("editing",
c);a&&f.Za()}}static get Uc(){return this.readOnly?this.vA.drillThrough:f.R("drillThrough")}static set Uc(c){if(f.B.R("drillThrough")!=c){var a=!e.w(f.B.R("drillThrough"));f.B.la("drillThrough",c);a&&f.Za()}}static get mfa(){return f.R("showDrillThroughConfigurator")}static set mfa(c){if(f.B.R("showDrillThroughConfigurator")!=c){var a=!e.w(f.B.R("showDrillThroughConfigurator"));f.B.la("showDrillThroughConfigurator",c);a&&f.Za()}}static get iM(){return f.R("showHierarchies")}static set iM(c){if(f.B.R("showHierarchies")!=
c){var a=!e.w(f.B.R("showHierarchies"));f.B.la("showHierarchies",c);a&&f.Za()}}static get kfa(){return f.R("showChartsWarning")}static set kfa(c){if(f.B.R("showChartsWarning")!=c){var a=!e.w(f.B.R("showChartsWarning"));f.B.la("showChartsWarning",c);a&&f.Za()}}static get ifa(){return f.R("showChartLegend")}static set ifa(c){if(f.B.R("showChartLegend")!=c){var a=!e.w(f.B.R("showChartLegend"));f.B.la("showChartLegend",c);a&&f.Za()}}static get B2(){return f.R("showChartLegendButton")}static set B2(c){if(f.B.R("showChartLegendButton")!=
c){var a=!e.w(f.B.R("showChartLegendButton"));f.B.la("showChartLegendButton",c);a&&f.Za()}}static get i2(){return f.R("saveAllFormats")}static set i2(c){if(f.B.R("saveAllFormats")!=c){var a=!e.w(f.B.R("saveAllFormats"));f.B.la("saveAllFormats",c);a&&f.Za()}}static get pt(){return f.R("calculatedValuesOLAP")}static set pt(c){if(f.B.R("calculatedValuesOLAP")!=c){var a=!e.w(f.B.R("calculatedValuesOLAP"));f.B.la("calculatedValuesOLAP",c);a&&f.Za()}}static get z_(){return f.R("includeEmptySubtotalsOLAP")}static set z_(c){if(f.B.R("includeEmptySubtotalsOLAP")!=
c){var a=!e.w(f.B.R("includeEmptySubtotalsOLAP"));f.B.la("includeEmptySubtotalsOLAP",c);a&&f.Za()}}static get C2(){return f.R("showChartOneMeasureSelection")}static set C2(c){if(f.B.R("showChartOneMeasureSelection")!=c){var a=!e.w(f.B.R("showChartOneMeasureSelection"));f.B.la("showChartOneMeasureSelection",c);a&&f.Za()}}static get jfa(){return this.readOnly?this.vA.showChartMeasures:f.R("showChartMeasures")}static set jfa(c){if(f.B.R("showChartMeasures")!=c){var a=!e.w(f.B.R("showChartMeasures"));
f.B.la("showChartMeasures",c);a&&f.Za()}}static get bf(){return f.R("showTotals")}static set bf(c){if(f.B.R("showTotals")!=c){var a=!e.w(f.B.R("showTotals"));f.B.la("showTotals",c);f.nw=f.yC("showTotals");a&&f.Za()}}static get gfa(){return f.R("showAutoCalculationBar")}static set gfa(c){if(f.B.R("showAutoCalculationBar")!=c){var a=!e.w(f.B.R("showAutoCalculationBar"));f.B.la("showAutoCalculationBar",c);a&&f.Za()}}static get xg(){return f.R("showGrandTotals")}static set xg(c){if(f.B.R("showGrandTotals")!=
c){var a=!e.w(f.B.R("showGrandTotals"));f.B.la("showGrandTotals",c);f.nw=f.yC("showGrandTotals");a&&f.Za()}}static get zg(){return f.R("strictDataTypes")}static set zg(c){if(f.B.R("strictDataTypes")!==c){var a=!e.w(f.B.R("strictDataTypes"));f.B.la("strictDataTypes",c);a&&f.Za()}}static get VJ(){return f.R("defaultDateType")}static set VJ(c){if(f.B.R("defaultDateType")!=c&&e.v.j.input.qa.valid(c)){var a=!e.w(f.B.R("defaultDateType"));f.B.la("defaultDateType",c);a&&f.Za()}}static get Pn(){return f.R("datePattern")}static set Pn(c){if(f.B.R("datePattern")!=
c){var a=!e.w(f.B.R("datePattern"));f.B.la("datePattern",c);a&&f.Za()}}static get Wo(){return f.R("dateTimePattern")}static set Wo(c){if(f.B.R("dateTimePattern")!=c){var a=!e.w(f.B.R("dateTimePattern"));f.B.la("dateTimePattern",c);a&&f.Za()}}static get kF(){return f.R("dateTimezoneOffset")}static set kF(c){if(f.B.R("dateTimezoneOffset")!=c){var a=!e.w(f.B.R("dateTimezoneOffset"));f.B.la("dateTimezoneOffset",c);a&&f.Za()}}static get Pp(){return f.R("timePattern")}static set Pp(c){if(f.B.R("timePattern")!=
c){var a=!e.w(f.B.R("timePattern"));f.B.la("timePattern",c);a&&f.Za()}}static get A2(){return f.R("showCalculatedValuesButton")}static set A2(c){if(f.B.R("showCalculatedValuesButton")!=c){var a=!e.w(f.B.R("showCalculatedValuesButton"));f.B.la("showCalculatedValuesButton",c);a&&f.Za()}}static get QT(){return f.R("showOutdatedDataAlert")}static set QT(c){if(f.B.R("showOutdatedDataAlert")!=c){var a=!e.w(f.B.R("showOutdatedDataAlert"));f.B.la("showOutdatedDataAlert",c);a&&f.Za()}}static get b$(){return f.R("defaultHierarchySortName")}static set b$(c){if(f.B.R("defaultHierarchySortName")!=
c){var a=!e.w(f.B.R("defaultHierarchySortName"));f.B.la("defaultHierarchySortName",c);a&&f.Za()}}static get vw(){return f.R("showAggregationLabels")}static set vw(c){if(f.B.R("showAggregationLabels")!=c){var a=!e.w(f.B.R("showAggregationLabels"));f.B.la("showAggregationLabels",c);a&&f.Za()}}static get YF(){return f.R("grandTotalsPosition")}static set YF(c){if(f.B.R("grandTotalsPosition")!=c){var a=!e.w(f.B.R("grandTotalsPosition"));f.B.la("grandTotalsPosition",c);f.nw=f.yC("grandTotalsPosition");
a&&f.Za()}}static get JG(){return f.R("showReportFiltersArea")}static set JG(c){if(f.B.R("showReportFiltersArea")!=c){var a=!e.w(f.B.R("showReportFiltersArea"));f.B.la("showReportFiltersArea",c);a&&f.Za()}}static get Dv(){return this.readOnly?this.vA.dragging:f.R("dragging")}static set Dv(c){if(f.B.R("dragging")!=c){var a=!e.w(f.B.R("dragging"));f.B.la("dragging",c);a&&f.Za()}}static get W$(){return f.R("filterTimezoneOffset")}static set W$(c){if(f.B.R("filterTimezoneOffset")!=c){var a=!e.w(f.B.R("filterTimezoneOffset"));
f.B.la("filterTimezoneOffset",c);a&&f.Za()}}static JB(){var c=f.W$;if(!e.w(c)&&!isNaN(c))return c;c=f.kF;return e.w(c)||isNaN(c)?f.Pn!=f.zd.R("datePattern")?w.Lh.mf(f.Pn):f.Wo!=f.zd.R("dateTimePattern")?w.Lh.mf(f.Wo):null:c}static get Vn(){return f.R("filterWeekOffset")}static set Vn(c){if(f.B.R("filterWeekOffset")!=c){var a=!e.w(f.B.R("filterWeekOffset"));f.B.la("filterWeekOffset",c);a&&f.Za()}}static get rZ(){return f.R("filterDateFormat")}static set rZ(c){if(f.B.R("filterDateFormat")!=c){var a=
!e.w(f.B.R("filterDateFormat"));f.B.la("filterDateFormat",c);a&&f.Za()}}static get MQ(){return f.R("filterLiveSearch")}static set MQ(c){if(f.B.R("filterLiveSearch")!=c){var a=!e.w(f.B.R("filterLiveSearch"));f.B.la("filterLiveSearch",c);a&&f.Za()}}static get rp(){return f.R("liveFiltering")}static set rp(c){if(f.B.R("liveFiltering")!=c){var a=!e.w(f.B.R("liveFiltering"));f.B.la("liveFiltering",c);a&&f.Za()}}static get tB(){return f.R("fieldListPosition")}static set tB(c){if(f.B.R("fieldListPosition")!=
c){var a=!e.w(f.B.R("fieldListPosition"));f.B.la("fieldListPosition",c);a&&f.Za()}}static get FM(){return f.R("validateFormulas")}static set FM(c){if(f.B.R("validateFormulas")!=c){var a=!e.w(f.B.R("validateFormulas"));f.B.la("validateFormulas",c);a&&f.Za()}}static get yx(){return f.R("caseSensitiveMembers")}static set yx(c){if(f.B.R("caseSensitiveMembers")!=c){var a=!e.w(f.B.R("caseSensitiveMembers"));f.B.la("caseSensitiveMembers",c);a&&f.Za()}}static get sfa(){return f.R("simplifyFieldListFolders")}static set sfa(c){if(f.B.R("simplifyFieldListFolders")!=
c){var a=!e.w(f.B.R("simplifyFieldListFolders"));f.B.la("simplifyFieldListFolders",c);a&&f.Za()}}static get t3(){return f.R("validateReportFiles")}static set t3(c){if(f.B.R("validateReportFiles")!=c){var a=!e.w(f.B.R("validateReportFiles"));f.B.la("validateReportFiles",c);a&&f.Za()}}static get GP(){return f.R("allowBrowsersCache")}static set GP(c){if(f.B.R("allowBrowsersCache")!=c){var a=!e.w(f.B.R("allowBrowsersCache"));f.B.la("allowBrowsersCache",c);a&&f.Za()}}static get rs(){return f.R("showEmptyValues")}static set rs(c){if(f.B.R("showEmptyValues")!=
c){var a=!e.w(f.B.R("showEmptyValues"));f.B.la("showEmptyValues",c);a&&f.Za()}}static get Aq(){return f.R("distinguishNullUndefinedEmpty")}static set Aq(c){if(f.B.R("distinguishNullUndefinedEmpty")!=c){var a=!e.w(f.B.R("distinguishNullUndefinedEmpty"));f.B.la("distinguishNullUndefinedEmpty",c);a&&f.Za()}}static get jU(){return f.R("useCaptionsInCalculatedValueEditor")}static set jU(c){if(f.B.R("useCaptionsInCalculatedValueEditor")!=c){var a=!e.w(f.B.R("useCaptionsInCalculatedValueEditor"));f.B.la("useCaptionsInCalculatedValueEditor",
c);a&&f.Za()}}static get DQ(){return f.R("expandExecutionTimeout")}static set DQ(c){if(f.B.R("expandExecutionTimeout")!=c){var a=!e.w(f.B.R("expandExecutionTimeout"));f.B.la("expandExecutionTimeout",c);a&&f.Za()}}static get readOnly(){return f.R("readOnly")}static set readOnly(c){if(f.B.R("readOnly")!=c){var a=!e.w(f.B.R("readOnly"));f.B.la("readOnly",c);a&&f.Za()}}static Za(){f.QY||f.V().Ga(new r.da(k.qc.xd.Gm))}}f.nw=!1;f.QY=!1;f.Moa=["gridType","showTotals","showGrandTotals","grandTotalsPosition"];
f.vA={showFilter:!1,dragging:!1,showFilterInCharts:!1,showChartMeasures:!1,configuratorButton:!1,sorting:"off",drillThrough:!1};h.F=f})(k.B||(k.B={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){this.zd={configuratorActive:!1,configuratorOpened:!1,configuratorButton:!0,viewType:e.K.td.Es,chartTitle:"",gridType:e.K.Y.He.jz,gridTitle:"",chartType:e.K.nd.xe.iz,chartOneLevel:!1,chartOneLevelTuple:[],chartOneLevelColumnTuple:[],chartMultipleMeasures:!1,chartActiveMeasure:{},chartActiveMeasures:[],chartActiveTupleIndex:0,chartPosition:"bottom",chartAutoRange:!1,chartReversedAxes:!1,chartAxisShortNumberFormat:null,showFilter:!0,showFilterInCharts:!0,
showDefaultSlice:!0,useOlapFormatting:!1,showMemberProperties:!1,showEmptyData:!0,showAggregations:!0,showHierarchyCaptions:!0,drillthroughMaxRows:1E3,showAllFieldsDrillThrough:!1,showChartDataLabels:!1,showAllChartLabels:!1,showHeaders:!0,showReportFiltersArea:!0,showExtraTotalLabels:!1,showFieldListSearch:!1,drillThrough:!0,showDrillThroughConfigurator:!0,editing:!1,grouping:!1,sorting:"on",dragging:!0,showHierarchies:!0,showChartsWarning:!0,showChartLegend:!0,showChartLegendButton:!1,saveAllFormats:!1,
calculatedValuesOLAP:!1,includeEmptySubtotalsOLAP:!1,showChartOneMeasureSelection:!0,showChartMeasures:!0,showTotals:"on",showGrandTotals:"on",strictDataTypes:!1,defaultDateType:e.v.j.input.qa.Pa,datePattern:"dd/MM/yyyy",dateTimePattern:"dd/MM/yyyy HH:mm:ss",dateTimezoneOffset:null,timePattern:null,showCalculatedValuesButton:!0,showOutdatedDataAlert:!1,defaultHierarchySortName:e.v.j.Ba.gc,showAggregationLabels:!0,grandTotalsPosition:"top",showAutoCalculationBar:!0,filterTimezoneOffset:null,filterWeekOffset:1,
filterDateFormat:"dd/MM/yyyy",filterLiveSearch:!0,liveFiltering:!1,fieldListPosition:null,validateFormulas:!0,caseSensitiveMembers:!1,simplifyFieldListFolders:!1,validateReportFiles:!0,allowBrowsersCache:!1,showEmptyValues:!1,distinguishNullUndefinedEmpty:!1,useCaptionsInCalculatedValueEditor:!1,expandExecutionTimeout:9E3,readOnly:!1}}la(c,a){this[c]=a}R(c){return this[c]}TC(){for(var c in this.zd)this[c]=this.zd[c]}bra(){if(!e.w(void 0))for(var c=0;c<(void 0).length;c++){var a=(void 0)[c];void 0!=
this[a]&&(this[a]==this.zd[a]||"object"==typeof this[a]&&w.Jc.ag(this[a])&&w.Jc.ag(this.zd[a]))&&(this[a]=void 0)}else for(a in this.zd)if(this[a]==this.zd[a]||"object"==typeof this[a]&&w.Jc.ag(this[a])&&w.Jc.ag(this.zd[a]))this[a]=void 0}static yb(c){var a=new f;if(void 0==c)return a;null!=c.options&&(c=c.options);c instanceof f||(c=f.Jl(c));null!=c.configuratorActive&&a.la("configuratorActive",c.configuratorActive);null!=c.configuratorButton&&a.la("configuratorButton",c.configuratorButton);null!=
c.viewType&&e.K.td.dg(c.viewType)&&a.la("viewType",c.viewType);null!=c.chartTitle&&a.la("chartTitle",c.chartTitle);null!=c.gridTitle&&a.la("gridTitle",c.gridTitle);null!=c.chartType&&a.la("chartType",e.K.nd.xe.Mc(c.chartType));null!=c.chartOneLevel&&a.la("chartOneLevel",c.chartOneLevel);null!=c.chartOneLevelTuple&&a.la("chartOneLevelTuple",c.chartOneLevelTuple);null!=c.chartOneLevelColumnTuple&&a.la("chartOneLevelColumnTuple",c.chartOneLevelColumnTuple);null!=c.chartActiveMeasure&&a.la("chartActiveMeasure",
c.chartActiveMeasure);null!=c.chartActiveMeasures&&a.la("chartActiveMeasures",c.chartActiveMeasures);null!=c.chartActiveTupleIndex&&a.la("chartActiveTupleIndex",c.chartActiveTupleIndex);null!=c.chartAutoRange&&a.la("chartAutoRange",c.chartAutoRange);null!=c.chartReversedAxes&&a.la("chartReversedAxes",c.chartReversedAxes);null!=c.chartPosition&&a.la("chartPosition",c.chartPosition);null!=c.chartAxisShortNumberFormat&&a.la("chartAxisShortNumberFormat",c.chartAxisShortNumberFormat);null!=c.classicView&&
1==c.classicView&&a.la("gridType",e.K.Y.He.xu);null!=c.tableType&&c.tableType==e.K.Y.He.li&&a.la("gridType",e.K.Y.He.li);null!=c.flatView&&1==c.flatView&&a.la("gridType",e.K.Y.He.li);null!=c.gridType&&a.la("gridType",c.gridType);null!=c.showAutoCalculationBar&&a.la("showAutoCalculationBar",c.showAutoCalculationBar);null!=c.liveFiltering&&a.la("liveFiltering",c.liveFiltering);null!=c.fieldListPosition&&a.la("fieldListPosition",c.fieldListPosition);null!=c.showFilter&&a.la("showFilter",c.showFilter);
null!=c.showDefaultSlice&&a.la("showDefaultSlice",c.showDefaultSlice);null!=c.useOlapFormatting&&a.la("useOlapFormatting",c.useOlapFormatting);null!=c.showMemberProperties&&a.la("showMemberProperties",c.showMemberProperties);null!=c.showEmptyData&&a.la("showEmptyData",c.showEmptyData);null!=c.showFilterInCharts&&a.la("showFilterInCharts",c.showFilterInCharts);null!=c.showAggregations&&a.la("showAggregations",c.showAggregations);null!=c.showHierarchyCaptions&&a.la("showHierarchyCaptions",c.showHierarchyCaptions);
null!=c.drillthroughMaxRows&&a.la("drillthroughMaxRows",c.drillthroughMaxRows);null!=c.showAllFieldsDrillThrough&&a.la("showAllFieldsDrillThrough",c.showAllFieldsDrillThrough);null!=c.showFieldListSearch&&a.la("showFieldListSearch",c.showFieldListSearch);null!=c.showChartDataLabels&&a.la("showChartDataLabels",c.showChartDataLabels);null!=c.showAllChartLabels&&a.la("showAllChartLabels",c.showAllChartLabels);null!=c.chartMultipleMeasures&&a.la("chartMultipleMeasures",c.chartMultipleMeasures);null!=
c.showHeaders&&a.la("showHeaders",c.showHeaders);null!=c.showReportFiltersArea&&a.la("showReportFiltersArea",c.showReportFiltersArea);null!=c.showExtraTotalLabels&&a.la("showExtraTotalLabels",c.showExtraTotalLabels);null!=c.grouping&&a.la("grouping",c.grouping);null!=c.editing&&a.la("editing",c.editing);null!=c.drillThrough&&a.la("drillThrough",c.drillThrough);null!=c.showDrillThroughConfigurator&&a.la("showDrillThroughConfigurator",c.showDrillThroughConfigurator);null!=c.sorting&&(a.la("sorting",
c.sorting),"true"==a.R("sorting").toString().toLowerCase()&&a.la("sorting","on"),"false"==a.R("sorting").toString().toLowerCase()&&a.la("sorting","off"));null!=c.dragging&&a.la("dragging",c.dragging);null!=c.showHierarchies&&a.la("showHierarchies",c.showHierarchies);null!=c.showChartsWarning&&a.la("showChartsWarning",c.showChartsWarning);null!=c.showChartLegend&&a.la("showChartLegend",c.showChartLegend);null!=c.showChartLegendButton&&a.la("showChartLegendButton",c.showChartLegendButton);null!=c.saveAllFormats&&
a.la("saveAllFormats",c.saveAllFormats);null!=c.calculatedValuesOLAP&&a.la("calculatedValuesOLAP",c.calculatedValuesOLAP);null!=c.includeEmptySubtotalsOLAP&&a.la("includeEmptySubtotalsOLAP",c.includeEmptySubtotalsOLAP);null!=c.showChartOneMeasureSelection&&a.la("showChartOneMeasureSelection",c.showChartOneMeasureSelection);null!=c.showChartMeasures&&a.la("showChartMeasures",c.showChartMeasures);null!=c.showTotals&&(a.la("showTotals",c.showTotals),"true"==a.R("showTotals").toString().toLowerCase()&&
a.la("showTotals","on"),"false"==a.R("showTotals").toString().toLowerCase()&&a.la("showTotals","off"));null!=c.showGrandTotals&&(a.la("showGrandTotals",c.showGrandTotals),"true"==a.R("showGrandTotals").toString().toLowerCase()&&a.la("showGrandTotals","on"),"false"==a.R("showGrandTotals").toString().toLowerCase()&&a.la("showGrandTotals","off"));null!=c.defaultDateType&&a.la("defaultDateType",c.defaultDateType);null!=c.strictDataTypes&&a.la("strictDataTypes",c.strictDataTypes);null!=c.datePattern&&
a.la("datePattern",c.datePattern);null!=c.dateTimePattern&&a.la("dateTimePattern",c.dateTimePattern);null!=c.dateTimezoneOffset&&a.la("dateTimezoneOffset",c.dateTimezoneOffset);null!=c.timePattern&&a.la("timePattern",c.timePattern);null!=c.showCalculatedValuesButton&&a.la("showCalculatedValuesButton",c.showCalculatedValuesButton);null!=c.showOutdatedDataAlert&&a.la("showOutdatedDataAlert",c.showOutdatedDataAlert);null!=c.defaultHierarchySortName&&a.la("defaultHierarchySortName",c.defaultHierarchySortName);
null!=c.showAggregationLabels&&a.la("showAggregationLabels",c.showAggregationLabels);null!=c.grandTotalsPosition&&a.la("grandTotalsPosition",c.grandTotalsPosition);e.w(c.filterTimezoneOffset)||a.la("filterTimezoneOffset",c.filterTimezoneOffset);e.w(c.filterWeekOffset)||a.la("filterWeekOffset",c.filterWeekOffset);e.w(c.filterDateFormat)||a.la("filterDateFormat",c.filterDateFormat);e.w(c.filterLiveSearch)||a.la("filterLiveSearch",c.filterLiveSearch);e.w(c.caseSensitiveMembers)||a.la("caseSensitiveMembers",
c.caseSensitiveMembers);e.w(c.validateFormulas)||a.la("validateFormulas",c.validateFormulas);e.w(c.simplifyFieldListFolders)||a.la("simplifyFieldListFolders",c.simplifyFieldListFolders);e.w(c.validateReportFiles)||a.la("validateReportFiles",c.validateReportFiles);e.w(c.allowBrowsersCache)||a.la("allowBrowsersCache",c.allowBrowsersCache);e.w(c.showEmptyValues)||a.la("showEmptyValues",c.showEmptyValues);e.w(c.distinguishNullUndefinedEmpty)||a.la("distinguishNullUndefinedEmpty",c.distinguishNullUndefinedEmpty);
e.w(c.useCaptionsInCalculatedValueEditor)||a.la("useCaptionsInCalculatedValueEditor",c.useCaptionsInCalculatedValueEditor);!e.w(c.expandExecutionTimeout)&&c.expandExecutionTimeout>a.zd.expandExecutionTimeout&&a.la("expandExecutionTimeout",parseInt(c.expandExecutionTimeout));e.w(c.readOnly)||a.la("readOnly",c.readOnly);return a}static Jl(c){var a={};if(void 0==c)return a;null!=c.viewType&&(a.viewType=c.viewType);null!=c.configuratorActive&&(a.configuratorActive=c.configuratorActive);null!=c.configuratorButton&&
(a.configuratorButton=c.configuratorButton);null!=c.showAggregations&&(a.showAggregations=c.showAggregations);null!=c.showCalculatedValuesButton&&(a.showCalculatedValuesButton=c.showCalculatedValuesButton);null!=c.grouping&&(a.grouping=c.grouping);null!=c.editing&&(a.editing=c.editing);null!=c.drillThrough&&(a.drillThrough=c.drillThrough);null!=c.showDrillThroughConfigurator&&(a.showDrillThroughConfigurator=c.showDrillThroughConfigurator);null!=c.sorting&&(a.sorting=c.sorting);null!=c.strictDataTypes&&
(a.strictDataTypes=c.strictDataTypes);null!=c.defaultDateType&&(a.defaultDateType=c.defaultDateType);null!=c.datePattern&&(a.datePattern=c.datePattern);null!=c.dateTimePattern&&(a.dateTimePattern=c.dateTimePattern);null!=c.dateTimezoneOffset&&(a.dateTimezoneOffset=c.dateTimezoneOffset);null!=c.timePattern&&(a.timePattern=c.timePattern);null!=c.saveAllFormats&&(a.saveAllFormats=c.saveAllFormats);null!=c.showDefaultSlice&&(a.showDefaultSlice=c.showDefaultSlice);null!=c.useOlapFormatting&&(a.useOlapFormatting=
c.useOlapFormatting);null!=c.showMemberProperties&&(a.showMemberProperties=c.showMemberProperties);null!=c.showEmptyData&&(a.showEmptyData=c.showEmptyData);null!=c.defaultHierarchySortName&&(a.defaultHierarchySortName=c.defaultHierarchySortName);null!=c.calculatedValuesOLAP&&(a.calculatedValuesOLAP=c.calculatedValuesOLAP);null!=c.includeEmptySubtotalsOLAP&&(a.includeEmptySubtotalsOLAP=c.includeEmptySubtotalsOLAP);null!=c.showOutdatedDataAlert&&(a.showOutdatedDataAlert=c.showOutdatedDataAlert);null!=
c.showAggregationLabels&&(a.showAggregationLabels=c.showAggregationLabels);null!=c.liveFiltering&&(a.liveFiltering=c.liveFiltering);null!=c.fieldListPosition&&(a.fieldListPosition=c.fieldListPosition);null!=c.classicView&&(a.classicView=c.classicView);null!=c.flatView&&(a.flatView=c.flatView);null!=c.gridType&&(a.gridType=c.gridType);null!=c.gridTitle&&(a.gridTitle=c.gridTitle);null!=c.showFilter&&(a.showFilter=c.showFilter);null!=c.showHeaders&&(a.showHeaders=c.showHeaders);null!=c.showTotals&&(a.showTotals=
c.showTotals);null!=c.showGrandTotals&&(a.showGrandTotals=c.showGrandTotals);null!=c.grandTotalsPosition&&(a.grandTotalsPosition=c.grandTotalsPosition);null!=c.showExtraTotalLabels&&(a.showExtraTotalLabels=c.showExtraTotalLabels);null!=c.showHierarchies&&(a.showHierarchies=c.showHierarchies);null!=c.showHierarchyCaptions&&(a.showHierarchyCaptions=c.showHierarchyCaptions);null!=c.drillthroughMaxRows&&(a.drillthroughMaxRows=c.drillthroughMaxRows);null!=c.showAllFieldsDrillThrough&&(a.showAllFieldsDrillThrough=
c.showAllFieldsDrillThrough);null!=c.showReportFiltersArea&&(a.showReportFiltersArea=c.showReportFiltersArea);null!=c.dragging&&(a.dragging=c.dragging);null!=c.showAutoCalculationBar&&(a.showAutoCalculationBar=c.showAutoCalculationBar);null!=c.showFieldListSearch&&(a.showFieldListSearch=c.showFieldListSearch);null!=c.chartType&&(a.chartType=c.chartType);null!=c.chartTitle&&(a.chartTitle=c.chartTitle);null!=c.showFilterInCharts&&(a.showFilterInCharts=c.showFilterInCharts);null!=c.chartMultipleMeasures&&
(a.chartMultipleMeasures=c.chartMultipleMeasures);null!=c.chartOneLevel&&(a.chartOneLevel=c.chartOneLevel);null!=c.chartOneLevelTuple&&(a.chartOneLevelTuple=c.chartOneLevelTuple);null!=c.chartOneLevelColumnTuple&&(a.chartOneLevelColumnTuple=c.chartOneLevelColumnTuple);null!=c.chartAutoRange&&(a.chartAutoRange=c.chartAutoRange);null!=c.chartReversedAxes&&(a.chartReversedAxes=c.chartReversedAxes);null!=c.chartAxisShortNumberFormat&&(a.chartAxisShortNumberFormat=c.chartAxisShortNumberFormat);null!=c.showChartLegend&&
(a.showChartLegend=c.showChartLegend);null!=c.showChartLegendButton&&(a.showChartLegendButton=c.showChartLegendButton);null!=c.showChartDataLabels&&(a.showChartDataLabels=c.showChartDataLabels);null!=c.showAllChartLabels&&(a.showAllChartLabels=c.showAllChartLabels);null!=c.showChartMeasures&&(a.showChartMeasures=c.showChartMeasures);null!=c.showChartOneMeasureSelection&&(a.showChartOneMeasureSelection=c.showChartOneMeasureSelection);null!=c.showChartsWarning&&(a.showChartsWarning=c.showChartsWarning);
null!=c.chartPosition&&(a.chartPosition=c.chartPosition);null!=c.chartActiveTupleIndex&&(a.chartActiveTupleIndex=c.chartActiveTupleIndex);null!=c.chartActiveMeasure&&(a.chartActiveMeasure=c.chartActiveMeasure);null!=c.chartActiveMeasures&&(a.chartActiveMeasures=c.chartActiveMeasures);e.w(c.filterTimezoneOffset)||(a.filterTimezoneOffset=c.filterTimezoneOffset);e.w(c.filterWeekOffset)||(a.filterWeekOffset=c.filterWeekOffset);e.w(c.filterDateFormat)||(a.filterDateFormat=c.filterDateFormat);e.w(c.filterLiveSearch)||
(a.filterLiveSearch=c.filterLiveSearch);e.w(c.validateFormulas)||(a.validateFormulas=c.validateFormulas);e.w(c.caseSensitiveMembers)||(a.caseSensitiveMembers=c.caseSensitiveMembers);e.w(c.simplifyFieldListFolders)||(a.simplifyFieldListFolders=c.simplifyFieldListFolders);e.w(c.validateReportFiles)||(a.validateReportFiles=c.validateReportFiles);e.w(c.allowBrowsersCache)||(a.allowBrowsersCache=c.allowBrowsersCache);e.w(c.showEmptyValues)||(a.showEmptyValues=c.showEmptyValues);e.w(c.distinguishNullUndefinedEmpty)||
(a.distinguishNullUndefinedEmpty=c.distinguishNullUndefinedEmpty);e.w(c.useCaptionsInCalculatedValueEditor)||(a.useCaptionsInCalculatedValueEditor=c.useCaptionsInCalculatedValueEditor);e.w(c.expandExecutionTimeout)||(a.expandExecutionTimeout=c.expandExecutionTimeout);e.w(c.readOnly)||(a.readOnly=c.readOnly);if(null!=c.grid){var b=c.grid;null!=b.type&&(a.gridType=b.type);null!=b.title&&(a.gridTitle=b.title);null!=b.showFilter&&(a.showFilter=b.showFilter);null!=b.showHeaders&&(a.showHeaders=b.showHeaders);
null!=b.showAutoCalculationBar&&(a.showAutoCalculationBar=b.showAutoCalculationBar);null!=b.showTotals&&(a.showTotals=b.showTotals,"true"==a.showTotals.toString().toLowerCase()&&(a.showTotals="on"),"false"==a.showTotals.toString().toLowerCase()&&(a.showTotals="off"));null!=b.showGrandTotals&&(a.showGrandTotals=b.showGrandTotals,"true"==a.showGrandTotals.toString().toLowerCase()&&(a.showGrandTotals="on"),"false"==a.showGrandTotals.toString().toLowerCase()&&(a.showGrandTotals="off"));null!=b.grandTotalsPosition&&
(a.grandTotalsPosition=b.grandTotalsPosition);null!=b.showExtraTotalLabels&&(a.showExtraTotalLabels=b.showExtraTotalLabels);null!=b.showHierarchies&&(a.showHierarchies=b.showHierarchies);null!=b.showHierarchyCaptions&&(a.showHierarchyCaptions=b.showHierarchyCaptions);null!=b.drillthroughMaxRows&&(a.drillthroughMaxRows=b.drillthroughMaxRows);null!=b.showReportFiltersArea&&(a.showReportFiltersArea=b.showReportFiltersArea);null!=b.dragging&&(a.dragging=b.dragging);null!=b.showEmptyValues&&(a.showEmptyValues=
b.showEmptyValues);null!=b.distinguishNullUndefinedEmpty&&(a.distinguishNullUndefinedEmpty=b.distinguishNullUndefinedEmpty)}if(null!=c.chart){b=c.chart;null!=b.type&&(a.chartType=b.type);null!=b.title&&(a.chartTitle=b.title);null!=b.showFilter&&(a.showFilterInCharts=b.showFilter);null!=b.multipleMeasures&&(a.chartMultipleMeasures=b.multipleMeasures);null!=b.oneLevel&&(a.chartOneLevel=b.oneLevel);null!=b.autoRange&&(a.chartAutoRange=b.autoRange);null!=b.reversedAxes&&(a.chartReversedAxes=b.reversedAxes);
null!=b.showLegend&&(a.showChartLegend=b.showLegend);null!=b.showLegendButton&&(a.showChartLegendButton=b.showLegendButton);null!=b.showDataLabels&&(a.showChartDataLabels=b.showDataLabels);null!=b.showAllLabels&&(a.showAllChartLabels=b.showAllLabels);null!=b.showMeasures&&(a.showChartMeasures=b.showMeasures);null!=b.showOneMeasureSelection&&(a.showChartOneMeasureSelection=b.showOneMeasureSelection);null!=b.showWarning&&(a.showChartsWarning=b.showWarning);null!=b.position&&(a.chartPosition=b.position);
null!=b.pieDataIndex&&(a.chartActiveTupleIndex=parseInt(b.pieDataIndex));null!=b.axisShortNumberFormat&&(a.chartAxisShortNumberFormat=b.axisShortNumberFormat);if(null!=b.activeMeasure)if(a.chartMultipleMeasures){a.chartActiveMeasures=[];for(var d=Array.isArray(b.activeMeasure)?b.activeMeasure:b.activeMeasure.split(","),g=0;g<d.length;g++)if(null!=d[g].uniqueName){var l=new k.ab.Bg(d[g].uniqueName);null!=d[g].aggregation&&(l.fa=d[g].aggregation);a.chartActiveMeasures.push(l)}else a.chartActiveMeasures.push(new k.ab.Bg(d[g]))}else a.chartActiveMeasure=
new k.ab.Bg,null!=b.activeMeasure.uniqueName?(a.chartActiveMeasure.A=b.activeMeasure.uniqueName,null!=b.activeMeasure.aggregation&&(a.chartActiveMeasure.fa=b.activeMeasure.aggregation)):a.chartActiveMeasure.A=b.activeMeasure;null!=b.oneLevelTuple&&(a.chartOneLevelTuple=0<b.oneLevelTuple.length?b.oneLevelTuple.split(","):void 0);null!=b.oneLevelColumnTuple&&(a.chartOneLevelColumnTuple=0<b.oneLevelColumnTuple.length?b.oneLevelColumnTuple.split(","):void 0)}e.w(c.filter)||(c=c.filter,e.w(c.timezoneOffset)||
(a.filterTimezoneOffset=c.timezoneOffset),e.w(c.weekOffset)||(a.filterWeekOffset=c.weekOffset),e.w(c.dateFormat)||(a.filterDateFormat=c.dateFormat),e.w(c.liveSearch)||(a.filterLiveSearch=c.liveSearch));return a}Qa(){var c={};null!=this.viewType&&(c.viewType=this.viewType);var a={};this.gridType===e.K.Y.He.jz?a.type=e.K.Y.He.jz:this.gridType===e.K.Y.He.xu?a.type=e.K.Y.He.xu:this.gridType===e.K.Y.He.li&&(a.type=e.K.Y.He.li);null!=this.gridTitle&&(a.title=this.gridTitle);null!=this.showFilter&&(a.showFilter=
this.showFilter);null!=this.showHeaders&&(a.showHeaders=this.showHeaders);null!=this.showTotals&&(a.showTotals=this.showTotals);null!=this.showGrandTotals&&(a.showGrandTotals=this.showGrandTotals);null!=this.grandTotalsPosition&&(a.grandTotalsPosition=this.grandTotalsPosition);null!=this.showExtraTotalLabels&&(a.showExtraTotalLabels=this.showExtraTotalLabels);null!=this.showHierarchies&&(a.showHierarchies=this.showHierarchies);null!=this.showHierarchyCaptions&&(a.showHierarchyCaptions=this.showHierarchyCaptions);
null!=this.drillthroughMaxRows&&(a.drillthroughMaxRows=this.drillthroughMaxRows);null!=this.showReportFiltersArea&&(a.showReportFiltersArea=this.showReportFiltersArea);null!=this.dragging&&(a.dragging=this.dragging);null!=this.showAutoCalculationBar&&(a.showAutoCalculationBar=this.showAutoCalculationBar);w.Jc.ag(a)||(c.grid=a);a={};null!=this.chartType&&(a.type=this.chartType);null!=this.chartTitle&&(a.title=this.chartTitle);null!=this.showFilterInCharts&&(a.showFilter=this.showFilterInCharts);null!=
this.chartMultipleMeasures&&(a.multipleMeasures=this.chartMultipleMeasures);null!=this.chartOneLevel&&(a.oneLevel=this.chartOneLevel);null!=this.chartAutoRange&&(a.autoRange=this.chartAutoRange);null!=this.chartReversedAxes&&(a.reversedAxes=this.chartReversedAxes);null!=this.showChartLegend&&(a.showLegend=this.showChartLegend);null!=this.showChartLegendButton&&(a.showLegendButton=this.showChartLegendButton);null!=this.showChartDataLabels&&(a.showDataLabels=this.showChartDataLabels);null!=this.showAllChartLabels&&
(a.showAllLabels=this.showAllChartLabels);null!=this.showChartMeasures&&(a.showMeasures=this.showChartMeasures);null!=this.showChartOneMeasureSelection&&(a.showOneMeasureSelection=this.showChartOneMeasureSelection);null!=this.showChartsWarning&&(a.showWarning=this.showChartsWarning);null!=this.chartAxisShortNumberFormat&&(a.axisShortNumberFormat=this.chartAxisShortNumberFormat);this.viewType==e.K.td.qn&&null!=this.chartPosition&&(a.position=this.chartPosition);this.chartType==e.K.nd.xe.Ju&&null!=
this.chartActiveTupleIndex&&(a.pieDataIndex=this.chartActiveTupleIndex.toString());if(1==this.chartMultipleMeasures){if(null!=this.chartActiveMeasures){for(var b=[],d=0;d<this.chartActiveMeasures.length;d++){var g={};g.uniqueName=this.chartActiveMeasures[d].A;null!=this.chartActiveMeasures[d].fa&&""!==this.chartActiveMeasures[d].fa&&(g.aggregation=this.chartActiveMeasures[d].fa);b.push(g)}0<b.length&&(a.activeMeasure=b)}}else null!=this.chartActiveMeasure&&(g={},g.uniqueName=this.chartActiveMeasure.A,
null!=this.chartActiveMeasure.fa&&""!=this.chartActiveMeasure.fa&&(g.aggregation=this.chartActiveMeasure.fa),a.activeMeasure=g);!0===this.chartOneLevel&&null!=this.chartOneLevelTuple&&0<this.chartOneLevelTuple.length&&(a.oneLevelTuple=this.chartOneLevelTuple.join(","));!0===this.chartOneLevel&&null!=this.chartOneLevelColumnTuple&&0<this.chartOneLevelColumnTuple.length&&(a.oneLevelColumnTuple=this.chartOneLevelColumnTuple.join(","));w.Jc.ag(a)||(c.chart=a);a={};e.w(this.filterTimezoneOffset)||(a.timezoneOffset=
this.filterTimezoneOffset);e.w(this.filterWeekOffset)||(a.weekOffset=this.filterWeekOffset);e.w(this.filterDateFormat)||(a.dateFormat=this.filterDateFormat);e.w(this.filterLiveSearch)||(a.liveSearch=this.filterLiveSearch);w.Jc.ag(a)||(c.filter=a);null!=this.configuratorActive&&(c.configuratorActive=this.configuratorActive);null!=this.configuratorButton&&(c.configuratorButton=this.configuratorButton);null!=this.showAggregations&&(c.showAggregations=this.showAggregations);null!=this.showCalculatedValuesButton&&
(c.showCalculatedValuesButton=this.showCalculatedValuesButton);null!=this.grouping&&(c.grouping=this.grouping);null!=this.editing&&(c.editing=this.editing);null!=this.drillThrough&&(c.drillThrough=this.drillThrough);null!=this.showDrillThroughConfigurator&&(c.showDrillThroughConfigurator=this.showDrillThroughConfigurator);null!=this.sorting&&(c.sorting=this.sorting);null!=this.defaultDateType&&(c.defaultDateType=this.defaultDateType);null!=this.strictDataTypes&&(c.strictDataTypes=this.strictDataTypes);
null!=this.datePattern&&(c.datePattern=this.datePattern);null!=this.dateTimePattern&&(c.dateTimePattern=this.dateTimePattern);null!=this.dateTimezoneOffset&&(c.dateTimezoneOffset=this.dateTimezoneOffset);null!=this.timePattern&&(c.timePattern=this.timePattern);null!=this.saveAllFormats&&(c.saveAllFormats=this.saveAllFormats);null!=this.showDefaultSlice&&(c.showDefaultSlice=this.showDefaultSlice);null!=this.useOlapFormatting&&(c.useOlapFormatting=this.useOlapFormatting);null!=this.showMemberProperties&&
(c.showMemberProperties=this.showMemberProperties);null!=this.showEmptyData&&(c.showEmptyData=this.showEmptyData);null!=this.defaultHierarchySortName&&(c.defaultHierarchySortName=this.defaultHierarchySortName);!0===this.calculatedValuesOLAP&&(c.calculatedValuesOLAP=this.calculatedValuesOLAP);!0===this.includeEmptySubtotalsOLAP&&(c.includeEmptySubtotalsOLAP=this.includeEmptySubtotalsOLAP);null!=this.showOutdatedDataAlert&&(c.showOutdatedDataAlert=this.showOutdatedDataAlert);null!=this.showAggregationLabels&&
(c.showAggregationLabels=this.showAggregationLabels);null!=this.showAllFieldsDrillThrough&&(c.showAllFieldsDrillThrough=this.showAllFieldsDrillThrough);null!=this.liveFiltering&&(c.liveFiltering=this.liveFiltering);null!=this.fieldListPosition&&(c.fieldListPosition=this.fieldListPosition);null!=this.showFieldListSearch&&(c.showFieldListSearch=this.showFieldListSearch);e.w(this.validateFormulas)||(c.validateFormulas=this.validateFormulas);e.w(this.caseSensitiveMembers)||(c.caseSensitiveMembers=this.caseSensitiveMembers);
e.w(this.simplifyFieldListFolders)||(c.simplifyFieldListFolders=this.simplifyFieldListFolders);e.w(this.validateReportFiles)||(c.validateReportFiles=this.validateReportFiles);e.w(this.allowBrowsersCache)||(c.allowBrowsersCache=this.allowBrowsersCache);e.w(this.showEmptyValues)||(c.showEmptyValues=this.showEmptyValues);e.w(this.distinguishNullUndefinedEmpty)||(c.distinguishNullUndefinedEmpty=this.distinguishNullUndefinedEmpty);e.w(this.useCaptionsInCalculatedValueEditor)||(c.useCaptionsInCalculatedValueEditor=
this.useCaptionsInCalculatedValueEditor);!e.w(this.expandExecutionTimeout)&&this.expandExecutionTimeout>this.zd.expandExecutionTimeout&&(c.expandExecutionTimeout=this.expandExecutionTimeout);e.w(this.readOnly)||(c.readOnly=this.readOnly);return c}static Pj(c){var a=c.find("params"),b=new f;0!=a.find("param[name=configuratorActive]").length&&b.la("configuratorActive",e.P.Rc(a.find("param[name=configuratorActive]").text()));0!=a.find("param[name=configuratorButton]").length&&b.la("configuratorButton",
e.P.Rc(a.find("param[name=configuratorButton]").text()));0!=a.find("param[name=viewType]").length&&b.la("viewType",a.find("param[name=viewType]").text());0!=a.find("param[name=gridTitle]").length&&b.la("gridTitle",a.find("param[name=gridTitle]").text());0!=a.find("param[name=showFilter]").length&&b.la("showFilter",e.P.Rc(a.find("param[name=showFilter]").text()));0!=a.find("param[name=showFilterInCharts]").length&&b.la("showFilterInCharts",e.P.Rc(a.find("param[name=showFilterInCharts]").text()));0!=
a.find("param[name=showAggregations]").length&&b.la("showAggregations",e.P.Rc(a.find("param[name=showAggregations]").text()));0!=a.find("param[name=showHierarchyCaptions]").length&&b.la("showHierarchyCaptions",e.P.Rc(a.find("param[name=showHierarchyCaptions]").text()));0!=a.find("param[name=showHeaders]").length&&b.la("showHeaders",e.P.Rc(a.find("param[name=showHeaders]").text()));0!=a.find("param[name=showReportFiltersArea]").length&&b.la("showReportFiltersArea",e.P.Rc(a.find("param[name=showReportFiltersArea]").text()));
0!=a.find("param[name=showExtraTotalLabels]").length&&b.la("showExtraTotalLabels",e.P.Rc(a.find("param[name=showExtraTotalLabels]").text()));0!=a.find("param[name=editing]").length&&b.la("editing",e.P.Rc(a.find("param[name=editing]").text()));0!=a.find("param[name=grouping]").length&&b.la("grouping",e.P.Rc(a.find("param[name=grouping]").text()));0!=a.find("param[name=drillThrough]").length&&b.la("drillThrough",e.P.Rc(a.find("param[name=drillThrough]").text()));0!=a.find("param[name=showDrillThroughConfigurator]").length&&
b.la("showDrillThroughConfigurator",e.P.Rc(a.find("param[name=showDrillThroughConfigurator]").text()));0!=a.find("param[name=sorting]").length&&b.la("sorting",a.find("param[name=sorting]").text());0!=a.find("param[name=showHierarchies]").length&&b.la("showHierarchies",e.P.Rc(a.find("param[name=showHierarchies]").text()));0!=a.find("param[name=showTotals]").length&&(b.la("showTotals",a.find("param[name=showTotals]").text()),"true"==b.R("showTotals").toString().toLowerCase()&&b.la("showTotals","on"),
"false"==b.R("showTotals").toString().toLowerCase()&&b.la("showTotals","off"));0!=a.find("param[name=showGrandTotals]").length&&(b.la("showGrandTotals",a.find("param[name=showGrandTotals]").text()),"true"==b.R("showGrandTotals").toString().toLowerCase()&&b.la("showGrandTotals","on"),"false"==b.R("showGrandTotals").toString().toLowerCase()&&b.la("showGrandTotals","off"));0!=a.find("param[name=showDefaultSlice]").length&&b.la("showDefaultSlice",e.P.Rc(a.find("param[name=showDefaultSlice]").text()));
0!=a.find("param[name=useOlapFormatting]").length&&b.la("useOlapFormatting",e.P.Rc(a.find("param[name=useOlapFormatting]").text()));0!=a.find("param[name=showMemberProperties]").length&&b.la("showMemberProperties",e.P.Rc(a.find("param[name=showMemberProperties]").text()));0!=a.find("param[name=showEmptyData]").length&&b.la("showEmptyData",e.P.Rc(a.find("param[name=showEmptyData]").text()));0!=a.find("param[name=showChartDataLabels]").length&&b.la("showChartDataLabels",e.P.Rc(a.find("param[name=showChartDataLabels]").text()));
0!=a.find("param[name=showAllChartLabels]").length&&b.la("showAllChartLabels",e.P.Rc(a.find("param[name=showAllChartLabels]").text()));0!=a.find("param[name=strictDataTypes]").length&&b.la("strictDataTypes",e.P.Rc(a.find("param[name=strictDataTypes]").text()));0!=a.find("param[name=defaultDateType]").length&&b.la("defaultDateType",a.find("param[name = defaultDateType]").text());0!=a.find("param[name=datePattern]").length&&b.la("datePattern",a.find("param[name = datePattern]").text());0!=a.find("param[name=dateTimePattern]").length&&
b.la("dateTimePattern",a.find("param[name = dateTimePattern]").text());0!=a.find("param[name=classicView]").length&&1==e.P.Rc(a.find("param[name=classicView]").text())&&b.la("gridType",e.K.Y.He.xu);c=c.find("dataSource");void 0!==c.attr("tableType")&&c.attr("tableType")==e.K.Y.He.li&&b.la("gridType",e.K.Y.He.li);0!=a.find("param[name=flatView]").length&&1==e.P.Rc(a.find("param[name=flatView]").text())&&b.la("gridType",e.K.Y.He.li);0!=a.find("param[name=defaultHierarchySortName]").length?b.la("defaultHierarchySortName",
e.v.j.Ba.dg(a.find("param[name = defaultHierarchySortName]").text())?a.find("param[name=defaultHierarchySortName]").text():e.v.j.Ba.gc):b.la("defaultHierarchySortName",b.R("gridType")==e.K.Y.He.li?e.v.j.Ba.Yc:e.v.j.Ba.gc);0!=a.find("param[name=showCalculatedValuesButton]").length&&b.la("showCalculatedValuesButton",e.P.Rc(a.find("param[name = showCalculatedValuesButton]").text()));0!=a.find("param[name=showOutdatedDataAlert]").length&&b.la("showOutdatedDataAlert",e.P.Rc(a.find("param[name = showOutdatedDataAlert]").text()));
if(0!=a.find("param[name=chartType]").length){var d=a.find("param[name=chartType]");b.la("chartType",d.text());if(void 0!==d.attr("activeMeasure")){b.la("chartActiveMeasure",new k.ab.Bg(d.attr("activeMeasure")));void 0!==d.attr("activeMeasureAggregation")&&b.la("chartActiveMeasure.aggregation",d.attr("activeMeasureAggregation"));var g=[],l=d.attr("activeMeasure").split(","),m=void 0!==d.attr("activeMeasureAggregation")?d.attr("activeMeasureAggregation").split(","):[];for(c=0;c<l.length;c++){var n=
new k.ab.Bg(l[c]);m[c]&&(n.fa=m[c]);g.push(n)}0<g.length&&b.la("chartActiveMeasures",g)}void 0!==d.attr("pieDataIndex")&&b.la("chartActiveTupleIndex",parseInt(d.attr("pieDataIndex")));void 0!==d.attr("position")&&b.la("chartPosition",d.attr("position"));if(void 0!==d.attr("chartOneLevelTuple")){d=d.attr("chartOneLevelTuple").split(",");b.la("chartOneLevelTuple",[]);g=[];for(c=0;c<d.length;c++)g[c]=parseInt(d[c]);b.la("chartOneLevelTuple",g)}}0!=a.find("param[name=chartOneLevel]").length&&b.la("chartOneLevel",
e.P.Rc(a.find("param[name=chartOneLevel]").text()));0!=a.find("param[name=chartTitle]").length&&b.la("chartTitle",a.find("param[name=chartTitle]").text());0!=a.find("param[name=chartMultipleMeasures]").length&&b.la("chartMultipleMeasures",e.P.Rc(a.find("param[name=chartMultipleMeasures]").text()));0!=a.find("param[name=chartAutoRange]").length&&b.la("chartAutoRange",e.P.Rc(a.find("param[name=chartAutoRange]").text()));0!=a.find("param[name=chartReversedAxes]").length&&b.la("chartReversedAxes",e.P.Rc(a.find("param[name=chartReversedAxes]").text()));
0!=a.find("param[name=showChartsWarning]").length&&b.la("showChartsWarning",e.P.Rc(a.find("param[name=showChartsWarning]").text()));0!=a.find("param[name=showChartOneMeasureSelection]").length&&b.la("showChartOneMeasureSelection",e.P.Rc(a.find("param[name=showChartOneMeasureSelection]").text()));0!=a.find("param[name=showChartMeasures]").length&&b.la("showChartMeasures",e.P.Rc(a.find("param[name=showChartMeasures]").text()));0!=a.find("param[name=showChartLegendButton]").length&&b.la("showChartLegendButton",
e.P.Rc(a.find("param[name=showChartLegendButton]").text()));0!=a.find("param[name=saveAllFormats]").length&&b.la("saveAllFormats",e.P.Rc(a.find("param[name=saveAllFormats]").text()));0!=a.find("param[name=calculatedValuesOLAP]").length&&b.la("calculatedValuesOLAP",e.P.Rc(a.find("param[name=calculatedValuesOLAP]").text()));0!=a.find("param[name=includeEmptySubtotalsOLAP]").length&&b.la("includeEmptySubtotalsOLAP",e.P.Rc(a.find("param[name=includeEmptySubtotalsOLAP]").text()));return b}so(){var c=y.aa.create("<params/>");
null!=this.R("configuratorActive")&&c.append(y.aa.create("<param/>").attr("name","configuratorActive").text(this.R("configuratorActive")));null!=this.R("configuratorButton")&&c.append(y.aa.create("<param/>").attr("name","configuratorButton").text(this.R("configuratorButton")));null!=this.R("viewType")&&c.append(y.aa.create("<param/>").attr("name","viewType").text(this.R("viewType")));null!=this.R("gridTitle")&&c.append(y.aa.create("<param/>").attr("name","gridTitle").text(this.R("gridTitle")));null!=
this.R("chartTitle")&&c.append(y.aa.create("<param/>").attr("name","chartTitle").text(this.R("chartTitle")));null!=this.R("showFilter")&&c.append(y.aa.create("<param/>").attr("name","showFilter").text(this.R("showFilter")));null!=this.R("showFilterInCharts")&&c.append(y.aa.create("<param/>").attr("name","showFilterInCharts").text(this.R("showFilterInCharts")));null!=this.R("showAggregations")&&c.append(y.aa.create("<param/>").attr("name","showAggregations").text(this.R("showAggregations")));null!=
this.R("showHierarchyCaptions")&&c.append(y.aa.create("<param/>").attr("name","showHierarchyCaptions").text(this.R("showHierarchyCaptions")));null!=this.R("chartOneLevel")&&c.append(y.aa.create("<param/>").attr("name","chartOneLevel").text(this.R("chartOneLevel")));null!=this.R("chartAutoRange")&&c.append(y.aa.create("<param/>").attr("name","chartAutoRange").text(this.R("chartAutoRange")));null!=this.R("chartReversedAxes")&&c.append(y.aa.create("<param/>").attr("name","chartReversedAxes").text(this.R("chartReversedAxes")));
null!=this.R("chartMultipleMeasures")&&c.append(y.aa.create("<param/>").attr("name","chartMultipleMeasures").text(this.R("chartMultipleMeasures")));null!=this.R("showHeaders")&&c.append(y.aa.create("<param/>").attr("name","showHeaders").text(this.R("showHeaders")));null!=this.R("showReportFiltersArea")&&c.append(y.aa.create("<param/>").attr("name","showReportFiltersArea").text(this.R("showReportFiltersArea")));null!=this.R("showExtraTotalLabels")&&c.append(y.aa.create("<param/>").attr("name","showExtraTotalLabels").text(this.R("showExtraTotalLabels")));
null!=this.R("editing")&&c.append(y.aa.create("<param/>").attr("name","editing").text(this.R("editing")));null!=this.R("grouping")&&c.append(y.aa.create("<param/>").attr("name","grouping").text(this.R("grouping")));null!=this.R("drillThrough")&&c.append(y.aa.create("<param/>").attr("name","drillThrough").text(this.R("drillThrough")));null!=this.R("showDrillThroughConfigurator")&&c.append(y.aa.create("<param/>").attr("name","showDrillThroughConfigurator").text(this.R("showDrillThroughConfigurator")));
null!=this.R("sorting")&&c.append(y.aa.create("<param/>").attr("name","sorting").text(this.R("sorting")));null!=this.R("showTotals")&&c.append(y.aa.create("<param/>").attr("name","showTotals").text(this.R("showTotals")));null!=this.R("showHierarchies")&&c.append(y.aa.create("<param/>").attr("name","showHierarchies").text(this.R("showHierarchies")));null!=this.R("showGrandTotals")&&c.append(y.aa.create("<param/>").attr("name","showGrandTotals").text(this.R("showGrandTotals")));null!=this.R("defaultDateType")&&
c.append(y.aa.create("<param/>").attr("name","defaultDateType").text(this.R("defaultDateType")));null!=this.R("strictDataTypes")&&c.append(y.aa.create("<param/>").attr("name","strictDataTypes").text(this.R("strictDataTypes")));null!=this.R("datePattern")&&c.append(y.aa.create("<param/>").attr("name","datePattern").text(this.R("datePattern")));null!=this.R("dateTimePattern")&&c.append(y.aa.create("<param/>").attr("name","dateTimePattern").text(this.R("dateTimePattern")));null!=this.R("showChartsWarning")&&
c.append(y.aa.create("<param/>").attr("name","showChartsWarning").text(this.R("showChartsWarning")));null!=this.R("showChartOneMeasureSelection")&&c.append(y.aa.create("<param/>").attr("name","showChartOneMeasureSelection").text(this.R("showChartOneMeasureSelection")));null!=this.R("showChartMeasures")&&c.append(y.aa.create("<param/>").attr("name","showChartMeasures").text(this.R("showChartMeasures")));null!=this.R("showChartLegendButton")&&c.append(y.aa.create("<param/>").attr("name","showChartLegendButton").text(this.R("showChartLegendButton")));
null!=this.R("saveAllFormats")&&c.append(y.aa.create("<param/>").attr("name","saveAllFormats").text(this.R("saveAllFormats")));1==this.R("calculatedValuesOLAP")&&c.append(y.aa.create("<param/>").attr("name","calculatedValuesOLAP").text(this.R("calculatedValuesOLAP")));1==this.R("includeEmptySubtotalsOLAP")&&c.append(y.aa.create("<param/>").attr("name","includeEmptySubtotalsOLAP").text(this.R("includeEmptySubtotalsOLAP")));null!=this.R("defaultHierarchySortName")&&c.append(y.aa.create("<param/>").attr("name",
"defaultHierarchySortName").text(this.R("defaultHierarchySortName")));null!=this.R("gridType")&&this.R("gridType")==e.K.Y.He.xu&&c.append(y.aa.create("<param/>").attr("name","classicView").text(!0));null!=this.R("gridType")&&this.R("gridType")==e.K.Y.He.li&&c.append(y.aa.create("<param/>").attr("name","flatView").text(!0));null!=this.R("showDefaultSlice")&&c.append(y.aa.create("<param/>").attr("name","showDefaultSlice").text(this.R("showDefaultSlice")));null!=this.R("showEmptyData")&&c.append(y.aa.create("<param/>").attr("name",
"showEmptyData").text(this.R("showEmptyData")));null!=this.R("showMemberProperties")&&c.append(y.aa.create("<param/>").attr("name","showMemberProperties").text(this.R("showMemberProperties")));null!=this.R("useOlapFormatting")&&c.append(y.aa.create("<param/>").attr("name","useOlapFormatting").text(this.R("useOlapFormatting")));null!=this.R("showChartDataLabels")&&c.append(y.aa.create("<param/>").attr("name","showChartDataLabels").text(this.R("showChartDataLabels")));null!=this.R("showAllChartLabels")&&
c.append(y.aa.create("<param/>").attr("name","showAllChartLabels").text(this.R("showAllChartLabels")));null!=this.R("showCalculatedValuesButton")&&c.append(y.aa.create("<param/>").attr("name","showCalculatedValuesButton").text(this.R("showCalculatedValuesButton")));null!=this.R("showOutdatedDataAlert")&&c.append(y.aa.create("<param/>").attr("name","showOutdatedDataAlert").text(this.R("showOutdatedDataAlert")));var a=y.aa.create("<param/>").attr("name","chartType").text(null!=this.R("chartType")?this.R("chartType"):
this.zd.chartType);null!=this.R("chartActiveTupleIndex")&&a.attr("pieDataIndex",this.R("chartActiveTupleIndex").toString());a.attr("position",this.R("chartPosition"));if(this.R("chartMultipleMeasures")&&null!=this.R("chartActiveMeasures")){for(var b=[],d=[],g=0;g<this.R("chartActiveMeasures").length;g++)b.push(this.R("chartActiveMeasures")[g].A),d.push(this.R("chartActiveMeasures")[g].fa);0<b.length&&a.attr("activeMeasure",b.join(","));0<d.length&&a.attr("activeMeasureAggregation",d.join(","))}else null!=
this.R("chartActiveMeasure")&&(a.attr("activeMeasure",this.R("chartActiveMeasure").A),null!=this.R("chartActiveMeasure").fa&&""!=this.R("chartActiveMeasure").fa&&a.attr("activeMeasureAggregation",this.R("chartActiveMeasure").fa));this.R("chartOneLevel")&&0<this.R("chartOneLevelTuple").length&&a.attr("chartOneLevelTuple",this.R("chartOneLevelTuple").join(","));c.append(a);return c}rC(c){for(var a in c)this.zd.hasOwnProperty(a)&&void 0!=c[a]&&(this[a]=c[a])}}h.bq=f})(k.B||(k.B={}))})(e.i||(e.i={}))})(u||
(u={}));
(function(e){(function(k){(function(h){class f extends r.fh{constructor(){super();if(null!=f.La)throw Error("Singleton");}static V(){null==f.La&&(f.La=new f);return f.La}static dispose(){f.Wc=null;f.La=null}static add(c){null!=c&&(f.Wc.Ta(c.id,c),this.Za())}static get(c){return f.Wc.getItem(c)}static remove(c){f.Wc.removeItem(c);this.Za()}static X1(){f.Wc=new e.wb;this.Za()}static Ewa(){for(var c=[],a=0;a<f.Wc.length;a++){var b=f.Wc.ea(a);b.W_||c.push(b.Qa())}return c}static Za(){f.V().bb(k.qc.xd.Gm)}}f.Wc=
new e.wb;h.Xp=f})(k.va||(k.va={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(){this.id="";this.wt=this.nu=-1;this.je=this.hierarchy=this.Mb=this.measure="";this.Oe=[]}get W_(){return-1<this.je.toLowerCase().indexOf(e.v.j.lc.uO)||-1<this.je.toLowerCase().indexOf(e.v.j.lc.vO)}Qa(){var b={};b.id=this.id;b.row=this.nu;b.column=this.wt;void 0!==this.nm&&(b.isTotal=this.nm);b.measure=this.measure;b.member=this.Mb;b.hierarchy=this.hierarchy;b.formula=this.je;null!=this.format&&(b.format=this.format.Qa(),b.formatCSS=
this.format.toString());return b}static yb(b){var d=new c;d.id=null!=b.id?b.id:e.P.nK();null!=b.row&&(d.nu=b.row);null!=b.column&&(d.wt=b.column);if(null!=b.isTotal){if(1==b.isTotal||1==b.isTotal)d.nm=!0;if(0==b.isTotal||0==b.isTotal)d.nm=!1}null!=b.measure&&(d.measure=b.measure);null!=b.member&&(d.Mb=e.v.Se.xy(b.member));null!=b.hierarchy&&(d.hierarchy=e.v.Se.pg(b.hierarchy));d.je=b.formula;null!=b.format&&(d.format="string"===typeof b.format?a.UQ(b.format):a.yb(b.format));b=new w.SH;d.Oe=b.parse(d.je);
return null==d.Oe?null:d}}f.x4=c;class a{static yb(b){var d=new a;if(null==b)return d;null!=b.backgroundColor&&(d.backgroundColor=a.color(b.backgroundColor));null!=b.color&&(d.color=a.color(b.color));null!=b.fontFamily&&(d.fontFamily=b.fontFamily);null!=b.fontSize&&(d.fontSize=a.size(b.fontSize));null!=b.italic&&b.italic&&(d.fontStyle="italic");null!=b.fontStyle&&(d.fontStyle=b.fontStyle);null!=b.bold&&b.bold&&(d.fontWeight="bold");null!=b.fontWeight&&(d.fontWeight=b.fontWeight);null!=b.padding&&
(d.padding=a.size(Math.round(1.5*b.padding)));null!=b.textAlign&&(d.textAlign=b.textAlign);null!=b.textIndent&&(d.textIndent=a.size(b.textIndent));return d}static UQ(b){var d={};b=b.split(";");if(null!=b)for(var g=0;g<b.length;g++){var l=b[g].split(":")[0];""!=l&&(d[l]=b[g].split(":")[1])}return a.yb(d)}Qa(){var b={};null!=this.backgroundColor&&(b.backgroundColor=this.backgroundColor);null!=this.color&&(b.color=this.color);null!=this.fontFamily&&(b.fontFamily=this.fontFamily);null!=this.fontSize&&
(b.fontSize=this.fontSize);null!=this.fontStyle&&(b.fontStyle=this.fontStyle);null!=this.fontWeight&&(b.fontWeight=this.fontWeight);null!=this.padding&&(b.padding=this.padding);null!=this.textAlign&&(b.textAlign=this.textAlign);null!=this.textIndent&&(b.textIndent=this.textIndent);return b}Nfa(){var b={};null!=this.backgroundColor&&(b["background-color"]=this.backgroundColor);null!=this.color&&(b.color=this.color);null!=this.fontFamily&&(b["font-family"]=this.fontFamily);null!=this.fontSize&&(b["font-size"]=
this.fontSize);null!=this.fontStyle&&(b["font-style"]=this.fontStyle);null!=this.fontWeight&&(b["font-weight"]=this.fontWeight);null!=this.padding&&(b.padding=this.padding);null!=this.textAlign&&(b["text-align"]=this.textAlign);null!=this.textIndent&&(b["text-indent"]=this.textIndent);return b}toString(){var b="",d=this.Nfa(),g;for(g in d)b+=g+":"+d[g]+";";return b}static color(b){return b.replace("0x","#")}static size(b){return"number"==typeof b?b+"px":"string"==typeof b&&0>b.indexOf("px")?b.trim()+
"px":b}}f.rHa=a})(h.X||(h.X={}))})(k.va||(k.va={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){var h;(function(f){class c extends r.fh{constructor(){super();if(null!=c.La)throw Error("Singleton");}static V(){null==c.La&&(c.La=new c);return c.La}static dispose(){c.Ig=null;c.wg=null;c.vf=null;c.rj=null;c.rP=null;c.BE=null;c.mg=null;c.jf=null;c.tk=null;c.FO=null;c.eE=null;c.La=null}static get sea(){return this.rP=c.Qa(e.v.j.ga.Ia)}static get p9(){return this.FO=c.Qa(e.v.j.ga.Xa)}static clear(){c.vf={};c.jf={};c.BE={};c.rP={};c.eE={};c.FO={};c.rj={};c.tk={};c.wg=[];c.mg=
[];c.Ig=[]}static MX(a){if(c.X8(a.vf)||c.X8(a.jf))c.BE=c.y9(a.vf),c.eE=c.y9(a.jf),c.$da();else if(c.Y8(a.vf)||c.Y8(a.jf))c.BE=a.vf,c.eE=a.jf,c.$da();c.rj=a.rj;c.tk=a.tk;c.wg=a.wg;c.mg=a.mg;c.Ig=a.Ig}static $da(){k.Ua.V().Ja.LC==k.qc.xd.cj?this.wp():e.v.Sa.V().N(e.v.Sf.ek,c.wp,1)}static X8(a){var b=/[A-Za-z]+/,d;for(d in a)if(-1<a[d].toString().search(b))return!0;return!1}static Y8(a){var b=/[A-Za-z]+/,d;for(d in a)if(-1<d.toString().search(b))return!0;return!1}static y9(a){var b={};if(null!=a)for(var d in a){var g=
a[d];if(Array.isArray(g)&&0<g.length){var l=parseInt(g.pop());b[g.toString()]=l}}return b}static wp(){e.v.Sa.V().qb(e.v.Sf.ek,c.wp);c.vf=c.yb(e.v.j.ga.Ia);c.BE={};c.jf=c.yb(e.v.j.ga.Xa);c.eE={}}static yb(a){var b={},d=a==e.v.j.ga.Ia?c.BE:c.eE,g=e.v.Sa.V().za.ed(),l;for(l in d){var m=l.split(","),n=d[l],p=e.v.Sa.V().za.axes.getItem(a).hb;if(p&&!k.B.F.dc)if(e.v.j.ca.bz(m[m.length-1])||""==m[m.length-1]&&(""==m[m.length-2]||null!=g.find(B=>B.A===m[m.length-2]))){var q=new k.ab.Bg(m[m.length-2],m[m.length-
1]);m.splice(m.length-2,2)}else q=new k.ab.Bg(m[m.length-1]),m.splice(m.length-1,1);for(var t=!1,x=[],z=0;z<m.length;z++)if(k.B.F.dc)if(a==e.v.j.ga.Ia)x.push(m[z]);else{var A=m[z];A=e.v.Sa.V().ra.ne.indexOf(A);if(-1==A){t=!0;break}x.push(A)}else{A=e.v.Se.xy(m[z]);A=(a==e.v.j.ga.Ia?e.v.Sa.V().za.Ab.ea(z):e.v.Sa.V().za.Fb.ea(z)).Yb(A);if(null==A){t=!0;break}A.Rb?x.push(""):x.push(A.ordinal.toString())}if(!t){if(p&&!k.B.F.dc){p=(p=e.v.Sa.V().za.Zh(q))?p.index:-1;if(-1==p&&""!=q.A)continue;x.push(p)}b[x.toString()]=
n}}return b}static Qa(a){var b={},d=a==e.v.j.ga.Ia?c.vf:c.jf,g=e.w(e.v.Sa.V().za)?[]:e.v.Sa.V().za.ed(),l;for(l in d){var m=l.split(","),n=d[l],p=e.v.Sa.V().za.axes.getItem(a).hb;if(p&&!k.B.F.dc){var q=parseInt(m[m.length-1]);m.splice(m.length-1,1)}for(var t=!1,x=[],z=0;z<m.length;z++)if(k.B.F.dc)if(a==e.v.j.ga.Ia)x.push(m[z]);else{var A=""===m[z]?0:parseInt(m[z]);A=e.v.Sa.V().ra.ne[A];if(null==A){t=!0;break}x.push(A)}else{A=""===m[z]?0:parseInt(m[z]);var B=a==e.v.j.ga.Ia?e.v.Sa.V().za.Ab.ea(z):e.v.Sa.V().za.Fb.ea(z);
if(null==B){t=!0;break}A=B.ya(A);if(null==A){t=!0;break}x.push(A.fm)}if(!t){if(p&&!k.B.F.dc){if(q>=g.length)continue;-1==q&&1==g.length&&(q=0);m=g[q];x.push(m?m.A:"");x.push(m?m.fa:"")}b[x.toString()]=n}}return b}static VF(){const a=new k.ab.Ru;a.vf=h.jd.sea;a.jf=h.jd.p9;a.wg=h.jd.wg;a.mg=h.jd.mg;a.rj=h.jd.rj;a.tk=h.jd.tk;a.Ig=h.jd.Ig;a.cD=h.jd.cD;return a}}c.vf={};c.jf={};c.cD=0;c.rj={};c.tk={};c.wg=[];c.mg=[];c.Ig=[];c.BE={};c.rP={};c.eE={};c.FO={};f.jd=c})(h=k.size||(k.size={}))})(e.i||(e.i={}))})(u||
(u={}));(function(e){(function(k){(function(h){class f{static load(c,a){if(!e.w(f.QQ[c]))return a(null,f.QQ[c]);var b=new y.U6;b.N(r.da.Dc,()=>{try{var d=e.P.kta(new Uint8Array(b.response)),g=window.btoa(d);f.QQ[c]={name:c.substring(c.lastIndexOf("/")+1,c.lastIndexOf(".")),filename:c.substr(c.lastIndexOf("/")+1),content:g};a(null,f.QQ[c])}catch(l){a(l)}});b.N(r.da.Ca,()=>{a({message:k.C.u.ala,name:null})});b.load(c)}}f.QQ={};h.t5=f})(k.tc||(k.tc={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(c,a){this.jP=c;this.SW=a}get Vj(){return this.jP}get Zg(){return this.SW}fxa(){return Math.round(this.Vj*f.q7/f.X7)}lwa(){return Math.round(this.Zg*f.q7/f.X7)}static get pta(){return f.eoa}static jga(c){return void 0!=c&&f.Z7.hasOwnProperty(c.toLocaleLowerCase())?c.toLocaleLowerCase():f.pta}static QF(c){return this.Z7[c]}}f.X7=25.4;f.eoa="a4";f.q7=72;f.Z7={a0:new f(841,1189),a1:new f(594,841),a2:new f(420,594),a3:new f(297,420),a4:new f(210,
297),a5:new f(148,210)};h.Qw=f})(k.tc||(k.tc={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){throw Error("Singleton");}static Of(c,a,b=!1,d=null){switch(a.type){case h.Ci.Gu:f.EQ(c,a,b,d);break;case h.Ci.yz:f.N$(c,a,b,d);break;case h.Ci.Hz:f.lua(c,a,b,d)}}static tY(c){var a=c.find("line",!0);a=a.concat(c.find("path",!0));a=a.concat(c.find("circle",!0));for(var b=0;b<a.length;b++)if(null!=a[b]){var d=e.K.Y.X.Vc.Rx(a[b],["fill","stroke","shape-rendering","stroke-width"]);w.Dd().Si&&(d+="stroke-width: 1px");a[b].attr("style",d);a[b].attr("class",
"")}a=c.find("text",!0);for(b=0;b<a.length;b++)c=parseInt(a[b].U("font-size")),a[b].attr("style",e.K.Y.X.Vc.Rx(a[b],["font-family","font-weight","color","text-anchor","text-rendering"])+"white-space:nowrap;"),a[b].attr("font-size",c),a[b].attr("class","")}static LX(c,a){c.U("font-family",a.U("font-family"));c.U("font-size",a.U("font-size"));c.U("color",a.U("color"));c.U("border-top",a.U("border-top"));c.U("background",a.U("background"));c.U("padding-top",a.U("padding-top"));c.U("padding-left",a.U("padding-left"));
c.U("padding-right",a.U("padding-right"));c.U("padding-bottom",a.U("padding-bottom"));c.U("overflow","auto");for(var b=a.find(".fm-icon-display"),d=c.find(".fm-icon-display",!0),g=0;g<d.length;g++)d[g].U("display",b.U("display")),d[g].U("width",b.U("width")),d[g].U("height",b.U("height")),d[g].U("margin-right",b.U("margin-right")),d[g].U("vertical-align",b.U("vertical-align")),d[g].U("border-radius",b.U("border-radius")),d[g].text("");b=a.find(".fm-text-display");d=c.find(".fm-text-display",!0);for(g=
0;g<d.length;g++)d[g].U("color",b.U("color")),d[g].U("font-family",b.U("font-family")),d[g].U("font-size",b.U("font-size")),d[g].U("vertical-align",b.U("vertical-align")),d[g].U("margin-bottom",b.U("margin-bottom")||0);b=a.find("ul");d=c.find("ul",!0);for(g=0;g<d.length;g++)d[g].U("list-style-type",b.U("list-style-type")),d[g].U("padding-top",b.U("padding-top")||0),d[g].U("padding-right",b.U("padding-right")||0),d[g].U("padding-bottom",b.U("padding-bottom")||0),d[g].U("padding-left",b.U("padding-left")||
0),d[g].U("margin-top",b.U("margin-top")||0),d[g].U("margin-right",b.U("margin-right")||0),d[g].U("margin-bottom",b.U("margin-bottom")||0),d[g].U("margin-left",b.U("margin-left")||0);b=a.find("td");d=c.find("td",!0);for(g=0;g<d.length;g++)d[g].U("padding-top",b.U("padding-top")),d[g].U("padding-right",b.U("padding-right")),d[g].U("padding-bottom",b.U("padding-bottom")),d[g].U("padding-left",b.U("padding-left")),d[g].U("vertical-align",b.U("vertical-align"));a=a.find("li",!0);d=c.find("li",!0);for(g=
0;g<d.length;g++)d[g].U("padding-left",a[g].U("padding-left")),d[g].U("padding-top",a[g].U("padding-top")),d[g].U("padding-bottom",a[g].U("padding-bottom")),d[g].U("white-space","nowrap");c.find("table").U("width","initial")}static NJ(c){var a="";e.ia(c)||(a=c.replace(/##PAGE-NUMBER##/gi,f.Jk++ +""),a=a.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString()));return a}static EQ(c,a,b=!1,d=null){var g=c.Yl.Dr.G.find("svg").clone();try{b||f.mx(k.B.F.Xl,g,c.Yl.Tq.G);b&&(g.attr("viewBox","0 0 "+g.attr("width")+
" "+g.attr("height")),g.U("width","100%"));c.G.append(g);f.tY(g);g.nT("class");var l=y.aa.Bc(y.ZV.Ib(g.element));g.remove();if(c.Yl.Me){var m=c.Yl.Me.G.clone();f.LX(m,c.Yl.Me.G);b&&(m.U("max-width",""),m.U("padding-bottom","20px"));l+=m.element.outerHTML}if(b)return null!=d&&d(l),l;c="<!DOCTYPE html><html><head><meta charset='UTF-8'/><title>{0}</title></head><body>{1}{2}{3}</body></html>";m="";e.ia(a.vi)||(m=a.vi,m=m.replace(/##PAGE-NUMBER##/gi,""),m=m.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString()));
var n="";e.ia(a.em)||(n=a.em,n=n.replace(/##PAGE-NUMBER##/gi,""),n=n.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString()));c=e.P.bind(c,e.ia(k.B.F.Xl)?k.C.u.FU:k.B.F.Xl,m,l,n);c=y.aa.format(c);0==a.filename.length&&(a.filename="pivotchart.html");h.pn.save(c,a);k.Ua.V().Ga(new r.da(e.Vf.Lg))}catch(p){console.error("Export Charts error:",p);g.remove();e.Wa(k.C.u.Fs,k.C.u.Ca,e.Bb.Ca);if(b)return null!=d&&d(""),"";k.Ua.V().Ga(new r.da(e.Vf.Lg))}}static hQ(c){if(null==c)return null;c=c.replace(/##PAGE-NUMBER##/gi,
"");c=c.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString());return(new v.Da("div")).U("background","white").U("text-align","left").U("z-index",-1).html(c)}static N$(c,a,b=!1,d=null){const g=["lib/html2canvas.min.js","lib/canvg.min.js"];w.Dd().Si&&g.unshift("lib/promise.min.js");w.Ms.load(g,()=>{var l=document.createElement("canvas"),m=c.Yl.Dr.G.find("svg").clone();try{f.mx(k.B.F.Xl,m,c.Yl.Tq.G);m.prepend((new v.Da("rect")).U("width","100%").U("height","100%").U("fill","white"));f.kea(m);c.G.append(m);
f.tY(m);canvg(l,y.aa.Bc(y.ZV.Ib(m.element)));m.remove();var n=(new v.Da("img")).attr("src",l.toDataURL());b&&n.U("max-width","100%");var p=new v.Da("div");e.ia(a.vi)||p.append(this.hQ(a.vi));p.append(n);p.U("padding-top","10px");p.U("padding-bottom","10px");if(c.Yl.Me){var q=c.Yl.Me.G.clone();q.width=c.Yl.width;f.LX(q,c.Yl.Me.G);b&&(q.Zj("100%"),q.U("max-width",""));p.append(q)}e.ia(a.em)||p.append(this.hQ(a.em));if(b)return null!=d&&(p.U("position",c.G.U("position")),p.U("top",c.G.U("top")),p.U("bottom",
c.G.U("bottom")),p.U("left",c.G.U("left")),p.U("right",c.G.U("right")),p.width=c.pf(),d(p)),p.html();p.U("position","absolute").U("top",0).U("left",0).U("overflow","hidden").U("text-align","center").U("background","white").U("z-index",-1).Zj(e.K.Pb.qu);e.K.Pb.Gb.G.prepend(p);p.U("left",-p.left-p.width+"px");html2canvas(p.element).then(t=>{p.remove();a.kB==k.ab.zo.Jz?h.pn.save(t,a):(t=e.P.W9(t.toDataURL()),0==a.filename.length&&(a.filename="pivotchart.png"),h.pn.save(t,a));k.Ua.V().Ga(new r.da(e.Vf.Lg))})}catch(t){console.error("Export Charts error:",
t),m.remove(),null!=p&&p.remove(),e.Wa(k.C.u.Fs,k.C.u.Ca,e.Bb.Ca),b&&null!=d?d(""):k.Ua.V().Ga(new r.da(e.Vf.Lg))}})}static mx(c,a,b){if(0<c.length){var d=e.K.Y.X.Vc.Rx(b,["font-family","font-size","font-weight","color"]);c=(new v.Da("text")).attr("x","50%").attr("style","text-anchor:middle;"+d).text(c);a.prepend(c);c.attr("y",b.height);c=a.find("g");d=d3v3.transform(c.attr("transform"));d.translate[1]+=b.height;c.attr("transform",d.toString());a.attr("height",parseInt(a.attr("height"))+b.height)}}static get zB(){var c=
h.Qw.QF(f.Mq);return"portrait"===f.nb.AC?c.Zg:c.Vj}static get AB(){var c=h.Qw.QF(f.Mq);return"portrait"===f.nb.AC?c.Vj:c.Zg}static lua(c,a,b=!1,d=null){e.wa(!0,k.C.u.OD,"...",!0,!0);const g=["lib/html2canvas.min.js","lib/jspdf.min.js"];w.Dd().Si&&g.unshift("lib/promise.min.js");w.Ms.load(g,()=>{f.nb=a;f.Mq=h.Qw.jga(a.Mq);f.Gd=new jsPDF(a.AC,"mm",f.Mq,!w.Dd().Si);f.Je=d;f.Dr=c;f.T1=b;f.Zg=f.zB-2*f.rh;f.Vj=f.AB-2*f.rh;f.Hf=f.rh;try{f.q0(()=>{f.jQ(this.nb.vi,this.nb.em,()=>this.Q0())})}catch(l){console.error("Export PDF error:",
l),e.Wa(k.C.u.Fs,k.C.u.Ca,e.Bb.Ca),e.wa(!1),k.Ua.V().Ga(new r.da(e.Vf.Lg)),f.clear()}})}static q0(c){e.w(f.nb.PQ)?c():h.t5.load(f.nb.PQ,(a,b)=>{e.w(a)?e.w(b)||(f.font=b,f.Gd.addFileToVFS(b.filename,b.content),f.Gd.addFont(b.filename,b.name,"normal")):e.Wa(a.message,k.C.u.Ca,e.Bb.Ca);c()})}static jQ(c,a,b){var d=null==c,g=null==a;if(d&&g)b();else{if(!d){c=c.replace(/##PAGE-NUMBER##/gi,(f.Jk+1).toString());c=c.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString());var l=new v.Da("div");l.U("position",
"absolute");l.U("background","white");l.Zj(h.Ge.Ay(f.AB-2*f.mi));l.html(c);e.K.Pb.Gb.G.prepend(l);html2canvas(l.element,{scale:h.Ge.ih}).then(n=>{l.remove();f.hm=n;d=!0;g&&b()})}if(!g){a=a.replace(/##PAGE-NUMBER##/gi,(f.Jk+1).toString());a=a.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString());var m=new v.Da("div");m.U("position","absolute");m.U("background","white");m.Zj(h.Ge.Ay(f.AB-2*f.mi));m.html(a);e.K.Pb.Gb.G.prepend(m);html2canvas(m.element,{scale:h.Ge.ih}).then(n=>{m.remove();f.cp=n;
g=!0;d&&b()})}}}static vX(c,a){c.addImage(a,"JPEG",f.mi,f.mi,h.Ge.tf(a.width/h.Ge.ih),h.Ge.tf(a.height/h.Ge.ih))}static uX(c,a){c.addImage(a,"JPEG",f.mi,f.zB-h.Ge.tf(f.cp.height/h.Ge.ih)-f.mi,h.Ge.tf(a.width/h.Ge.ih),h.Ge.tf(a.height/h.Ge.ih))}static CP(){null!=f.hm&&f.vX(f.Gd,f.hm);null!=f.cp&&f.uX(f.Gd,f.cp);f.Zg=f.zB;f.Zg-=e.w(f.hm)?f.rh:h.Ge.tf(f.hm.height/h.Ge.ih)+2*f.mi;f.Zg-=e.w(f.cp)?f.rh:h.Ge.tf(f.cp.height/h.Ge.ih)+2*f.mi;f.Hf=e.w(f.hm)?f.rh:h.Ge.tf(f.hm.height/h.Ge.ih)+2*f.mi}static Q0(){f.CP();
f.yEa()}static Lqa(c){var a=f.Dr.Yl.Dr.G.find("svg").clone(),b=document.createElement("canvas");a.prepend((new v.Da("rect")).U("width","100%").U("height","100%").U("fill","white"));f.kea(a);a.attr("width",parseInt(a.attr("width"))*h.Ge.ih);a.attr("height",parseInt(a.attr("height"))*h.Ge.ih);f.Dr.G.append(a);f.tY(a);canvg(b,y.aa.Bc(y.ZV.Ib(a.element)),{scaleWidth:a.width*h.Ge.ih,scaleHeight:a.height*h.Ge.ih});a.detach();c(b)}static Pya(c){if(e.w(f.Dr.Yl.Me))c(null);else{var a=f.Dr.Yl.Me.G.clone();
a.width=f.Dr.Yl.width;f.LX(a,f.Dr.Yl.Me.G);a.U("border","none").U("position","absolute").U("top",0).U("left",0).U("overflow","hidden").U("background","white").U("z-index",-1);f.T1&&a.U("width","100%").U("max-width","");e.K.Pb.Gb.G.prepend(a);html2canvas(a.element,{scale:h.Ge.ih}).then(b=>{a.remove();c(b)})}}static yEa(){const c=["lib/html2canvas.min.js","lib/canvg.min.js"];w.Dd().Si&&c.unshift("lib/promise.min.js");w.Ms.load(c,()=>{try{f.Lqa(a=>{f.Pya(b=>{var d=document.createElement("canvas");d.width=
a.width;d.height=a.height+(b?h.Ge.Ay(f.rh)/2+b.height:0);var g=d.getContext("2d");g.fillStyle="#FFFFFF";g.fillRect(0,0,d.width,d.height);g.drawImage(a,0,0);b&&g.drawImage(b,0,d.height-b.height);f.T1&&null!=f.Je?(k.B.F.Zd==e.K.td.Bi&&0==f.nb.filename.length&&(f.nb.filename="pivotcharts.pdf"),f.Je(d)):(f.Hf+=h.Ge.mx(k.B.F.Xl,f.Gd,f.Hf,f.font),b=f.Cea(h.Ge.tf(d.width),h.Ge.tf(d.height),f.Vj,f.Zg),f.Gd.addImage(d,"JPEG",f.rh+b.x,f.Hf,b.width,b.height),0==f.nb.filename.length&&(f.nb.filename="pivotcharts.pdf"),
f.nb.kB==k.ab.zo.Jz?h.pn.save(f.Gd,f.nb):h.pn.save(e.P.V2(f.Gd.output()),f.nb),f.clear(),k.Ua.V().Ga(new r.da(e.Vf.Lg)))})})}catch(a){console.error("Export Charts error:",a),e.Wa(k.C.u.Fs,k.C.u.Ca,e.Bb.Ca),f.T1&&null!=f.Je?f.Je(null):k.Ua.V().Ga(new r.da(e.Vf.Lg)),f.clear()}})}static clear(){f.Dr=null;f.nb=null;f.Gd=null;f.Hf=0;f.Zg=0;f.Vj=0;f.Jk=0;f.hm=null;f.cp=null}static kea(c){c=c.find("title",!0);for(var a=0;a<c.length;a++)c[a].remove()}static Cea(c,a,b,d){var g={x:0,y:0,width:0,height:0};if(c>
b-0||a>d-0)d=Math.min((b-0)/c,(d-0)/a),c*=d,a*=d;g.x=(b-0-c)/2;g.y=0;g.width=c;g.height=a;return g}}f.font=null;f.Je=null;f.mi=5;f.rh=15;f.Mq="a4";f.Jk=0;h.lz=f})(k.tc||(k.tc={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){throw Error("Singleton");}static Of(c,a,b=null){const d=["lib/html2canvas.min.js"];w.Dd().Si&&d.unshift("lib/promise.min.js");w.Ms.load(d,()=>{f.nb=a;this.Ksa();const g=c.G.clone(),l=this.hQ(g,b);e.K.Pb.Gb.G.prepend(l);null==b?l.Ip(g.height+this.Raa()):l.Ip(e.K.Pb.Gb.Ap()+this.Raa());l.U("left",-l.left-l.width+"px");try{html2canvas(l.element).then(m=>{f.bAa(m);l.fg()})}catch(m){console.error("Export Image error:",m),e.Wa(k.C.u.Fs,k.C.u.Ca,
e.Bb.Ca),l.fg(),k.Ua.V().Ga(new r.da(e.Vf.Lg)),f.clear()}},()=>{k.Ua.V().Ga(new r.da(e.Vf.Lg));f.clear()})}static hQ(c,a){a=(new v.Da("div")).U("position","absolute").U("top","0px").U("left","0px").U("overflow","hidden").U("text-align","center").U("background","white").Zj(e.K.Pb.qu).U("z-index",-1).append(a);null!=f.Pt&&a.append(f.Pt);a.append(c.U("position","relative"));null!=f.Jt&&a.append(f.Jt);return a}static Raa(){return(null==this.Pt?0:this.Pt.height)+(null==this.Jt?0:this.Jt.height)}static Ksa(){const c=
h.Qw.QF("a4");let a=this.nb.vi,b=this.nb.em,d=null==a,g=null==b;d&&g||(d||(a=a.replace(/##PAGE-NUMBER##/gi,""),a=a.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString()),this.Pt=new v.Da("div"),this.Pt.U("background","white"),this.Pt.U("text-align","left"),this.Pt.U("z-index",-1),this.Pt.Zj(h.Ge.Ay(c.Vj-2*this.mi)),this.Pt.html(a)),g||(b=b.replace(/##PAGE-NUMBER##/gi,""),b=b.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString()),this.Jt=new v.Da("div"),this.Jt.U("background","white"),this.Jt.U("text-align",
"left"),this.Jt.U("z-index",-1),this.Jt.Zj(h.Ge.Ay(c.Vj-2*this.mi)),this.Jt.html(b)))}static bAa(c){if(f.nb.kB==k.ab.zo.Jz)h.pn.save(c,f.nb);else try{var a=e.P.W9(c.toDataURL());0==f.nb.filename.length&&(f.nb.filename="pivotgrid.png");e.w(a)||h.pn.save(a,f.nb)}catch(b){e.Wa("Due to security reason export to image cannot be completed when you run the component from the local folder.",k.C.u.Ca,e.Bb.Ca)}k.Ua.V().Ga(new r.da(e.Vf.Lg));f.clear()}static clear(){f.nb=null;f.Pt=null;f.Jt=null}}f.mi=5;h.V4=
f})(k.tc||(k.tc={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{static Of(c,a,b,d,g=null){e.wa(!0,k.C.u.OD,"...",!0,!0);const l=["lib/html2canvas.min.js","lib/jspdf.min.js"];w.Dd().Si&&l.unshift("lib/promise.min.js");w.Ms.load(l,()=>{f.clear();f.Y=c;f.od=d;f.vd=b;f.coords=c.ka.coords;f.nb=a;f.Mq=h.Qw.jga(a.Mq);f.Gd=new jsPDF(a.AC,"mm",f.Mq,!w.Dd().Si);f.qv=g;f.F1=null!=g&&k.B.F.Zd==e.K.td.Bi;f.Zg=f.zB-2*f.rh;f.Vj=f.AB-2*f.rh;f.g3=f.Y.Tf+b;f.h3=f.Y.Te+d;f.dz={};f.Hf=f.rh;try{f.d9(),f.e_(),f.q0(()=>{f.jQ(f.nb.vi,f.nb.em,
()=>this.Q0())})}catch(m){console.error("Export PDF error:",m),e.Wa(k.C.u.Fs,k.C.u.Ca,e.Bb.Ca),e.wa(!1),k.Ua.V().Ga(new r.da(e.Vf.Lg)),f.clear()}})}static q0(c){e.w(f.nb.PQ)?c():h.t5.load(f.nb.PQ,(a,b)=>{e.w(a)?e.w(b)||(f.font=b,f.Gd.addFileToVFS(b.filename,b.content),f.Gd.addFont(b.filename,b.name,"normal")):e.Wa(a.message,k.C.u.Ca,e.Bb.Ca);c()})}static jQ(c,a,b){let d=null==c||null!=f.hm&&-1==c.search(f.WN),g=null==a||null!=f.cp&&-1==a.search(f.WN);if(d&&g)b();else{if(!d){c=c.replace(f.WN,(f.Jk+
1).toString());c=c.replace(f.r4,(new Date).toLocaleString());var l=new v.Da("div");l.U("position","absolute");l.U("background","white");l.Zj(f.Ay(f.AB-2*f.mi));l.html(c);e.K.Pb.Gb.G.prepend(l);html2canvas(l.element,{scale:f.ih}).then(n=>{l.remove();f.hm=n;d=!0;g&&b()})}if(!g){a=a.replace(f.WN,(f.Jk+1).toString());a=a.replace(f.r4,(new Date).toLocaleString());var m=new v.Da("div");m.U("position","absolute");m.U("background","white");m.Zj(f.Ay(f.AB-2*f.mi));m.html(a);e.K.Pb.Gb.G.prepend(m);html2canvas(m.element,
{scale:f.ih}).then(n=>{m.remove();f.cp=n;g=!0;d&&b()})}}}static vX(c,a){c.addImage(a,"JPEG",f.mi,f.mi,f.tf(a.width/f.ih),f.tf(a.height/f.ih))}static uX(c,a){c.addImage(a,"JPEG",f.mi,f.zB-f.tf(a.height/f.ih)-f.mi,f.tf(a.width/f.ih),f.tf(a.height/f.ih))}static CP(){null!=f.hm&&f.vX(f.Gd,f.hm);null!=f.cp&&f.uX(f.Gd,f.cp);f.Zg=f.zB;f.Zg-=e.w(f.hm)?f.rh:f.tf(f.hm.height/f.ih)+2*f.mi;f.Zg-=e.w(f.cp)?f.rh:f.tf(f.cp.height/f.ih)+2*f.mi;f.Hf=e.w(f.hm)?f.rh:f.tf(f.hm.height/f.ih)+2*f.mi}static get zB(){var c=
h.Qw.QF(f.Mq);return"portrait"===f.nb.AC?c.Zg:c.Vj}static get AB(){var c=h.Qw.QF(f.Mq);return"portrait"===f.nb.AC?c.Vj:c.Zg}static Q0(){f.CP();if(null!=f.qv){f.Hf+=f.mx(k.B.F.Xl,f.Gd,f.Hf,f.font);var c=h.lz.Cea(f.tf(f.qv.width),f.tf(f.qv.height),f.Vj,f.Zg),a=e.ia(k.B.F.Xl)?f.Hf:f.Hf+5;f.Gd.addImage(f.qv,"JPEG",f.rh,a,c.width,c.height);f.F1||this.B8()}f.F1?f.uda():(f.Hf+=f.mx(k.B.F.ip,f.Gd,f.Hf,f.font),f.LDa(),k.B.F.JG&&f.mK(),w.al.Cn({po:()=>f.CZ(),Je:()=>f.uda()}))}static mx(c,a,b,d){if(e.ia(c))return 0;
e.w(d)?a.setFontStyle("bold"):a.setFont(d.name,"normal");a.setTextColor(0,0,0);a.setFontSize(12);d=12*a.getStringUnitWidth(c)/a.internal.scaleFactor;d=(a.internal.pageSize.getWidth()-d)/2;a.text(c,d,b);return f.tf(12)}static r9(c,a,b){var d=.8*Math.max(f.tf(30),6),g=.9*f.xG(f.a$);c=f.Gd.splitTextToSize(c,g,f.Lt(b));a=f.Gd.splitTextToSize(a,g,f.Lt(b));b=1<c.length?f.tf(c.length*(11+2*f.pi)-2*f.pi):f.tf(11*c.length-f.pi);a=1<a.length?f.tf(a.length*(11+2*f.pi)-2*f.pi):f.tf(11*a.length-f.pi);a=(b>a?b:
a)/d;return 1>a?d:(a+1)*d}static mK(){if(!(f.Y instanceof e.K.lf.CD||0==e.v.Sa.V().za.lb.length)){var c=k.Ua.V().ja.za.rc(),a=e.v.Sa.V().za.lb,b=f.rh,d=.9*f.xG(f.a$);var g=!0;var l=f.Y.ka.Kf(0,0,!0),m=f.KQ.clone();m=f.Py(l,m);for(var n=m.fontSize,p=0;p<c.length;p++){var q=c.ea(p);if(a.Sb(q.A)&&q.filter.Xg){var t=f.Vx(q);g&&(g=f.r9("",k.C.u.Bu,m),f.lK(f.Gd.splitTextToSize("",d,f.Lt(m)),l,m,b,d,g),b+=d,m.fontSize=n,f.lK(f.Gd.splitTextToSize(k.C.u.Bu,d,f.Lt(m)),l,m,b,d,g),m.fontSize=n,b=f.rh,f.Hf+=g,
f.os+=g);g=f.r9(q.caption,t,m);f.lK(f.Gd.splitTextToSize(f.p3(q.caption),d,f.Lt(m)),l,m,b,d,g);b+=d;m.fontSize=n;f.lK(f.Gd.splitTextToSize(f.p3(t),d,f.Lt(m)),l,m,b,d,g);m.fontSize=n;b=f.rh;f.Hf+=g;f.os+=g;g=!1}}f.Hf=f.Hf>f.rh?f.Hf+2*f.xG(f.Z9):f.Hf;f.os=f.Hf>f.rh?f.os+2*f.xG(f.Z9):f.os}}static p3(c){c=c.replace(/<(?:.|\n)*?>/gi,"");var a=c.match(/&#(\d{3,4});/gi);if(a)for(var b,d=0;d<a.length;d++)b=parseInt(a[d].substring(2,a[d].length-1)),c=c.replace(a[d],String.fromCharCode(b));return c}static lK(c,
a,b,d,g,l){var m=c.length,n=1<m?f.tf(c.length*(b.fontSize+2*f.pi)-2*f.pi):f.tf(c.length*b.fontSize-f.pi);n>f.Zg/2&&(n=(f.Zg-20)/2,m=Math.floor(f.Ay(n)/(b.fontSize+2*f.pi)));b.fontSize*=.7;var p=e.K.Y.X.Vc.L1(b.backgroundColor);f.Gd.setFillColor(p[0],p[1],p[2],0!=p[3]?void 0:0);p=e.K.Y.X.Vc.L1(b.borderColor);f.Gd.setDrawColor(p[0],p[1],p[2],0!=p[3]?void 0:0);p=e.K.Y.X.Vc.L1(b.color);f.Gd.setTextColor(p[0],p[1],p[2]);e.w(f.font)?f.Gd.setFontStyle("bold"==b.fontWeight?"bold":"normal"):f.Gd.setFont(f.font.name,
"normal");f.Gd.setFontSize(b.fontSize);f.Gd.rect(d,f.Hf,g,l,"FD");l=f.Hf+(l-n)/2+f.pi;if("right"==b.textAlign)if(1<c.length)for(b=0;b<m;b++)f.Gd.text(c[b],d+g-f.pi,l,null,null,"right"),l+=2*f.pi;else f.Gd.text(c[0],d+g-f.pi+("("==c[0].charAt(0)&&")"==c[0].charAt(c[0].length-1)?1.5:0),l,null,null,"right");else if(1<c.length)for(b=0;b<m;b++)g=!k.B.F.pk&&null!=a&&0<a.level?(a.level+1)*f.pi:f.pi,f.Gd.text(c[b],d+g,l),l+=2*f.pi;else g=!k.B.F.pk&&null!=a&&0<a.level?(a.level+1)*f.pi:f.pi,f.Gd.text(c[0],
d+g,l)}static Vx(c){var a=k.C.u.zH;c.filter.Xg&&(a=1==c.fb.length?c.ya(c.fb[0]).caption:k.C.u.FH);return a}static e_(){var c=f.Y.ka,a=c.find(".fm-data-sheet");f.LP=e.K.Y.X.Vc.sl(e.K.Y.X.xa.we,a);f.f3=e.K.Y.X.Vc.sl(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Qu,a);f.k_=e.K.Y.X.Vc.sl(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Qu+" "+e.K.Y.X.xa.JH,a);f.g2=e.K.Y.X.Vc.sl(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Aj+" "+e.K.Y.X.xa.Fu,v.Da.Ib(c.element));f.dY=e.K.Y.X.Vc.sl(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Aj+" "+e.K.Y.X.xa.xz,v.Da.Ib(c.element));f.KQ=
e.K.Y.X.Vc.sl(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Aj+" "+e.K.Y.X.xa.dr,v.Da.Ib(c.element))}static IF(c){c=f.xG(f.Y.ka.coords.Vg(c));c=c<f.Vj?c:f.Vj-1;return.9*c}static Py(c,a){null!=c&&c.Tt&&null!=c.style&&(c=0<c.style.eB.length?e.K.Y.X.Vc.sl(c.style.fR()):e.K.Y.X.Vc.UQ(c.style.xR()),c.merge(a),a=c);a.color=a.color||"rgb(0,0,0)";"rgb(33, 33, 33)"==a.backgroundColor&&(a.color="rgb(242, 242, 242)");a.backgroundColor=a.backgroundColor||"rgb(0,0,0,0)";a.borderColor=a.borderColor||"rgb(222,222,222)";a.fontSize=
a.fontSize||11;return a}static Lt(c){return{fontSize:.85*c.fontSize,fontName:null==c.fontFamily?f.vja:c.fontFamily,fontStyle:e.K.Y.X.Fja.jwa(parseFloat(c.fontWeight))}}static LDa(){f.NR=Array(f.h3);for(var c,a=0,b,d;a<f.h3;){f.Y.ka.coords.co(a,NaN)&&(f.NR[a]=0,a++);b=c=0;for(var g=.8*Math.max(f.tf(f.coords.Md(a)),6);c<f.g3;){f.Y.ka.coords.co(NaN,c)&&(f.dz[c]=0,c++);d=f.Y.ka.Kf(a,c,!0);new e.K.Y.X.Vc;var l=f.LP.clone();l=f.Py(d,l);if(null!=d){var m=d.J();"number"===typeof m&&(d.value=m,m+="",d.numeric=
!0);m=m.replace(/<(?:.|\n)*?>/gi,"");d=f.Gd.splitTextToSize(m,null!=f.dz&&null!=f.dz[c]?f.dz[c]:f.IF(c),f.Lt(l));d=(1<d.length?f.tf(d.length*(11+2*f.pi)-2*f.pi):f.tf(11*d.length-f.pi))/g;d=1>d?g:(d+1)*g;d=d>f.Zg/2?(f.Zg-1)/2:d;b=d>b?d:b}c++}f.NR[a]=b;a++}}static CZ(){if(f.AO)return!1;for(var c=0;c<f.Yq;c++){if(f.LL&&(f.B8(),f.AO))return!1;var a,b=f.rh,d=f.Hr-f.lQ<f.Y.Te&&f.Hr>f.Y.Ho?f.Hr-f.lQ:f.Hr;if(f.Y.ka.coords.co(d,NaN))f.Hr++;else{var g=f.NR[d];for(f.yt=f.Ir;f.yt<f.Ex+f.Ir;){var l=(a=k.B.F.dc?
!1:f.yt==f.Ir&&f.yt>f.Y.Ho)?f.Y.Ho:f.yt;if(f.Y.ka.coords.co(NaN,l))f.yt++;else if(!f.qJ()&&f.os+g<=f.Zg){a=null!=f.dz&&null!=f.dz[l]?f.dz[l]:f.IF(l);if(.9*(b+a)>f.Vj)break;l=f.Y.ka.Kf(d,l,!0);var m=e.w(l)?"":l.J();"number"===typeof m&&(l.value=m,m+="",l.numeric=!0);m=f.p3(m);var n=[m];new e.K.Y.X.Vc;if(null!=l&&l.di){var p=f.g2.clone();p=f.Py(l,p);n=f.Gd.splitTextToSize(m,a,f.Lt(p))}else null!=l&&l.oh?(p=f.dY.clone(),p=f.Py(l,p),n=f.Gd.splitTextToSize(m,a,f.Lt(p))):null!=l&&l.Bk?(p=f.KQ.clone(),p=
f.Py(l,p)):null!=l&&l.gC&&l.nm&&""!=l.J()?(p=f.k_.clone(),p=f.Py(l,p)):null!=l&&l.nm&&""!=l.J()?(p=f.f3.clone(),p=f.Py(l,p)):(p=f.LP.clone(),p=f.Py(l,p),n=f.Gd.splitTextToSize(m,a,f.Lt(p)));f.lK(n,l,p,b,a,g);f.yt++;b+=a}else{f.LL=!0;break}}f.LL||(f.Hf+=g,f.os+=g,f.Hr++);if(f.FP()&&f.qJ())break}}return f.FP()&&f.qJ()}static FP(){return f.Ir+f.Ex>=f.vd+f.Y.Tf}static qJ(){return f.Hr>=f.od+f.Y.Te}static B8(){f.Gd.addPage();f.Jk++;f.LL=!1;f.AO=!0;f.jQ(f.nb.vi,f.nb.em,()=>{f.AO=!1;f.CP()});f.os=0;if(null==
f.qv||1<f.Jk)f.wFa(),f.vFa();e.wa(!0,k.C.u.OD,f.Jk+1+" "+k.C.u.b6,!0)}static wFa(){f.FP()&&!f.qJ()?(f.Hr-=f.Y.Te,f.lQ=f.Hr):f.Hr=f.lQ}static vFa(){f.FP()?f.qJ()||(f.Ir=0,f.yt=0):(f.Ir+=f.Ex,f.yt=f.Ir);f.d9()}static d9(){f.Ex=0;var c=f.Ir,a=0;if(k.B.F.dc||f.Y instanceof e.K.lf.CD?0:f.Ir>=f.Y.Tf){var b=f.IF(f.Y.Ho);a+=b;f.Ex++;f.Ir--;f.yt--}for(;c<f.g3;)if(b=f.IF(c),b>f.Vj/2-f.rh&&(b=(f.Vj+f.rh)/2,f.dz[c]=b),a+=b,a<=f.Vj)f.Ex++,c++;else{0==f.Ex&&(f.Ex=1);break}}static uda(){0==f.nb.filename.length&&
(f.nb.filename="pivot.pdf");if(f.nb.kB==k.ab.zo.Jz)h.pn.save(f.Gd,f.nb);else{var c=f.Gd.output();c=e.P.V2(c);h.pn.save(c,f.nb)}f.clear();k.Ua.V().Ga(new r.da(e.Vf.Lg))}static clear(){f.Y=null;f.nb=null;f.Gd=null;f.font=null;f.vd=0;f.od=0;f.g3=0;f.h3=0;f.Ex=0;f.yt=0;f.Ir=0;f.Hr=0;f.lQ=0;f.os=0;f.Hf=0;f.LL=!1;f.Jk=0;f.Zg=0;f.Vj=0;f.hm=null;f.cp=null;f.NR=null}static xG(c){return.264*c}static Ay(c){return 3.779*c}static tf(c){return c/3.779}}f.rh=15;f.LL=!1;f.Jk=0;f.F1=!1;f.vja="Helvetica";f.font=null;
f.Mq="a4";f.a$=100;f.Z9=30;f.WN=/##PAGE-NUMBER##/gi;f.r4=/##CURRENT-DATE##/gi;f.ih=4;f.mi=5;f.AO=!1;f.Yq=5;f.pi=f.xG(8);h.Ge=f})(k.tc||(k.tc={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){throw Error("Singleton");}static Of(c,a,b,d,g=""){f.Y=c;f.vd=b;f.od=d;f.nb=a;f.qv=g||"";try{f.EQ()}catch(l){console.error("Export HTML error:",l),e.Wa(k.C.u.Fs,k.C.u.Ca,e.Bb.Ca),e.wa(!1),k.Ua.V().Ga(new r.da(e.Vf.Lg)),f.clear()}}static EQ(){e.wa(!0,k.C.u.Ow);f.dm=w.nf();f.Qt="";f.mb=f.Y.dj;f.us=[];k.B.F.JG&&f.mK();w.al.Cn({po:()=>f.CZ(),Je:()=>f.jBa()})}static DZ(){var c="",a=f.Y.ka,b=a.find(".fm-data-sheet");c+=e.P.bind("body{{0}}\n",e.K.Y.X.Vc.Rx(v.Da.Ib(a.element),
["font-family"]));c+=e.P.bind(".grid{border-collapse:collapse;{0}border-top:1px solid #e9e9e9;border-left:1px solid #e9e9e9;}\n",e.K.Y.X.Vc.Rx(v.Da.Ib(a.element),["font-family","font-size","color"]));c+=e.P.bind(".title{{0}}\n",e.K.Y.X.Vc.vk(e.K.Y.X.xa.SV,v.Da.Ib(a.element)));c+=e.P.bind(".cell{{0}}\n",e.K.Y.X.Vc.vk(e.K.Y.X.xa.we,b));c+=e.P.bind(".totalCell{{0}}\n",e.K.Y.X.Vc.vk(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Qu,b));c+=e.P.bind(".grandTotalCell{{0}}\n",e.K.Y.X.Vc.vk(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Qu+
" "+e.K.Y.X.xa.JH,b));c+=e.P.bind(".rowHeaderCell{{0}}\n",e.K.Y.X.Vc.vk(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Aj+" "+e.K.Y.X.xa.Fu,v.Da.Ib(a.element)));c+=e.P.bind(".columnHeaderCell{{0}}\n",e.K.Y.X.Vc.vk(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Aj+" "+e.K.Y.X.xa.xz,v.Da.Ib(a.element)));c+=e.P.bind(".filterHeaderCell{{0}}\n",e.K.Y.X.Vc.vk(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Aj+" "+e.K.Y.X.xa.dr,v.Da.Ib(a.element)));for(b=1;20>=b;b++)c+=e.P.bind(".level{0}{{1}}\n",b,e.K.Y.X.Vc.vk(e.K.Y.X.xa.Fu+" "+e.K.Y.X.xa.Ue+b,v.Da.Ib(a.element),
["padding-left"]));for(b=0;b<f.us.length;b++)c+=e.P.bind(".{0}{{1}}\n",f.us[b],e.K.Y.X.Vc.vk(f.us[b],v.Da.Ib(a.element)));return c}static KX(c){for(var a=0;a<c.length;a++)0>f.us.indexOf(c[a])&&f.us.push(c[a])}static mK(){if(!(f.Y instanceof e.K.lf.CD||0==e.v.Sa.V().za.lb.length))for(var c=k.Ua.V().ja.za.rc(),a=e.v.Sa.V().za.lb,b,d,g=!0,l,m="style='min-width:"+f.Gza+"px;'",n=0;n<c.length;n++)d=c.ea(n),l="",a.Sb(d.A)&&d.filter.Xg&&(b=f.Vx(d),g&&(l+="<td {0}></td>",l=e.P.bind(l,"class='filterHeaderCell' "+
m),l+="<td {0}>"+k.C.u.Bu+"</td>",l=e.P.bind(l,"class='filterHeaderCell' "+m),f.vB+="<tr>"+l+"</tr>",l=""),l+="<td {0}>"+d.caption+"</td>",l=e.P.bind(l,"class='filterHeaderCell' "+m),l+="<td {0}>"+b+"</td>",l=e.P.bind(l,"class='filterHeaderCell' "+m),f.vB+="<tr>"+l+"</tr>",g=!1)}static Vx(c){var a=k.C.u.zH;c.filter.Xg&&(a=1==c.fb.length?c.ya(c.fb[0]).caption:k.C.u.FH);return a}static CZ(){var c="";if(f.Y.ka.coords.co(f.mb,NaN))return f.mb++>=f.od+f.Y.Te;for(var a=f.Y.Ho;a<f.vd+f.Y.Tf;a++)if(!f.Y.ka.coords.co(NaN,
a)){var b=f.Y.ka.Kf(f.mb,a,!0);c+="<td {0}>"+(b?b.J(!0):"")+"</td>";if(null==b)c=e.P.bind(c,"class='cell'");else{var d="",g="";b.Tt&&null!=b.style&&(g=b.style.xR(),d=b.style.fR(),f.KX(b.style.eB));d=b.di?d+(" rowHeaderCell level"+b.level):b.oh?d+" columnHeaderCell":b.Bk?d+" filterHeaderCell":b.gC&&b.nm&&""!=b.J(!0)?d+" grandTotalCell":b.nm&&""!=b.J(!0)?d+" totalCell":d+" cell";null!=b&&b.Bk&&(d+=" level"+b.level);""!=d.trim()&&(d="class='"+d.trim()+"'");g+="width:"+f.Y.ka.coords.Vg(a)+"px;";""!=g.trim()&&
(g="style='"+g.trim()+"'");c=e.P.bind(c,d+" "+g)}}f.VL+="<tr>"+c+"</tr>";200<w.nf()-f.dm&&(e.wa(!0,k.C.u.Ow,e.P.bind("{0}%",(f.mb/(f.od+f.Y.Te)*100).toFixed(0))),f.dm=w.nf());return++f.mb>=f.od+f.Y.Te}static jBa(){e.wa(!1);f.DEa();f.clear()}static DEa(){0==f.nb.filename.length&&(f.nb.filename="pivotgrid.html");var c="";if(!e.ia(f.nb.vi)){var a=f.nb.vi;a=a.replace(/##PAGE-NUMBER##/gi,"");a=a.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString());c+=a}e.ia(f.qv)||(e.ia(k.B.F.Xl)||(c+="<div class='title'>"+
k.B.F.Xl+"</div>"),c+=f.qv);c+="<div class='title'>"+k.B.F.ip+"</div>";c+=0<f.vB.length?"<table class='grid'>"+f.vB+"</table><br><br><table class='grid'>"+f.VL+"</table>":"<table class='grid'>"+f.VL+"</table>";e.ia(f.nb.em)||(a=f.nb.em,a=a.replace(/##PAGE-NUMBER##/gi,""),a=a.replace(/##CURRENT-DATE##/gi,(new Date).toLocaleString()),c+=a);f.Qt="<!DOCTYPE html><html><head><meta charset='UTF-8'/>";f.Qt+="<title>"+(e.ia(k.B.F.ip)?k.C.u.FU:k.B.F.ip)+"</title>";f.Qt+="<style>"+f.DZ()+"</style></head>";
f.Qt+="<body>"+c+"</body></html>";h.pn.save(f.Qt,f.nb);k.Ua.V().Ga(new r.da(e.Vf.Lg))}static clear(){f.mb=0;f.Qt="";f.vB="";f.VL="";f.vd=0;f.od=0;f.Y=null;f.nb=null;f.qv=""}}f.mb=0;f.dm=0;f.Qt="";f.vB="";f.VL="";f.Gza=100;f.Yq=10;h.U4=f})(k.tc||(k.tc={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){throw Error("Singleton");}static Of(c,a,b,d){f.Y=c;f.vd=b;f.od=d;f.nb=a;try{f.mua()}catch(g){console.error("Export XLS error:",g),e.Wa(k.C.u.Fs,k.C.u.Ca,e.Bb.Ca),e.wa(!1),k.Ua.V().Ga(new r.da(e.Vf.Lg))}}static mua(){e.wa(!0,k.C.u.Ow);f.mb=f.Y.dj;f.Re=0;f.dm=w.nf();f.WL=[];f.Rf=new S.Gna;var c=k.C.u.FU;e.ia(f.nb.iZ)?e.ia(k.B.F.ip)||(c=k.B.F.ip):c=f.nb.iZ;c=new S.Hna(c);f.Rf.bh.push(c);f.e_();this.nb.vi?f.y8(this.nb.vi):f.Rpa();f.mx();k.B.F.JG&&
f.rpa();w.al.Cn({po:()=>f.xva(),Je:()=>f.QCa()})}static e_(){var c=f.Y.ka.element;f.LP=e.K.Y.X.Vc.sl(e.K.Y.X.xa.we,v.Da.Ib(c),!1);f.f3=e.K.Y.X.Vc.sl(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Qu,v.Da.Ib(c),!1);f.k_=e.K.Y.X.Vc.sl(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Qu+" "+e.K.Y.X.xa.JH,v.Da.Ib(c),!1);f.g2=e.K.Y.X.Vc.sl(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Aj+" "+e.K.Y.X.xa.Fu,v.Da.Ib(c),!1);f.dY=e.K.Y.X.Vc.sl(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Aj+" "+e.K.Y.X.xa.xz,v.Da.Ib(c),!1);f.KQ=e.K.Y.X.Vc.sl(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Aj+" "+
e.K.Y.X.xa.dr,v.Da.Ib(c),!1);for(var a=1;20>=a;a++)f.h2[a]=e.K.Y.X.Vc.sl(e.K.Y.X.xa.we+" "+e.K.Y.X.xa.Aj+" "+e.K.Y.X.xa.Fu+" "+e.K.Y.X.xa.Ue+a,v.Da.Ib(c),!1)}static QCa(){f.y8(this.nb.em,!0);f.Fza();e.wa(!1);f.HEa()}static HEa(){f.mb=f.Y.dj;0==f.nb.filename.length&&(f.nb.filename="pivot.xlsx");h.pn.save(f.Rf.oGa(),f.nb);f.Rf=null;f.nb=null;k.Ua.V().Ga(new r.da(e.Vf.Lg))}static xva(){for(var c=f.od+f.Y.Te,a=f.Y.Ho;a<f.vd+f.Y.Tf;a++){var b=f.Y.ka.Kf(f.mb,a,!0);let q=e.w(b)?"":b.J();q=q?q:"";let t;e.w(b)||
null!=b.measure&&(b.measure.type==e.v.j.Na.Pa?isNaN(b.value)||(t=f.rsa(b.value,b.measure)):b.measure.type==e.v.j.Na.Cc?isNaN(b.value)||(t=f.ssa(b.value,b.measure)):b.measure.type==e.v.j.Na.bc&&(isNaN(b.value)||(t=f.tsa(b.value))));"number"===typeof q&&(b.value=q,q+="",b.numeric=!0);var d=null!=b&&(b.di||b.oh);f.nb.F$&&""==q&&null!=b&&null!=b.Mb&&(q=b.Mb.caption);if(""!=q.trim()||d){new e.K.Y.X.Vc;d=null!=b&&b.di?0<b.level&&f.h2[b.level]?f.h2[b.level].clone():f.g2.clone():null!=b&&b.oh?f.dY.clone():
null!=b&&b.Bk?f.KQ.clone():null!=b&&b.gC&&b.nm&&""!=b.J()?f.k_.clone():null!=b&&b.nm&&""!=b.J()?f.f3.clone():f.LP.clone();if(null!=b&&b.Tt&&null!=b.style){var g=0<b.style.eB.length?e.K.Y.X.Vc.sl(b.style.fR()):e.K.Y.X.Vc.UQ(b.style.xR());g.merge(d);d=g}d.color=d.color||"rgb(0,0,0)";"rgb(33, 33, 33)"==d.backgroundColor&&(d.color="rgb(242, 242, 242)");d.backgroundColor=d.backgroundColor||"rgb(255,255,255)";d.fontSize=d.fontSize?f.UDa(d.fontSize):8;var l=new S.hd.fonts.Tu(e.w(d.fontFamily)?"Tahoma":d.fontFamily,
d.fontSize,e.P.Xn(d.color));l.bold="bold"==d.fontWeight||700<=parseInt(d.fontWeight);l.mC=!1;var m=null,n=g=!1;if(b.numeric){if(null!=b.measure){m=b.measure.$f();n=""!=m.ds?!0:n;g=e.v.j.ca.Yd(b.measure.fa)||b.measure.Ra&&-1<b.measure.je.indexOf("percent");var p=m.Ufa();if(g||m.Yd)m=m.clone(),m.gd="%",p=m.Ufa();m=new S.hd.format.Ps(""==p?0:-1,p)}}else null==b.measure||b.measure.type!=e.v.j.Na.Pa&&b.measure.type!=e.v.j.Na.Cc?null!=b.measure&&b.measure.type==e.v.j.Na.bc&&(0<=t?m=new S.hd.format.Ps(165,
f.Pp):(t=Math.abs(t),m=new S.hd.format.Ps(166,"-"+f.Pp))):m=b.measure.type==e.v.j.Na.Cc?new S.hd.format.Ps(164,"dd.mm.yyyy h:mm:ss"):new S.hd.format.Ps(14,"");m&&f.Rf.styleSheet.spa(m);l=new S.hd.Vz(l,e.P.Xn(d.backgroundColor),m,b.Tt&&void 0==d.textAlign&&b.Fh?"right":d.textAlign);!k.B.F.pk&&b&&b.di&&0<b.level&&(l.textIndent=b.level);f.Rf.styleSheet.kv(l);m=null!=b.measure?b.measure.$f():null;q=e.P.zF(q);b.numeric?null==m||b.label!=m.aC&&b.label!=m.mB?b.Tt&&f.Sxa()&&f.nb.hga?(n=b.J(),f.Rf.bh[0].Wi(f.mb-
f.Y.dj+f.Re,a,!isNaN(b.value)&&b.label==n&&b.numeric?f.laa(b.value,m,g):e.P.zF(n),l)):(t=f.laa(b.value,m,g),f.Rf.bh[0].Wi(f.mb-f.Y.dj+f.Re,a,isNaN(b.value)&&n?b.J():t,l)):f.Rf.bh[0].Wi(f.mb-f.Y.dj+f.Re,a,b.J(),l):f.nb.az||!b.Fh||null==b.measure||b.measure.type!=e.v.j.Na.Pa&&b.measure.type!=e.v.j.Na.Cc?!f.nb.az&&b.Fh&&null!=b.measure&&b.measure.fa==e.v.j.ca.NONE?f.Rf.bh[0].Wi(f.mb-f.Y.dj+f.Re,a,b.value,l):!f.nb.az&&b.Fh&&null!=b.measure&&b.measure.type==e.v.j.Na.bc?f.Rf.bh[0].Wi(f.mb-f.Y.dj+f.Re,a,
t,l):f.Rf.bh[0].Wi(f.mb-f.Y.dj+f.Re,a,q,l):f.Rf.bh[0].Wi(f.mb-f.Y.dj+f.Re,a,t,l);null!=b&&(0==f.Rf.bh[0].IF(a)&&f.Rf.bh[0].Rea(a,f.qsa(f.Y.ka.coords.Vg(a))),a!=f.Y.Ho||f.Y.ka.coords.Bya(f.mb)||(b=f.LJ(f.Y.ka.coords.Md(f.mb)),f.Rf.bh[0].uw(f.mb+f.Re,b)),q.length>d.width&&f.Rf.bh[0].Rea(a,f.LJ(q.length+f.cellPadding)>f.LJ(f.A4)?f.LJ(f.A4):f.LJ(q.length+f.cellPadding)))}}200<w.nf()-f.dm&&(e.wa(!0,k.C.u.Ow,e.P.bind("{1}% ("+k.C.u.wV+")",f.mb.toString(),(f.mb/c*100).toFixed(0))),f.dm=w.nf());return f.mb++>=
c}static laa(c,a,b){return null==a||!b&&"%"!=a.gd?c:c/100}static rsa(c,a){c=-f.xaa(c,a,k.B.F.Pn)+c;return Math.floor(c/864E5)}static ssa(c,a){return(-f.xaa(c,a,k.B.F.Wo)+c)/864E5}static xaa(c,a,b){a=e.i.Ua.V().ja.ha.mapping.Ha(a.A,"format",b);a=w.Lh.mf(a);return null!=a?Date.parse("1899-12-30")-36E5*a:Date.parse("1899-12-30")+(new Date(c)).getTimezoneOffset()/60*36E5}static tsa(c){return 1E3*c/864E5}static UDa(c){return.75*c}static LJ(c){return 0>=c?0:f.mta/f.Y9*c*(f.Y9/e.K.Y.sheet.gh.wu)}static qsa(c){return 0>=
c?0:((c-5)/7*100+.5)/100}static Rpa(){var c=k.ab.kH.$l;if(0<c.length){var a=getComputedStyle(e.K.Pb.Gb.G.find("."+e.K.Y.X.xa.xz).element),b=new S.hd.fonts.Tu(a.fontFamily,parseInt(a.fontSize)-2,e.P.Xn(a.color));b.bold="bold"===a.fontWeight;b.mC="italic"===a.fontStyle;b=new S.hd.Vz(b,e.P.Xn(a.backgroundColor));b.textAlign=a.textAlign;f.Rf.styleSheet.kv(b);f.Rf.bh[0].Wi(f.Re,0,k.C.u.Cia,b);f.Rf.bh[0].Wi(f.Re,1,"",b);a=getComputedStyle(e.K.Pb.Gb.G.find("."+e.K.Y.X.xa.we).element);var d=new S.hd.fonts.Tu(a.fontFamily,
parseInt(a.fontSize)-2,e.P.Xn(a.color));d.bold="bold"===a.fontWeight;d.mC="italic"===a.fontStyle;d=new S.hd.Vz(d,e.P.Xn(a.backgroundColor));d.textAlign=a.textAlign;f.Rf.styleSheet.kv(d);for(a=0;a<c.length;a++)f.Rf.bh[0].Wi(a+1+f.Re,0,e.P.zF(String(c[a].name)),b),f.Rf.bh[0].Wi(a+1+f.Re,1,e.P.zF(String(c[a].value)),b)}f.Re+=0==c.length?0:c.length+2}static y8(c,a=!1){if(null!=c&&0!=c.length){var b=0;a&&(f.Re+=1,b=f.od+f.Y.Te);c=c.split("\n");var d=getComputedStyle(e.K.Pb.Gb.G.find("."+e.K.Y.X.xa.xz).element),
g=new S.hd.fonts.Tu(d.fontFamily,parseInt(d.fontSize)-2,e.P.Xn(d.color));g.bold="bold"===d.fontWeight;g.mC="italic"===d.fontStyle;g=new S.hd.Vz(g,e.P.Xn(d.backgroundColor));g.textAlign=d.textAlign;f.Rf.styleSheet.kv(g);d=f.Rf.bh[0];for(var l=0;l<c.length;l++){const m=b+l+f.Re;d.Wi(m,0,e.P.zF(String(c[l])),g);f.WL.push(m)}f.Re+=c.length+(a?0:1)}}static mx(){var c=k.B.F.ip;if(0!=c.length){var a=getComputedStyle(e.K.Pb.Gb.G.find("."+e.K.Y.X.xa.SV).element),b=new S.hd.fonts.Tu(a.fontFamily,parseInt(a.fontSize)-
2,e.P.Xn(a.color));b.bold="bold"===a.fontWeight;b.mC="italic"===a.fontStyle;a=new S.hd.Vz(b,e.P.Xn(a.backgroundColor));a.textAlign="center";f.Rf.styleSheet.kv(a);b=f.Re;f.Rf.bh[0].Wi(b,0,c,a);f.WL.push(b);f.Re+=1}}static Fza(){const c=f.Rf.bh[0];for(var a=0;a<f.WL.length;a++)c.Rca(f.WL[a],0,Math.min(c.wra,10))}static Sxa(){return!e.w(e.K.Y.X.$d.Av)}static rpa(){if(!(f.Y instanceof e.K.lf.CD||0==e.v.Sa.V().za.lb.length)&&f.nb.hM){var c=k.Ua.V().ja.za.rc(),a=e.v.Sa.V().za.lb,b=!0,d=getComputedStyle(e.K.Pb.Gb.G.find("."+
e.K.Y.X.xa.Aj).element),g=new S.hd.fonts.Tu(d.fontFamily,parseInt(d.fontSize)-2,e.P.Xn(d.color));g.bold="bold"===d.fontWeight;g.mC="italic"===d.fontStyle;g=new S.hd.Vz(g,e.P.Xn(d.backgroundColor));g.textAlign=d.textAlign;f.Rf.styleSheet.kv(g);d=getComputedStyle(e.K.Pb.Gb.G.find("."+e.K.Y.X.xa.we).element);var l=new S.hd.fonts.Tu(d.fontFamily,parseInt(d.fontSize)-2,e.P.Xn("rgb(0,0,0)"));l.bold="bold"===d.fontWeight;l.mC="italic"===d.fontStyle;d=new S.hd.Vz(l,e.P.Xn(d.backgroundColor));d.textAlign=
"left";f.Rf.styleSheet.kv(d);l=f.Rf.bh[0];for(var m=0,n=0;n<c.length;n++){var p=c.ea(n);var q=p.Uh.type==e.v.j.oz.Cz;(a.Sb(p.A)||f.nb.hM)&&p.filter.Xg&&(q=q?f.Ira(p):f.nb.hM?f.Naa(p):f.Vx(p),b&&(l.Wi(m+f.Re,0,"",g),l.Wi(m+f.Re,1,k.C.u.Bu,g),m++),l.Wi(m+f.Re,0,p.caption,g),l.Wi(m+f.Re,1,q,d),m++,b=!1)}if(k.B.F.DR==e.K.Y.He.li)for(c=k.Ua.V().ja.za.hf,n=0;n<c.length;n++)(a=k.Ua.V().ja.za.Gk(c[n].A))&&a.filter.Xg&&(q=f.nb.hM?f.Naa(p):f.Vx(p),b&&(l.Wi(m+f.Re,0,"",g),l.Wi(m+f.Re,1,"Filters",g),m++),l.Wi(m+
f.Re,0,a.caption,g),l.Wi(m+f.Re,1,q,d),m++,b=!1);f.Re+=b?0:m+1}}static Naa(c){for(var a=[],b=0;b<c.fb.length;b++)a.push(c.NB(c.fb[b]));return a.join(", ")}static Vx(c){var a=k.C.u.zH;c.filter.Xg&&(a=1==c.fb.length?c.ya(c.fb[0]).caption:k.C.u.FH);return a}static Ira(c){var a,b=[];null!=f.Vy&&(f.Vy.length=0);f.yfa(c.Cd);for(var d=f.Nra(c),g=!1,l=0;l<f.Vy.length;l++){var m=c.ya(f.Vy[l]);var n=l==f.Vy.length-1;if(!g&&-1<c.fb.indexOf(m.ordinal)){g=!0;var p=m}g&&(-1<c.fb.indexOf(m.ordinal)&&(a=m),-1<d.indexOf(m.ordinal)&&
!n||(a=null!=a?a:p,m=f.t9(p),n=a.A!=p.A?":"+f.t9(a,!0):"",a=p=null,g=!1,b.push(m+n)))}return b.join(", ")}static yfa(c){null==f.Vy&&(f.Vy=[]);c.Rb||f.Vy.push(c.ordinal);for(var a=c.hierarchy.uj(c,!1,e.v.j.Ba.gc),b=a.length,d,g=0;g<b;g++)d=c.hierarchy.ya(a[g]),0<d.children.length?f.yfa(d):f.Vy.push(d.ordinal)}static t9(c,a=!1){var b=c,d=[];for(d.push(c.caption);b&&b.A!=c.A&&!b.level.Xt&&0<b.children.length;)d.push(b.caption),b=b.hierarchy.uj(b,!1,e.v.j.Ba.gc),b=c.hierarchy.ya(a?b[b.length-1]:b[0]);
for(b=c.parent;b&&!b.Rb;)d.unshift(b.caption),b=b.parent;return d.join("-")}static Nra(c){for(var a=[],b=c.fb,d,g=0;g<b.length;g++)if(d=c.ya(b[g]),a.push(d.ordinal),a=a.concat(d.Ix),!(d.parent&&!d.parent.Rb&&-1<a.indexOf(d.parent.ordinal)))for(;d.parent&&!d.parent.Rb;)d=d.parent,a.push(d.ordinal);return a}}f.mb=0;f.Re=0;f.cellPadding=3;f.A4=100;f.Pp="[h]:mm:ss";f.h2=[];f.mta=14.3;f.Y9=38;f.WL=[];h.Y4=f})(k.tc||(k.tc={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){}static Nj(b,d=null,g=null){f.uW?this.OY.push({type:b,options:d,Je:g}):(b=b.toLowerCase(),b=a.bz(b)?b:a.qh,k.B.F.Zd==e.K.td.Bi&&b==a.JSON?(e.Wa(k.C.u.$ka,k.C.u.Ca),this.Gfa()):(k.Ua.V().N(e.Vf.Lg,f.L$),f.uW=!0,f.Po=g,e.w(d)&&(d=new h.X4),d.type=b,b=new c(b,d,g),k.Ua.V().Ga(b)))}static Gfa(){e.wa(!1);k.Ua.V().qb(e.Vf.Lg,f.L$);f.uW=!1}static SAa(){f.Gfa();if(0<f.OY.length){var b=f.OY.shift();this.Nj(b.type,b.options,b.Je)}}static save(b,d){switch(d.kB.toLowerCase()){case k.ab.zo.nN:f.$L(b,
d);break;case k.ab.zo.KV:f.xT(b,d);break;case k.ab.zo.K3:break;case k.ab.zo.Jz:f.FEa(b,d);break;default:f.$L(b,d)}}static xT(b,d){switch(d.type){case a.Gu:case a.ED:case a.Hz:case a.yz:case a.JSON:case a.qh:f.GEa(b,d);break;default:b=k.Vb.Mc(d.type),e.Wa("Unknown type of export: '"+b+"'",k.C.u.Ca)}}static $L(b,d){switch(d.type){case a.Gu:var g="text/html;charset=utf-8";d.filename=f.sJ(d.filename,".html");break;case a.ED:g="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";d.filename=
f.sJ(d.filename,".xlsx");break;case a.Hz:g="application/pdf";d.filename=f.sJ(d.filename,".pdf");break;case a.yz:g="image/png";d.filename=f.sJ(d.filename,".png");break;case a.qh:g="text/csv;charset=utf-8";d.filename=f.sJ(d.filename,".csv");break;default:g="text/plain;charset=utf-8"}var l=[b];d.type==a.qh&&l.unshift(e.P.Bva());try{y.Aea(new Blob(l,{type:g}),d.filename),f.xM({data:b,filename:d.filename,type:d.type})}catch(m){e.Wa(k.C.u.TH,k.C.u.Ca,e.Bb.Ca),f.xM(null,{message:k.C.u.TH})}}static sJ(b,
d){b.indexOf(d)!=b.length-d.length&&(b+=d);return b}static JDa(b){var d={};null!=b&&null!=b.target&&null!=b.target.response&&""!=b.target.response&&null!=b.target.xhr&&(d.response=k.Vb.Mc(b.target.response),d.status=b.target.xhr.status);d.message=k.C.u.TH;return d}static GEa(b,d){var g=new w.Ns(500);g.N(w.Ve.Zk,function(){e.wa(!0,k.C.u.d6,(g.zv/10).toString()+" sec")});var l=new y.Ej;l.N(r.da.Ca,q=>{q=f.JDa(q);var t=q.hasOwnProperty("response")?q.response:"";t=700<t.length?t.substr(0,700):t;e.Wa(e.P.bind(q.message,
t),k.C.u.Ca,e.Bb.Ca);g.stop();e.wa(!1);f.xM(null,q)});l.N(r.da.Dc,function(){g.stop();e.wa(!1);f.xM({data:b,filename:d.filename,type:d.type,response:l.response})});var m=new Blob([b],{type:"application/octet-binary"}),n=new FormData;n.append("filedata",m,d.filename);for(var p in d.oZ)n.append(p,d.oZ[p]);l.Pq=y.Os.Ku;l.data=n;l.contentType=!1;l.Xi(d.wc);l.load(d.url);g.start()}static FEa(b,d){f.xM({data:b,filename:d.filename,type:d.type})}static xM(b=null,d=null){null!=f.Po&&f.Po.call(null,b,d)}}f.uW=
!1;f.OY=[];f.L$=()=>f.SAa();h.pn=f;class c extends r.da{constructor(b,d,g){super(e.Vf.RU);this.Ft=b;this.nb=d;this.Po=g}}h.IHa=c;class a{static bz(b){return b===a.yz||b===a.ED||b===a.Gu||b===a.qh||b===a.JSON||b===a.Hz}}a.yz="image";a.ED="excel";a.Gu="html";a.qh="csv";a.JSON="json";a.Hz="pdf";h.Ci=a})(k.tc||(k.tc={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(c="file"){this.Pk=!0;this.kB=e.i.ab.zo.nN;this.filename="";this.url="()";this.wc=null;this.type=h.Ci.Gu;this.AC="portrait";this.iZ="";this.hM=this.F$=!1;this.az=!0;this.oZ={};this.Ae=",";this.hga=!0;this.N8=!1;this.kB=c}static yb(c){var a=new f;if(e.w(c))return a;e.w(c.showHeaders)||(a.Pk="true"===c.showHeaders||!0===c.showHeaders);e.w(c.filename)||(a.filename=c.filename);e.w(c.url)||(a.url=c.url);e.w(c.excelSheetName)||(a.iZ=c.excelSheetName);
e.w(c.excelExportAll)||(a.F$=c.excelExportAll);e.w(c.pageOrientation)||"portrait"!==c.pageOrientation.toLowerCase()&&"landscape"!==c.pageOrientation.toLowerCase()||(a.AC=c.pageOrientation.toLowerCase());!e.w(c.destinationType)&&e.i.ab.zo.bz(c.destinationType.toString().toLowerCase())&&(a.kB=c.destinationType.toString().toLowerCase());e.ia(c.pageFormat)||(a.Mq=c.pageFormat);e.ia(c.fieldSeparator)||(a.Ae=c.fieldSeparator);e.w(c.showFilters)||(a.hM=c.showFilters);e.w(c.useOlapFormattingInExcel)||(a.az=
c.useOlapFormattingInExcel);e.w(c.extendedParameters)||(a.oZ=c.extendedParameters);e.w(c.header)||(a.vi=c.header);e.w(c.footer)||(a.em=c.footer);e.w(c.fontUrl)||(a.PQ=c.fontUrl);e.w(c.useCustomizeCellForData)||(a.hga=c.useCustomizeCellForData);e.w(c.requestHeader)||(a.wc=c.requestHeader);e.w(c.requestHeaders)||(a.wc=c.requestHeaders);e.w(c.alwaysEnclose)||(a.N8=c.alwaysEnclose);return a}}h.X4=f})(k.tc||(k.tc={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){throw Error("Singleton");}static Of(c,a,b,d,g=null){if(!e.w(c)){f.Y=c;f.vd=b;f.od=d;f.nb=a;f.Po=g;try{f.jua()}catch(l){console.error("Export CSV error:",l),e.Wa(k.C.u.Fs,k.C.u.Ca,e.Bb.Ca),e.wa(!1),k.Ua.V().Ga(new r.da(e.Vf.Lg)),f.clear()}}}static raa(c,a){if(null!=c&&0!=c.length){0<f.yq.length&&f.yq.push([].join(f.nb.Ae));c=c.split("\n");for(let d=0;d<c.length;d++){var b=[];b.push('"'+c[d]+'"');f.yq.push(b.join(f.nb.Ae))}0<f.yq.length&&
!a&&f.yq.push([].join(f.nb.Ae))}}static mK(){if(!(f.Y instanceof e.K.lf.CD||0==e.v.Sa.V().za.lb.length)){for(var c,a=k.Ua.V().ja.za.rc(),b=e.v.Sa.V().za.lb,d,g,l=!0,m=0;m<a.length;m++)g=a.ea(m),c=[],b.Sb(g.A)&&g.filter.Xg&&(d=f.Vx(g),l&&(c.push('""'),c.push('"'+k.C.u.Bu+'"'),f.yq.push(c.join(f.nb.Ae)),c=[]),c.push('"'+g.caption+'"'),c.push('"'+d+'"'),f.yq.push(c.join(f.nb.Ae)),l=!1);0<f.yq.length&&f.yq.push([].join(f.nb.Ae))}}static Vx(c){var a=k.C.u.zH;c.filter.Xg&&(a=1==c.fb.length?c.ya(c.fb[0]).caption:
k.C.u.FH);return a}static jua(){e.wa(!0,k.C.u.Ow);f.mb=0;f.dm=w.nf();f.raa(this.nb.vi);k.B.F.JG&&f.mK();w.al.Cn({po:()=>f.qva(),Je:()=>f.aAa()})}static qva(){if(f.Y.ka.coords.co(f.mb,NaN))return f.mb>=f.od+f.Y.Te;var c=[];for(var a=0;a<f.vd+f.Y.Tf;a++)if(!f.Y.ka.coords.co(NaN,a))for(c=[],a=0;a<f.vd+f.Y.Tf;a++){if(f.Y.ka.coords.co(NaN,a))continue;let b="";const d=f.Y.ka.Kf(f.mb,a,!0);d&&(b=d.J());"number"===typeof b&&(d.value=b,b+="",d.numeric=!0);b=e.P.zF(b);0<=b.indexOf(f.nb.Ae)||this.nb.N8||-1<
b.search(/\n|\r/gi)?(b=b.replace(/["]/gi,'""'),c.push(`"${b}"`)):c.push(b)}f.yq.push(c.join(f.nb.Ae));200<w.nf()-f.dm&&(c=f.mb/(f.od+f.Y.Te)*100,100<c&&(c=100),e.wa(!0,k.C.u.Ow,e.P.bind("{1}% ("+k.C.u.wV+")",f.mb.toString(),c.toFixed(0))),f.dm=w.nf());return++f.mb>=f.od+f.Y.Te}static BEa(){var c=f.yq.join("\r\n");0==f.nb.filename.length&&(f.nb.filename="pivot.csv");h.pn.save(c,f.nb);k.Ua.V().Ga(new r.da(e.Vf.Lg));f.clear()}static aAa(){e.wa(!1);f.raa(this.nb.em,!0);f.BEa()}static clear(){f.Y=null;
f.mb=0;f.dm=0;f.yq=[];f.nb=null;f.Po=null;f.vd=0;f.od=0}}f.mb=0;f.dm=0;f.yq=[];h.T4=f})(k.tc||(k.tc={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){throw Error("Singleton");}static Of(c,a,b,d,g=null){if(!e.w(c)){f.Y=c;f.vd=b;f.od=d;f.nb=a;f.Po=g;try{f.kua()}catch(l){console.error("Export JSON error:",l),e.Wa(k.C.u.Fs,k.C.u.Ca,e.Bb.Ca),e.wa(!1),k.Ua.V().Ga(new r.da(e.Vf.Lg)),f.clear()}}}static kua(){e.wa(!0,k.C.u.Ow);f.fc=0;f.dm=f.startTime=w.nf();w.al.Cn({po:()=>f.uva(),Je:()=>()=>f.sBa()})}static uva(){for(var c=Math.min(f.fc+f.Yq,f.vd+f.Y.Tf),a;f.fc<c;f.fc++){a=[];for(var b=0;b<f.od+
f.Y.Te;b++){var d="",g=f.Y.ka.Kf(b,f.fc,!0);g&&(d=g.label);a.push(d)}f.$_.push(JSON.stringify(a))}if(50<w.nf()-f.dm){c=f.fc/(f.vd+f.Y.Tf)*100;if(100<c)return!0;f.zFa(c);f.dm=w.nf()}return f.fc>=f.vd+f.Y.Tf}static zFa(c){e.wa(!0,k.C.u.Ow,e.P.bind("{0}% ({1} rows)",c.toFixed(0),f.fc.toString()))}static EEa(){var c="["+f.$_.join(",\n")+"]";0==f.nb.filename.length&&(f.nb.filename="pivot.json");h.pn.save(c,f.nb);k.Ua.V().Ga(new r.da(e.Vf.Lg));f.clear()}static sBa(){e.wa(!1);f.EEa()}static clear(){f.Y=
null;f.fc=0;f.startTime=0;f.dm=0;f.vd=0;f.od=0;f.$_=[];f.cells=[];f.nb=null;f.Po=null}}f.fc=0;f.startTime=0;f.dm=0;f.cells=[];f.$_=[];f.Yq=10;h.W4=f})(k.tc||(k.tc={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{}f.p5="formatchange";h.u5=f;class c{static $f(a){return c.ie.Sb(a)?c.ie.getItem(a):""!=a&&c.ie.Sb("")?c.ie.getItem(""):c.MZ()}static UC(a){var b=h.X.ef.yb(a);c.RP.Ta(b.name,b);if(null!=c.nF&&""!=b.name)b.Sca(c.nF);else if(""==b.name)for(c.nF=a,a=0;a<c.ie.length;a++)c.ie.ea(a).Sca(c.nF);c.ie.Ta(b.name,b)}static zva(){return c.RP.slice()}static clear(){c.ie=new e.wb;c.RP=new e.wb;c.nF=null}static MZ(){return new h.X.ef}static kaa(a){return c.ie.Sb(a)}static dispose(){c.ie=
null;c.RP=null;c.nF=null}}c.ie=new e.wb;c.RP=new e.wb;c.nF=null;h.bk=c})(k.cc||(k.cc={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(a=""){this.name="";this.Lb={};this.zd={thousandsSeparator:" ",decimalSeparator:".",decimalPlaces:-1,maxDecimalPlaces:-1,maxSymbols:20,currencySymbol:"",positiveCurrencyFormat:c.Gy.$1,negativeCurrencyFormat:c.cs["-$1"],negativeNumberFormat:c.gu["-1"],nullValue:"",infinityValue:"Infinity",divideByZeroValue:"Infinity",textAlign:c.textAlign.RIGHT,isPercent:!1,isCount:!1,beautifyFloatingPoint:!0};this.name=a}get Oe(){return this.Lb}get gn(){return void 0!=
this.Lb.thousandsSeparator?this.Lb.thousandsSeparator:this.zd.thousandsSeparator}set gn(a){this.Lb.thousandsSeparator=a}get iB(){return void 0!=this.Lb.decimalSeparator?this.Lb.decimalSeparator:this.zd.decimalSeparator}set iB(a){this.Lb.decimalSeparator=a}get ml(){return void 0!=this.Lb.decimalPlaces?this.Lb.decimalPlaces:this.zd.decimalPlaces}set ml(a){this.Lb.decimalPlaces=a}get Wr(){return void 0!=this.Lb.maxDecimalPlaces?this.Lb.maxDecimalPlaces:this.zd.maxDecimalPlaces}set Wr(a){this.Lb.maxDecimalPlaces=
a}get $v(){return void 0!=this.Lb.maxSymbols?this.Lb.maxSymbols:this.zd.maxSymbols}set $v(a){this.Lb.maxSymbols=a}get gd(){return void 0!=this.Lb.currencySymbol?this.Lb.currencySymbol:this.zd.currencySymbol}set gd(a){this.Lb.currencySymbol=a}get js(){return void 0!=this.Lb.positiveCurrencyFormat?this.Lb.positiveCurrencyFormat:this.zd.positiveCurrencyFormat}set js(a){this.Lb.positiveCurrencyFormat=a}get bs(){return void 0!=this.Lb.negativeCurrencyFormat?this.Lb.negativeCurrencyFormat:this.zd.negativeCurrencyFormat}set bs(a){this.Lb.negativeCurrencyFormat=
a}get up(){return void 0!=this.Lb.negativeNumberFormat?this.Lb.negativeNumberFormat:this.zd.negativeNumberFormat}set up(a){this.Lb.negativeNumberFormat=a}get ds(){return void 0!=this.Lb.nullValue?this.Lb.nullValue:this.zd.nullValue}set ds(a){this.Lb.nullValue=a}get aC(){return void 0!=this.Lb.infinityValue?this.Lb.infinityValue:this.zd.infinityValue}set aC(a){this.Lb.infinityValue=a}get mB(){return void 0!=this.Lb.divideByZeroValue?this.Lb.divideByZeroValue:this.zd.divideByZeroValue}set mB(a){this.Lb.divideByZeroValue=
a}get textAlign(){return void 0!=this.Lb.textAlign?this.Lb.textAlign:this.zd.textAlign}set textAlign(a){this.Lb.textAlign=a}get Yd(){return void 0!=this.Lb.isPercent?this.Lb.isPercent:this.zd.isPercent}set Yd(a){this.Lb.isPercent=a}get Lf(){return void 0!=this.Lb.isCount?this.Lb.isCount:this.zd.isCount}set Lf(a){this.Lb.isCount=a}get IA(){return void 0!=this.Lb.beautifyFloatingPoint?this.Lb.beautifyFloatingPoint:this.zd.beautifyFloatingPoint}set IA(a){this.Lb.beautifyFloatingPoint=a}set FY(a){}get FY(){return 1<
this.gd.length&&"&"==this.gd.charAt(0)&&";"==this.gd.charAt(this.gd.length-1)?1:this.gd.length}Ufa(){var a,b="";if(-1==this.ml&&""==this.gd){if(this.up==c.gu["- 1"]||this.up==c.gu["1-"]||this.up==c.gu["1 -"]||this.up==c.gu["(1)"])b=""!=this.gn?"#,##0.0#########":"###0.0#########",b=b+";"+w.Ub.SQ(b,this.up);return b}if("%"==this.gd){var d=-1==this.ml?0:this.ml;b=0<d?"0.":"0";for(a=0;a<d;a++)b+="0";return b+=this.gd}b=""!=this.gn?"#,##0":"###0";if(0<this.ml)for(b+=".",a=0;a<this.ml;a++)b+="0";""!=this.gd?
(a=this.gd,b=1<a.length?this.js==c.Gy.$1?"[$"+a+"]\\ "+b+";"+w.Ub.kK(b,"[$"+a+"]",this.bs):b+"\\ [$"+a+"];"+w.Ub.kK(b,"[$"+a+"]",this.bs):this.js==c.Gy.$1?"\\"+this.gd+b+";"+w.Ub.kK(b,this.gd,this.bs):b+"\\"+this.gd+";"+w.Ub.kK(b,this.gd,this.bs)):""==this.gd&&(b=b+";"+w.Ub.SQ(b,this.up));return b}Qa(a=!1){var b={};b.name=this.name;if(a)b.thousandsSeparator=this.gn,b.decimalSeparator=this.iB,b.decimalPlaces=this.ml,b.maxDecimalPlaces=this.Wr,b.maxSymbols=this.$v,b.currencySymbol=this.gd,b.positiveCurrencyFormat=
this.js,b.negativeCurrencyFormat=this.bs,b.negativeNumberFormat=this.up,b.nullValue=this.ds,b.infinityValue=this.aC,b.divideByZeroValue=this.mB,b.textAlign=""!==this.textAlign?this.textAlign:c.textAlign.RIGHT,b.isPercent=this.Yd,b.isCount=this.Lf,b.beautifyFloatingPoint=this.IA;else for(var d in this.Lb)b[d]="textAlign"===d?""===this.textAlign?c.textAlign.RIGHT:this.textAlign:this.Lb[d];return b}static yb(a){var b=new c;null!=a.name&&(b.name=a.name);null!=a.thousandsSeparator&&k.Vb.valid(a.thousandsSeparator)&&
(b.gn=k.Vb.Mc(a.thousandsSeparator,!0));null!=a.decimalSeparator&&k.Vb.valid(a.decimalSeparator)&&(b.iB=k.Vb.Mc(a.decimalSeparator,!0));null!=a.decimalPlaces&&-1<=parseInt(a.decimalPlaces)&&(b.ml=isNaN(parseInt(a.decimalPlaces))?-1:parseInt(a.decimalPlaces));null!=a.maxDecimalPlaces&&-1<=parseInt(a.maxDecimalPlaces)&&(b.Wr=isNaN(parseInt(a.maxDecimalPlaces))?-1:parseInt(a.maxDecimalPlaces));null!=a.maxSymbols&&1<=parseInt(a.maxSymbols)&&(b.$v=a.maxSymbols);null!=a.currencySymbol&&k.Vb.valid(a.currencySymbol)&&
(b.gd=k.Vb.Mc(a.currencySymbol,!0));if(null!=a.currencySymbolAlign&&k.Vb.valid(a.currencySymbolAlign)){var d=k.Vb.Mc(a.currencySymbolAlign);d==c.Q9.LEFT?b.js=c.Gy.$1:d==c.Q9.RIGHT&&(b.js=c.Gy["1$"])}null!=a.positiveCurrencyFormat&&k.Vb.valid(a.positiveCurrencyFormat)&&(b.js=k.Vb.Mc(a.positiveCurrencyFormat,!0));null!=a.negativeCurrencyFormat&&k.Vb.valid(a.negativeCurrencyFormat)&&(b.bs=k.Vb.Mc(a.negativeCurrencyFormat,!0));null!=a.negativeNumberFormat&&k.Vb.valid(a.negativeNumberFormat)&&(b.up=k.Vb.Mc(a.negativeNumberFormat));
null!=a.nullValue&&k.Vb.valid(a.nullValue)&&(b.ds=k.Vb.Mc(a.nullValue,!0));null!=a.infinityValue&&k.Vb.valid(a.infinityValue)&&(b.aC=k.Vb.Mc(a.infinityValue,!0));null!=a.divideByZeroValue&&k.Vb.valid(a.divideByZeroValue)&&(b.mB=k.Vb.Mc(a.divideByZeroValue,!0));null!=a.textAlign&&k.Vb.valid(a.textAlign)&&(b.textAlign=k.Vb.Mc(a.textAlign));null!=a.isPercent&&(b.Yd=1==a.isPercent);null!=a.isCount&&(b.Lf=1==a.isCount);null!=a.beautifyFloatingPoint&&(b.IA=1==a.beautifyFloatingPoint);return b}clone(){var a=
new c;a.name=this.name;this.Lb.hasOwnProperty("thousandsSeparator")&&(a.gn=this.gn);this.Lb.hasOwnProperty("decimalSeparator")&&(a.iB=this.iB);this.Lb.hasOwnProperty("decimalPlaces")&&(a.ml=this.ml);this.Lb.hasOwnProperty("maxDecimalPlaces")&&(a.Wr=this.Wr);this.Lb.hasOwnProperty("maxSymbols")&&(a.$v=this.$v);this.Lb.hasOwnProperty("currencySymbol")&&(a.gd=this.gd);this.Lb.hasOwnProperty("positiveCurrencyFormat")&&(a.js=this.js);this.Lb.hasOwnProperty("negativeCurrencyFormat")&&(a.bs=this.bs);this.Lb.hasOwnProperty("negativeNumberFormat")&&
(a.up=this.up);this.Lb.hasOwnProperty("nullValue")&&(a.ds=this.ds);this.Lb.hasOwnProperty("infinityValue")&&(a.aC=this.aC);this.Lb.hasOwnProperty("divideByZeroValue")&&(a.mB=this.mB);this.Lb.hasOwnProperty("textAlign")&&(a.textAlign=this.textAlign);this.Lb.hasOwnProperty("isPercent")&&(a.Yd=this.Yd);this.Lb.hasOwnProperty("isPercent")&&(a.Lf=this.Lf);this.Lb.hasOwnProperty("beautifyFloatingPoint")&&(a.IA=this.IA);var b={},d;for(d in this.zd)b[d]=this.zd[d];a.zd=b;return a}Sca(a){for(var b in a)this.zd[b]=
a[b]}}c.Q9={LEFT:"left",RIGHT:"right"};c.cs={"-$1":"-$1","-1$":"-1$","$-1":"$-1","$1-":"$1-","1-$":"1-$","1$-":"1$-","($1)":"($1)","(1$)":"(1$)"};c.Gy={$1:"$1","1$":"1$"};c.gu={"-1":"-1","- 1":"- 1","1-":"1-","1 -":"1 -","(1)":"(1)"};c.textAlign={LEFT:"left",CENTER:"center",RIGHT:"right"};f.ef=c})(h.X||(h.X={}))})(k.cc||(k.cc={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{static valid(c){return c==f.Af||c==f.Nc||c==f.ae||c==f.API||c==f.JSON||c==f.qh||c==f.aq||c==f.EMPTY}static Qc(c){return this.valid(c)&&(c==f.ae||c==f.Nc||c==f.Af||c==f.API)}static J(c){return c==f.qh?"CSV":c==f.aq?"OCSV":c==f.JSON?"JSON":c==f.Nc?"Microsoft Analysis Services":c==f.ae?"Mondrian":c==f.Af?"Elasticsearch":c==f.API?"Flexmonster Custom API":""}}f.Nc="microsoft analysis services";f.ae="mondrian";f.qh="csv";f.aq="ocsv";f.JSON="json";f.Af="elasticsearch";
f.API="api";f.EMPTY="";h.sa=f})(k.j||(k.j={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{static Mc(m){if(e.ia(m))return f.NONE;m=m.toLowerCase();return 0<=f.types.indexOf(m)?m:f.NONE}static Gba(m,n){switch(m){case h.rb.Sc:return b.dg(n);case h.rb.kb:return c.dg(n);case h.rb.Pa:return d.dg(n)}return!1}}f.NONE="none";f.dk="label";f.Pa="date";f.kb="number";f.xn="value";f.bc="time";f.types=[f.NONE,f.dk,f.Pa,f.kb,f.xn,f.bc];h.pb=f;class c{static dg(m){return e.w(m)?!1:0<=c.Tp.indexOf(m.toLowerCase())}}c.EQUAL="equal";c.Cf="not_equal";c.GREATER=
"greater";c.Wk="greater_equal";c.LESS="less";c.Xk="less_equal";c.Kg="between";c.Cg="not_between";c.Nh=[c.EQUAL,c.Cf,c.GREATER,c.Wk,c.LESS,c.Xk];c.ff=[c.Kg,c.Cg];c.Tp=[c.EQUAL,c.Cf,c.GREATER,c.Wk,c.LESS,c.Xk,c.Kg,c.Cg];h.jg=c;class a extends c{}h.fk=a;class b{static dg(m){return e.w(m)?!1:0<=b.Tp.indexOf(m.toLowerCase())}}b.EQUAL="equal";b.Cf="not_equal";b.pD="begin";b.Dz="not_begin";b.pz="end";b.Fz="not_end";b.kn="contain";b.Ez="not_contain";b.GREATER="greater";b.Wk="greater_equal";b.LESS="less";
b.Xk="less_equal";b.Kg="between";b.Cg="not_between";b.Nh=[b.EQUAL,b.Cf,b.pD,b.Dz,b.pz,b.Fz,b.kn,b.Ez,b.GREATER,b.Wk,b.LESS,b.Xk];b.ff=[b.Kg,b.Cg];b.Tp=[b.EQUAL,b.Cf,b.pD,b.Dz,b.pz,b.Fz,b.kn,b.Ez,b.GREATER,b.Wk,b.LESS,b.Xk,b.Kg,b.Cg];h.Cb=b;class d{static dg(m){return e.w(m)?!1:0<=d.Tp.indexOf(m.toLowerCase())}}d.EQUAL="equal";d.Cf="not_equal";d.nD="before";d.oD="before_equal";d.kD="after";d.lD="after_equal";d.Kg="between";d.Cg="not_between";d.NH="last";d.jH="current";d.ZH="next";d.Nh=[d.EQUAL,d.Cf,
d.nD,d.oD,d.kD,d.lD];d.ff=[d.Kg,d.Cg];d.Iz=[d.NH,d.jH,d.ZH];d.Tp=[d.EQUAL,d.Cf,d.nD,d.oD,d.kD,d.lD,d.Kg,d.Cg,d.NH,d.jH,d.ZH];h.Ob=d;class g{static dg(m){return e.w(m)?!1:0<=g.types.indexOf(m.toLowerCase())}}g.Cm="day";g.rI="week";g.Ag="month";g.Js="quarter";g.bl="year";g.types=[g.Cm,g.rI,g.Ag,g.Js,g.bl];h.Iw=g;class l extends c{static dg(m){return e.w(m)?!1:0<=l.Tp.indexOf(m.toLowerCase())}}l.Oh="top";l.aj="bottom";l.Nh=[l.Oh,l.aj,l.EQUAL,l.Cf,l.GREATER,l.Wk,l.LESS,l.Xk];l.ff=[l.Kg,l.Cg];l.Tp=[l.Oh,
l.aj,l.EQUAL,l.Cf,l.GREATER,l.Wk,l.LESS,l.Xk,l.Kg,l.Cg];h.pc=l})(k.j||(k.j={}))})(e.v||(e.v={}))})(u||(u={}));(function(e){(function(k){(function(h){class f{static dg(c){return c==f.Yc||c==f.gc||c==f.Ec}static oR(c="",a=!1,b=!1){return b?c==k.j.Ba.gc?a?k.j.Ba.Yc:k.j.Ba.Ec:c==k.j.Ba.Ec?a?k.j.Ba.gc:k.j.Ba.Yc:a?k.j.Ba.Ec:k.j.Ba.gc:c==k.j.Ba.Ec?k.j.Ba.gc:k.j.Ba.Ec}}f.Yc="unsorted";f.gc="asc";f.Ec="desc";f.Ala="numericRange";h.Ba=f})(k.j||(k.j={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){}}f.Ia="rows";f.Xa="columns";f.Hs="pages";h.ga=f})(k.j||(k.j={}))})(e.v||(e.v={}))})(u||(u={}));var Aa=u||(u={}),Ba=Aa.v||(Aa.v={});{var Ca=Ba.j||(Ba.j={});class e{}e.Lka=0;e.Cz=1;e.MN=2;e.Kka=3;Ca.oz=e}
(function(e){(function(k){(function(h){class f{static xB(c){var a=f.zu;switch(c){case h.input.af.A5.MN:a=f.$p;break;case h.input.af.A5.Cz:a=f.Pa}return a}static AZ(c){return 0<=h.Na.cK.indexOf(c)?f.$p:"date"==c?f.Pa:f.zu}static zZ(c){var a=f.zu;switch(c){case h.input.qa.kb:case h.input.qa.bc:a=f.$p;break;case h.input.qa.Uk:case h.input.qa.Zp:case h.input.qa.Ao:case h.input.qa.Cc:case h.input.qa.Pa:a=f.Pa}return a}static OG(c){var a=h.input.qa.Sc;switch(c){case f.$p:a=h.input.qa.kb;break;case f.Pa:a=
h.input.qa.Pa}return a}}f.zu=0;f.Pa=1;f.$p=2;f.cK=["keyword","date","boolean"];h.Ic=f})(k.j||(k.j={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{static xB(c){switch(c){case h.input.af.zz.Sc:case h.input.af.zz.wna:return f.Sc;case h.input.af.zz.vo:return f.vo;case h.input.af.zz.Pa:return f.Pa;case h.input.af.zz.Cc:return f.Cc;case h.input.af.zz.Zma:return f.bc;case h.input.af.zz.oc:return f.oc}return f.kb}static Tua(c){c=c.toLowerCase();switch(c){case "string":return f.Pa;case "integer":case "number":case "double":return f.kb;default:return f.kb}}static Qua(c){switch(c){case 13:return f.bc;case 15:return f.Cc;
case 3:return f.vo;case 12:return f.kb}return f.oc}static Sua(c){var a=f.oc;switch(c){case "number":a=f.kb;break;case "string":a=f.Sc;break;case "boolean":a=f.vo;break;case "date":a=f.Pa;break;case "timestamp":a=f.bc;break;case "count":a=f.oc}return a}static AZ(c){return 0<=h.Ic.cK.indexOf(c)?f.oc:f.kb}static OG(c){switch(c){case f.Sc:return h.input.qa.Sc;case f.vo:return h.input.qa.vo;case f.Pa:return h.input.qa.Pa;case f.Cc:return h.input.qa.Cc;case f.bc:return h.input.qa.bc}return h.input.qa.kb}}
f.kb=1;f.Sc=2;f.vo=3;f.Pa=4;f.bc=5;f.Cc=6;f.oc=7;f.cK="long integer short byte double float half_float scaled_float".split(" ");h.Na=f})(k.j||(k.j={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{static eS(c){return c===f.kb||c===f.bl||c===f.Cm||c===f.vN||c===f.SN||c===f.JV||c===f.f6||c===f.Cc||c===f.bc||c===f.Pa}static Uxa(c){return c===f.Pa||c===f.Cc||c===f.Uk}static Rua(c){switch(c){case 2:case 4:case 5:case 6:case 14:case 16:case 17:case 18:case 19:case 20:case 21:return f.kb}return f.Sc}static xB(c,a=!1,b=0){if(a)return f.Rua(b);switch(c){case h.input.af.ck.ska:return f.uga;case h.input.af.ck.tka:case 4178:case 4561:case 4562:return f.kb;
case h.input.af.ck.uka:case h.input.af.ck.Gka:return f.bc;case h.input.af.ck.yka:case h.input.af.ck.xka:case h.input.af.ck.zka:return f.Cm;case h.input.af.ck.Aka:case 4385:case 4328:case 4329:return f.gV;case h.input.af.ck.Bka:return f.vN;case h.input.af.ck.Cka:return f.SN;case h.input.af.ck.Dka:return f.Ag;case h.input.af.ck.Eka:case 4336:case 4337:case 4578:return f.Js;case h.input.af.ck.Fka:return f.JV;case h.input.af.ck.Hka:case 4345:case h.input.af.ck.Ika:case 4344:return f.rI;case h.input.af.ck.Jka:case 4759:case 4345:case 4346:return f.bl;
case h.input.af.ck.wka:case h.input.af.ck.vka:case 4657:case 4659:case 4292:case 4294:return f.Pa}return f.Sc}static OG(c){switch(c){case f.kb:case f.vN:case f.SN:case f.JV:case f.f6:return h.input.qa.kb;case f.Pa:case f.bl:case f.bl:case f.Cm:return h.input.qa.Pa;case f.vo:return h.input.qa.vo;case f.Ag:return h.input.qa.Ag;case f.Jm:return h.input.qa.Jm;case f.bc:return h.input.qa.bc;case f.Cc:return h.input.qa.Cc;case f.Uk:return h.input.qa.Uk;default:return h.input.qa.Sc}}static zZ(c){switch(c){case h.input.qa.Sc:return f.Sc;
case h.input.qa.kb:return f.kb;case h.input.qa.vo:return f.vo;case h.input.qa.Ag:return f.Ag;case h.input.qa.Jm:return f.Jm;case h.input.qa.Pa:case h.input.qa.Zp:case h.input.qa.Ao:return f.Pa;case h.input.qa.Uk:return f.Uk;case h.input.qa.bc:return f.bc;case h.input.qa.Cc:return f.Cc;default:return f.Sc}}}f.uga=0;f.Sc=1;f.kb=2;f.vo=3;f.Pa=4;f.bc=5;f.bl=6;f.gV=7;f.Js=8;f.Ag=9;f.rI=10;f.Jm=11;f.Cm=12;f.vN=13;f.SN=14;f.JV=15;f.f6=16;f.Cc=17;f.Uk=18;h.rb=f})(k.j||(k.j={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){e=e.v||(e.v={});e=e.j||(e.j={});e=e.input||(e.input={});{e=e.af||(e.af={});class k{}k.Lka=0;k.Cz=1;k.MN=2;k.Kka=3;e.A5=k}})(u||(u={}));(function(e){e=e.v||(e.v={});e=e.j||(e.j={});e=e.input||(e.input={});{e=e.af||(e.af={});class k{}k.kb=1;k.Sc=2;k.vo=3;k.Pa=4;k.wna=5;k.Zma=6;k.oc=7;k.Cc=8;e.zz=k}})(u||(u={}));
(function(e){e=e.v||(e.v={});e=e.j||(e.j={});e=e.input||(e.input={});{e=e.af||(e.af={});class k{}k.ska=1;k.tka=2;k.fJa=0;k.gJa=8;k.uka=4;k.wka=516;k.Aka=36;k.Bka=772;k.Cka=1028;k.Dka=132;k.Eka=68;k.Fka=2052;k.Gka=4100;k.Hka=260;k.Jka=20;k.vka=4289;k.xka=4296;k.yka=4301;k.zka=4302;k.Ika=4759;k.hJa=0;e.ck=k}})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{static valid(a){return-1<c.rJ.indexOf(a)}static uGa(a){return""===a?c.Sc:"number"!=typeof a&&isNaN(Number(a))?e.P.H_(a)?c.Pa:c.Sc:c.kb}static Oua(a){a=a.trim();var b=c.Sc;"+"==a.charAt(0)?b=c.Sc:"t+"==a.substr(0,2)?b=c.bc:"dt+"==a.substr(0,3)?b=c.Cc:"n+"==a.substr(0,2)?b=c.kb:"-"==a.charAt(0)?b=c.kb:"ds+"==a.substr(0,3)?b=c.Uk:"d+"==a.substr(0,2)?b=c.Pa:"m+"==a.substr(0,2)?b=c.Ag:"w+"==a.substr(0,2)?b=c.Jm:"D+"==a.substr(0,2)?b=c.Zp:"D4+"==
a.substr(0,3)?b=c.Ao:"id+"==a.substr(0,3)&&(b=c.Mw);return b}}c.kb="number";c.Sc="string";c.vo="boolean";c.Ue="level";c.Ag="month";c.Jm="weekday";c.Pa="date";c.Uk="date string";c.Zp="year/month/day";c.Ao="year/quarter/month/day";c.bc="time";c.Cc="datetime";c.Mw="id";c.C4="delete";c.z5="hidden";c.RD="property";c.Dga="array";c.bH="any";c.rJ="number;string;boolean;level;month;weekday;date;date string;year/month/day;year/quarter/month/day;time;datetime;id;delete;hidden;property;array;any".split(";");
f.qa=c})(h.input||(h.input={}))})(k.j||(k.j={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{static get KM(){0===f.bW.length&&(f.bW=f.ZG.concat(f.$G));return f.bW}static get Hga(){0===f.eW.length&&(f.eW=f.rga.concat(f.$G));return f.eW}static get Ega(){0===f.dW.length&&(f.dW=f.qga);return f.dW}static get E3(){0===f.cW.length&&(f.cW=[f.NONE].concat(f.$G));return f.cW}static FX(c){return c===f.fq?e.i.C.u.J6:c===f.oc?e.i.C.u.n4:c===f.yj||c===f.bN?e.i.C.u.cia:c===f.Vp?e.i.C.u.F3:c===f.Iu?e.i.C.u.Nka:c===f.Nu?e.i.C.u.Ema:c===f.Ou?e.i.C.u.Gma:c===f.Is?
e.i.C.u.Yla:c===f.MIN?e.i.C.u.mla:c===f.MAX?e.i.C.u.pka:c===f.fr?e.i.C.u.Kla:c===f.Eo||c===f.XN?e.i.C.u.Lla:c===f.cq?e.i.C.u.Wla:c===f.gr?e.i.C.u.Sla:c===f.Fo?e.i.C.u.Ula:c===f.ni?e.i.C.u.Oja:c===f.mn||c===f.aN?e.i.C.u.Zha:c===f.nn?e.i.C.u.aia:c===f.tn||c===f.YN?e.i.C.u.Nla:c===f.un?e.i.C.u.Pla:c===f.Hm||c===f.bO?e.i.C.u.kma:c===f.wn?e.i.C.u.mma:c===f.NONE?e.i.C.u.xla:c}static GX(c=null){var a=[];c=c?c:f.KM;for(var b=0;b<c.length;b++)a.push(f.FX(c[b]));return a}static L8(c=null){var a=[];c=c?c:f.KM;
for(var b=0;b<c.length;b++)c[b]===f.fq?a.push(e.i.C.u.nI):c[b]===f.oc?a.push(e.i.C.u.VM):c[b]===f.yj||c[b]===f.bN?a.push(e.i.C.u.cN):c[b]===f.Vp?a.push(e.i.C.u.RM):c[b]===f.Iu?a.push(e.i.C.u.qV):c[b]===f.Nu?a.push(e.i.C.u.hO):c[b]===f.Ou?a.push(e.i.C.u.iO):c[b]===f.Is?a.push(e.i.C.u.ZN):c[b]===f.MIN?a.push(e.i.C.u.TN):c[b]===f.MAX?a.push(e.i.C.u.LN):c[b]===f.fr?a.push(e.i.C.u.iI):c[b]===f.Eo||c[b]===f.XN?a.push(e.i.C.u.cI):c[b]===f.cq?a.push(e.i.C.u.hI):c[b]===f.Fo?a.push(e.i.C.u.fI):c[b]===f.Fo?
a.push(e.i.C.u.gI):c[b]===f.ni?a.push(e.i.C.u.MH):c[b]===f.mn||c[b]===f.aN?a.push(e.i.C.u.pH):c[b]===f.nn?a.push(e.i.C.u.qH):c[b]===f.tn||c[b]===f.YN?a.push(e.i.C.u.dI):c[b]===f.un?a.push(e.i.C.u.eI):c[b]===f.Hm||c[b]===f.bO?a.push(e.i.C.u.aO):c[b]===f.wn?a.push(e.i.C.u.cO):c[b]===f.NONE?a.push("{0}"):-1<f.ZG.indexOf(c[b])&&a.push(`{0} (${c[b]})`);return a}static bz(c){return-1!==f.KM.indexOf(c)||c===f.NONE}static KGa(c){return-1!==f.E3.indexOf(c)}static n3(c){return-1!==f.oga.indexOf(c)||c===f.NONE}static xs(c){return-1!==
f.pga.indexOf(c)||c===f.NONE}static Lf(c){return-1!==f.sga.indexOf(c)}static Yd(c){return-1!==f.tga.indexOf(c)}static cL(c){return c===f.mn||c===f.nn||c===f.tn||c===f.un}static iL(c){return c===f.Hm||c===f.wn}static jB(c){return c===f.bN||c===f.XN||c===f.aN||c===f.YN||c===f.bO}static wB(c){switch(c){case f.bN:return f.yj;case f.XN:return f.Eo;case f.aN:return f.mn;case f.YN:return f.tn;case f.bO:return f.Hm;default:return""}}static C_(c){return-1!==f.ZG.indexOf(c)||c===f.NONE}}f.fq="sum";f.oc="count";
f.yj="distinctcount";f.bN="distinct count";f.Vp="average";f.Iu="median";f.Nu="stdevp";f.Ou="stdevs";f.fr="percent";f.Eo="percentofcolumn";f.cq="percentofrow";f.gr="percentofparentcolumntotal";f.Fo="percentofparentrowtotal";f.XN="percent of column";f.Is="product";f.ni="index";f.Hm="runningtotalsofcolumn";f.wn="runningtotalsofrow";f.bO="runningtotals";f.MIN="min";f.MAX="max";f.NONE="none";f.mn="differenceofcolumn";f.nn="differenceofrow";f.aN="difference";f.tn="%differenceofcolumn";f.un="%differenceofrow";
f.YN="%difference";f.ZG=[f.fq,f.oc,f.yj,f.Vp,f.Iu,f.Is,f.MIN,f.MAX,f.Nu,f.Ou];f.$G=[f.fr,f.Eo,f.cq,f.gr,f.Fo,f.ni,f.mn,f.nn,f.tn,f.un,f.Hm,f.wn];f.CU=[];f.bW=[];f.rga=[f.oc,f.yj];f.eW=[];f.qga=[f.MAX,f.MIN,f.oc,f.yj];f.dW=[];f.cW=[];f.Fga=[f.fq,f.oc,f.yj,f.Vp,f.MIN,f.MAX];f.Gga=[f.oc,f.yj];f.sga=[f.oc,f.yj];f.tga=[f.fr,f.Eo,f.cq,f.gr,f.Fo,f.tn,f.un];f.oga=[f.fq,f.Vp,f.Iu,f.Is,f.MIN,f.MAX];f.pga=[f.fq,f.Vp,f.Iu,f.Is,f.MIN,f.MAX,f.Nu,f.Ou,f.mn,f.nn,f.Hm,f.wn];h.ca=f})(k.j||(k.j={}))})(e.v||(e.v={}))})(u||
(u={}));var Da=u||(u={}),Ea=Da.v||(Da.v={});{var Fa=Ea.j||(Ea.j={});class e{}e.JM="+";e.jO="-";e.UN="*";e.rH="/";e.AV="^";e.LESS="<";e.GREATER=">";e.EQUAL="=";e.L4="==";e.Cf="!=";e.I5="<=";e.v5=">=";e.p6="or";e.x3="and";e.wN="if";e.mU="abs";e.MIN="min";e.MAX="max";e.Mga="isnan";e.zla="!isnan";e.xn="value";e.uO="updatedifference";e.vO="updatepercent";Fa.lc=e}var Ga=u||(u={}),Ha=Ga.v||(Ga.v={});
{var Ia=Ha.j||(Ha.j={});class e{}e.eq="select";e.sz="expand";e.yU="collapse";e.eN="drillUp";e.Au="drillDown";e.GU="drillDownTo";e.sH="drillThrough";e.VU="filter";e.IV="search";Ia.Jd=e}var Ja=u||(u={}),Ka=Ja.v||(Ja.v={});{var La=Ka.j||(Ka.j={});class e{}e.dN=Number.NEGATIVE_INFINITY;La.fN=e}
(function(e){(function(k){(function(h){class f{constructor(){this.Qk=()=>this.fs();this.$i=()=>this.zp()}eza(c,a,b){try{this.dispose(),this.Hb=b,this.gB=this.Ki=0,this.cu=w.Vw.WF(c),this.mM(this.cu,a)}catch(d){this.Tb(d)}}Iq(){e.wa(!1);let c;try{c=JSON.parse(this.na.response)}catch(a){c=null}null!=this.Hb&&(this.Hb(c),this.dispose())}sAa(){e.wa(!0,e.i.C.u.vV,"")}yp(c){const a=c.data;if(404==a.target.status)this.Tb(c);else if(!e.w(this.na))try{const d=this.na.response;if(null!=d&&0!=d.length&&(this.Ki!=
a.loaded||this.gB!=d.length)){this.Ki=a.loaded;this.gB=d.length;var b=0==a.total?e.P.bind(e.i.C.u.Nl,w.Ub.og(a.loaded)):e.P.bind(e.i.C.u.MD,w.Ub.og(a.loaded),w.Ub.og(a.total),(a.loaded/a.total*100).toFixed(0));e.wa(!0,e.i.C.u.vV,b)}}catch(d){console.error(d.stack),this.Tb(d)}}Tb(){e.wa(!1);null!=this.Hb&&(this.Hb(null),this.dispose())}mM(c,a){this.timer=new w.Ns(100,1E5);this.timer.N(w.Ve.Zk,this.Qk);this.timer.N(w.Ve.$k,this.$i);this.timer.start();var b=new y.Ej;b.dataType=y.nz.Qz;b.N(r.da.Dc,()=>
this.Iq());b.N(r.da.zD,()=>this.sAa());b.N(r.da.ge,d=>this.yp(d));b.N(r.da.Ca,d=>this.Tb(d));b.Xi(a);b.load(c);this.na=b}fs(){0<this.Ki?this.cf():null!=this.timer&&this.timer.Mk&&e.wa(!0,e.i.C.u.vV,e.P.bind(e.i.C.u.Gs,w.Ub.format(this.timer.zv/10,new e.i.cc.X.ef,!1,!1,1)))}zp(){this.timer.Mk&&this.cf()}cf(){this.timer&&this.timer.Mk&&(this.timer.stop(),this.timer.qb(w.Ve.Zk,this.Qk),this.timer.qb(w.Ve.$k,this.$i))}dispose(){this.cf();null!=this.na&&(this.na.fe(),this.na.dispose(),this.na=null);this.Hb=
null}}h.pla=f})(k.O||(k.O={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(c){c.gIa="visible";c.aIa="caption";c.jr="type";c.hV="hierarchy";c.Ue="level";c.eIa="parent";c.$Ha="aggregations";c.bIa="format";c.cIa="interval";c.fIa="time_zone";c.dIa="min_doc_count";c.sIa="isMeasure";c.hIa="filters"})(h.qla||(h.qla={}));class f{constructor(c=null){this.cu=this.mapping=null;this.Bt={};this.xS=null;"string"==typeof c?this.cu=c:(this.mapping=c,this.r3());this.Bt.filters=!0}r3(){}Ha(c,a,b=null){c=w.Jc.resolve(c,this.mapping);var d=null;
e.w(c)||(d=c[a]);e.w(d)&&(d=b);e.w(d)&&(d=this.Bt[a]);return d}Kh(c,a,b){var d=w.Jc.resolve(c,this.mapping);e.w(d)&&(this.mapping[c]={},d=this.mapping[c]);e.w(d)||(d[a]=b)}Qa(c=!1){return c&&this.mp?this.cu:this.mapping}qza(c){switch(c){case k.j.sa.API:c=new k.external.Kc.OM;break;case k.j.sa.Af:c=new k.external.ze.gN;break;case k.j.sa.ae:case k.j.sa.Nc:new k.external.Db.VN;default:c=new f}return c}clone(c=""){c=this.qza(c);c.mapping=w.Jc.Ni(this.mapping);c.cu=this.cu;return c}isEqual(c){return this.cu==
c.Qa(!0)&&JSON.stringify(this.mapping)==JSON.stringify(c.Qa())}get ib(){return e.w(this.mapping)}get mp(){return null!==this.cu&&0<this.cu.length}fza(c,a){this.Je=a;this.mp&&this.ib?(this.xS=new h.pla,this.xS.eza(this.cu,c,b=>this.GBa(b))):(this.Je(),this.Je=null)}GBa(c){null!==c&&(this.mapping=c,this.r3());this.Je();this.Je=null;this.xS.dispose();this.xS=null}static Xba(c){for(var a in c)if(!e.w(c[a])&&(c[a].hasOwnProperty("type")||c[a].hasOwnProperty("caption")||c[a].hasOwnProperty("hierarchy")||
c[a].hasOwnProperty("level")||c[a].hasOwnProperty("parent")||c[a].hasOwnProperty("dimensionUniqueName")||c[a].hasOwnProperty("dimensionCaption")||c[a].hasOwnProperty("folder")||c[a].hasOwnProperty("aggregations")))return!0;return!1}x0(c,a){c=w.Jc.resolve(c,this.mapping);a=w.Jc.Ni(a);for(var b in c)a[b]=c[b],"aggregations"===b&&(a.availableAggregations=c[b]);return a}}h.Bo=f})(k.O||(k.O={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){this.wc=null;this.withCredentials=!1;this.yn=k.j.sa.EMPTY;this.Gya=!1}get Fa(){return this.yn}set Fa(c){this.yn=c.toLowerCase()}get Qc(){return k.j.sa.Qc(this.yn)}set Qc(c){}get dG(){return!1}set dG(c){}isEqual(c){return c&&this.Fa==c.Fa&&this.withCredentials==c.withCredentials}get ib(){return this.yn==k.j.sa.EMPTY}set ib(c){}get bL(){return this.yn===k.j.sa.qh&&"this"===this.filename}get Wt(){return!1}set Wt(c){}get bG(){return!0}get YR(){return!0}get XR(){return!0}static yb(c){if(void 0==
c||e.i.ua.mc.Yh()==e.i.ua.Yk.Im)return new h.uz;e.w(c.connectionInfo)||(c=c.connectionInfo);c instanceof f||c instanceof k.local.csv.WM||c instanceof k.local.csv.PD||c instanceof k.local.json.zN||c instanceof k.external.Db.Do||c instanceof k.external.ze.M4||c instanceof k.external.Kc.y3||(c=f.Jl(c));e.w(c.dataSourceType)||(c.dataSourceType=c.dataSourceType.toLowerCase());c.dataSourceType&&-1<c.dataSourceType.indexOf("pentaho")&&(c.dataSourceType=k.j.sa.ae);"msolap"==c.dataSourceType&&(c.dataSourceType=
k.j.sa.Nc);!k.j.sa.valid(c.dataSourceType)&&c.proxyUrl&&(c.dataSourceType=k.j.sa.Nc);if("es"==c.dataSourceType||"elastic"==c.dataSourceType)c.dataSourceType=k.j.sa.Af;!k.j.sa.valid(c.dataSourceType)&&(c.host||c.node)&&c.index&&(c.dataSourceType=k.j.sa.Af);!k.j.sa.valid(c.dataSourceType)&&(c.url||c.discover&&c.select)&&(c.dataSourceType=k.j.sa.API);if(!e.w(c.filename)&&e.w(c.dataSourceType)){var a=c.filename.split("?")[0].toLowerCase();c.dataSourceType=".csv"==a.substr(-4)?k.j.sa.qh:".ocsv"==a.substr(-5)?
k.j.sa.aq:".json"==a.substr(-5)||".js"==a.substr(-3)?k.j.sa.JSON:k.j.sa.qh}!e.w(c.data)&&Array.isArray(c.data)&&(c.dataSourceType=k.j.sa.JSON,c.data=c.data.slice());if(c.dataSourceType==k.j.sa.Af&&e.i.ua.mc.Yh()!=e.i.ua.Yk.Af&&e.i.ua.mc.Yh()!=e.i.ua.Yk.tH)return e.i.ua.mc.Yh()!=e.i.ua.Yk.Im&&e.Wa(e.i.ua.pa.J(e.i.ua.pa.gua),e.i.ua.pa.J(e.i.ua.pa.fo)),new h.uz;if(c.dataSourceType==k.j.sa.Nc&&e.i.ua.mc.Yh()!=e.i.ua.Yk.vga&&e.i.ua.mc.Yh()!=e.i.ua.Yk.tH)return e.i.ua.mc.Yh()!=e.i.ua.Yk.Im&&e.Wa(e.i.ua.pa.J(e.i.ua.pa.Qza),
e.i.ua.pa.J(e.i.ua.pa.fo)),new h.uz;if(c.dataSourceType==k.j.sa.ae&&e.i.ua.mc.Yh()!=e.i.ua.Yk.ae&&e.i.ua.mc.Yh()!=e.i.ua.Yk.tH)return e.i.ua.mc.Yh()!=e.i.ua.Yk.Im&&e.Wa(e.i.ua.pa.J(e.i.ua.pa.Iza),e.i.ua.pa.J(e.i.ua.pa.fo)),new h.uz;if((c.dataSourceType==k.j.sa.qh||c.dataSourceType==k.j.sa.aq||c.dataSourceType==k.j.sa.JSON)&&e.i.ua.mc.Yh()!=e.i.ua.Yk.o4&&e.i.ua.mc.Yh()!=e.i.ua.Yk.p4&&e.i.ua.mc.Yh()!=e.i.ua.Yk.tH)return e.i.ua.mc.Yh()!=e.i.ua.Yk.Im&&e.Wa(e.i.ua.pa.J(e.i.ua.pa.Uza),e.i.ua.pa.J(e.i.ua.pa.fo)),
new h.uz;switch(c.dataSourceType){case k.j.sa.aq:return k.local.csv.PD.yb(c);case k.j.sa.qh:return k.local.csv.WM.yb(c);case k.j.sa.JSON:return k.local.json.zN.yb(c);case k.j.sa.Nc:case k.j.sa.ae:return k.external.Db.Do.yb(c);case k.j.sa.Af:return k.external.ze.M4.yb(c);case k.j.sa.API:return k.external.Kc.y3.yb(c);default:return new h.uz}}static Jl(c){var a={};e.ia(c.type)||(a.dataSourceType=c.type);e.ia(c.dataSourceType)||(a.dataSourceType=c.dataSourceType);e.ia(c.filename)||(a.filename=c.filename);
e.ia(c.requestHeader)||(a.requestHeaders=c.requestHeader);e.ia(c.requestHeaders)||(a.requestHeaders=c.requestHeaders);e.ia(c.browseForFile)||(a.browseForFile=c.browseForFile);e.ia(c.requestPermission)||(a.requestPermission=c.requestPermission);e.ia(c.thousandSeparator)||(a.thousandSeparator=c.thousandSeparator);e.ia(c.fieldSeparator)||(a.fieldSeparator=c.fieldSeparator);e.ia(c.recordsetDelimiter)||(a.recordsetDelimiter=c.recordsetDelimiter);e.ia(c.ignoreQuotedLineBreaks)||(a.ignoreQuotedLineBreaks=
c.ignoreQuotedLineBreaks);e.ia(c.embedded)||(a.embedded=c.embedded);e.ia(c.embeddedDataOffset)||(a.embeddedDataOffset=c.embeddedDataOffset);e.ia(c.embeddedDataToLoad)||(a.embeddedDataToLoad=c.embeddedDataToLoad);e.ia(c.isOCSV2Data)||(a.isOCSV2Data=c.isOCSV2Data);e.w(c.data)||(a.data=c.data);e.ia(c.checkUpdates)||(a.checkUpdates=c.checkUpdates);e.ia(c.proxyUrl)||(a.proxyUrl=c.proxyUrl);e.ia(c.dataSourceInfo)||(a.dataSourceInfo=c.dataSourceInfo);e.ia(c.catalog)||(a.catalog=c.catalog);e.ia(c.cube)||
(a.cube=c.cube);e.ia(c.subquery)||(a.subquery=c.subquery);e.ia(c.binary)||(a.binary=c.binary);e.ia(c.withCredentials)||(a.withCredentials=c.withCredentials);e.ia(c.roles)||(a.roles=c.roles);e.ia(c.localeIdentifier)||(a.localeIdentifier=c.localeIdentifier);e.ia(c.effectiveUserName)||(a.effectiveUserName=c.effectiveUserName);e.ia(c.customData)||(a.customData=c.customData);e.ia(c.url)||(a.url=c.url);e.ia(c.handshakingUrl)||(a.handshakingUrl=c.handshakingUrl);e.ia(c.dimensionsUrl)||(a.dimensionsUrl=c.dimensionsUrl);
e.ia(c.hierarchiesUrl)||(a.hierarchiesUrl=c.hierarchiesUrl);e.ia(c.levelsUrl)||(a.levelsUrl=c.levelsUrl);e.ia(c.measuresUrl)||(a.measuresUrl=c.measuresUrl);e.ia(c.membersUrl)||(a.membersUrl=c.membersUrl);e.ia(c.dataUrl)||(a.dataUrl=c.dataUrl);e.ia(c.drillThroughUrl)||(a.drillThroughUrl=c.drillThroughUrl);e.ia(c.host)||(a.host=c.host);e.ia(c.node)||(a.node=c.node);e.ia(c.connection)||(a.connection=c.connection);e.ia(c.index)||(a.index=c.index);e.ia(c.mapping)||(a.mapping=c.mapping);e.ia(c.singleEndpoint)||
(a.singleEndpoint=c.singleEndpoint);e.ia(c.useSockets)||(a.useSockets=c.useSockets);e.ia(c.useStreamLoader)||(a.useStreamLoader=c.useStreamLoader);e.ia(c.hash)||(a.hash=c.hash);e.ia(c.username)||(a.username=c.username);e.ia(c.password)||(a.password=c.password);e.ia(c.dataSource)||(c=c.dataSource,e.ia(c.type)||(a.dataSourceType=c.type),e.ia(c.dataSourceType)||(a.dataSourceType=c.dataSourceType),e.ia(c.filename)||(a.filename=c.filename),e.ia(c.requestHeader)||(a.requestHeaders=c.requestHeader),e.ia(c.requestHeaders)||
(a.requestHeaders=c.requestHeaders),e.ia(c.browseForFile)||(a.browseForFile=c.browseForFile),e.ia(c.requestPermission)||(a.requestPermission=c.requestPermission),e.ia(c.fieldSeparator)||(a.fieldSeparator=c.fieldSeparator),e.ia(c.thousandSeparator)||(a.thousandSeparator=c.thousandSeparator),e.ia(c.recordsetDelimiter)||(a.recordsetDelimiter=c.recordsetDelimiter),e.ia(c.ignoreQuotedLineBreaks)||(a.ignoreQuotedLineBreaks=c.ignoreQuotedLineBreaks),e.ia(c.embedded)||(a.embedded=c.embedded),e.ia(c.embeddedDataOffset)||
(a.embeddedDataOffset=c.embeddedDataOffset),e.ia(c.embeddedDataToLoad)||(a.embeddedDataToLoad=c.embeddedDataToLoad),e.ia(c.isOCSV2Data)||(a.isOCSV2Data=c.isOCSV2Data),e.w(c.data)||(a.data=c.data),e.ia(c.proxyUrl)||(a.proxyUrl=c.proxyUrl),e.ia(c.dataSourceInfo)||(a.dataSourceInfo=c.dataSourceInfo),e.ia(c.catalog)||(a.catalog=c.catalog),e.ia(c.cube)||(a.cube=c.cube),e.ia(c.subquery)||(a.subquery=c.subquery),e.ia(c.binary)||(a.binary=c.binary),e.ia(c.withCredentials)||(a.withCredentials=c.withCredentials),
e.ia(c.roles)||(a.roles=c.roles),e.ia(c.localeIdentifier)||(a.localeIdentifier=c.localeIdentifier),e.ia(c.effectiveUserName)||(a.effectiveUserName=c.effectiveUserName),e.ia(c.customData)||(a.customData=c.customData),e.ia(c.url)||(a.url=c.url),e.ia(c.handshakingUrl)||(a.handshakingUrl=c.handshakingUrl),e.ia(c.dimensionsUrl)||(a.dimensionsUrl=c.dimensionsUrl),e.ia(c.hierarchiesUrl)||(a.hierarchiesUrl=c.hierarchiesUrl),e.ia(c.levelsUrl)||(a.levelsUrl=c.levelsUrl),e.ia(c.measuresUrl)||(a.measuresUrl=
c.measuresUrl),e.ia(c.membersUrl)||(a.membersUrl=c.membersUrl),e.ia(c.dataUrl)||(a.dataUrl=c.dataUrl),e.ia(c.drillThroughUrl)||(a.drillThroughUrl=c.drillThroughUrl),e.ia(c.host)||(a.host=c.host),e.ia(c.node)||(a.node=c.node),e.ia(c.connection)||(a.connection=c.connection),e.ia(c.index)||(a.index=c.index),e.ia(c.mapping)||(a.mapping=c.mapping),e.ia(c.singleEndpoint)||(a.singleEndpoint=c.singleEndpoint),e.ia(c.useStreamLoader)||(a.useStreamLoader=c.useStreamLoader),c=c.credentials,null!=c&&(e.ia(c.hash)||
(a.hash=c.hash),e.ia(c.username)||(a.username=c.username),e.ia(c.password)||(a.password=c.password)));return a}static Pj(c){var a=c.find("dataSource"),b=a.attr("type");void 0!==b&&(b=b.toLowerCase());"msolap"==b&&(b=k.j.sa.Nc);b&&-1<b.indexOf("pentaho")&&(b=k.j.sa.ae);var d=a.find("filename");if(!k.j.sa.valid(b)){var g=a.find("proxyUrl");0<g.length&&0<g.text().length&&(b=k.j.sa.Nc);0<d.length&&0<d.text().length&&(b=k.j.sa.qh)}0<d.length&&0<d.text().length&&".ocsv"==d.text().toLocaleLowerCase().substr(-5)&&
(b=k.j.sa.aq);0<d.length&&0<d.text().length&&".json"==d.text().toLocaleLowerCase().substr(-5)&&(b=k.j.sa.JSON);0<d.length&&0<d.text().length&&".csv"==d.text().toLocaleLowerCase().substr(-4)&&(b=k.j.sa.qh);switch(b){case k.j.sa.aq:return k.local.csv.PD.Pj(a[0]);case k.j.sa.qh:return k.local.csv.WM.Pj(c);case k.j.sa.JSON:return k.local.json.zN.Pj(a[0]);case k.j.sa.Nc:case k.j.sa.ae:return k.external.Db.Do.Pj(c);default:return k.local.csv.WM.Pj(c)}}so(){var c=y.aa.create("<dataSource/>");this.Fa!=k.j.sa.EMPTY&&
c.attr("type",this.Fa);return c}}h.Ds=f})(k.O||(k.O={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){class h{constructor(f){this.tb=[];this.zc=[];this.Og=[];this.fb=[];this.Bd=[];this.Td=[];this.ne=[];this.ta=[];this.pl=[];this.Tg=[];this.Qf=[];this.OE=[];this.vx=[];this.$B=[];this.bn=[];this.Bla=0;this.zda=[];this.Li=[];this.ph=[];this.sizes=[];this.filters=[];this.xw=[];this.Gt=[];this.values=[];this.VO=[];this.Aa=f}bF(){this.bn=[];this.fb=[];this.tb=[];this.zc=[];this.pl=[];this.ta=[];this.values=[];this.Og=[];this.filters=[]}aY(){this.ne=[];this.Tg=[];this.Qf=[];this.OE=
[];this.vx=[];this.$B=[]}sv(){this.bF();this.aY();this.Bd=[];this.Td=[];this.sizes=[];this.Og=[]}get slice(){return null!=this.Wb?this.Wb:this.Aa.za}set slice(f){this.Wb=f}kva(f){return isNaN(f[0])}mva(f){return!isNaN(f[0])}Zua(f){return void 0===f[0]||"string"===typeof f[0]||void 0===f[1]||"string"===typeof f[1]?(null==f[0]||"number"===typeof f[0]&&isNaN(f[0])?"":f[0])+(null==f[1]||"number"===typeof f[1]&&isNaN(f[1])?"":f[1]):f[0]+f[1]}pva(f){return f[0]-f[1]}jva(f){return f[0]*f[1]}ava(f){return 0==
f[1]||isNaN(f[1])?k.j.fN.dN:f[0]/f[1]}ova(f){return Math.pow(f[0],f[1])}fva(f){return f[0]<f[1]}cva(f){return f[0]>f[1]}bva(f){return f[0]==f[1]}lva(f){return f[0]!=f[1]}gva(f){return f[0]<=f[1]}dva(f){return f[0]>=f[1]}nva(f){return f[0]||f[1]}$ua(f){return f[0]&&f[1]}eva(f){return f[0]?f[1]:f[2]}Yua(f){return Math.abs(f[0])}iva(f){return Math.min(f[0],f[1])}hva(f){return Math.max(f[0],f[1])}Cr(f,c){for(var a=1,b=0,d,g,l=this.Li.length-1;0<=l;l--)g=this.sizes[this.ph.length+l],0<g&&(d=void 0===c[l]?
0:c[l],b+=d*a,a*=g);for(c=this.ph.length-1;0<=c;c--)g=this.sizes[c],0<g&&(d=void 0===f[c]?0:f[c],Math.abs(d*a)>9007199254740991-b&&(a=-a%1E6,0==a&&(a=-g)),b+=d*a,a*=g);return b}f_(f,c){for(var a=0,b=!0,d=0;d<f.length;d++){var g=this.zc[c][f[d]];isNaN(g)||(a+=g,b=!1)}return b?NaN:a}ywa(f,c){for(var a=Number.MAX_VALUE,b=!0,d=0;d<f.length;d++){var g=this.zc[c][f[d]];isNaN(g)||(g<a&&(a=g),b=!1)}return b?NaN:a}swa(f,c){for(var a=Number.NEGATIVE_INFINITY,b=!0,d=0;d<f.length;d++){var g=this.zc[c][f[d]];
isNaN(g)||(g>a&&(a=g),b=!1)}return b?NaN:a}Mwa(f,c){for(var a=1,b=!0,d=0;d<f.length;d++){var g=this.zc[c][f[d]];isNaN(g)||(a*=g,b=!1)}return b?NaN:a}waa(f,c){let a=0,b=0;for(let d=0;d<f.length;d++){const g=this.zc[c][f[d]];isNaN(g)||(a+=g,b++)}return 0==b?NaN:a/b}vwa(f,c){for(var a=[],b=0;b<f.length;b++){var d=this.zc[c][f[b]];isNaN(d)||a.push(d)}if(0===a.length)return NaN;e.gb.sort(a,e.gb.oi);if(1===a.length%2)return a[Math.floor(a.length/2)];f=a.length/2;return(a[f]+a[f-1])/2}Faa(f,c){for(var a=
this.waa(f,c),b=0,d=0,g=0;g<f.length;g++){var l=this.zc[c][f[g]];isNaN(l)||(b+=Math.pow(l-a,2),d++)}return{h$:b,count:d}}axa(f,c){f=this.Faa(f,c);return 0==f.count?NaN:Math.sqrt(f.h$/f.count)}bxa(f,c){f=this.Faa(f,c);return 0==f.count?NaN:1==f.count?0:Math.sqrt(f.h$/(f.count-1))}Iwa(f,c){null==this.VO[c]&&(this.VO[c]=this.f_(this.fb,c));return Math.abs(100*this.f_(f,c)/this.VO[c])}Qva(f,c){for(var a=0,b=0;b<f.length;b++){var d=this.zc[c][f[b]];isNaN(d)||this.zc[c]instanceof Uint8Array&&0==d||a++}return a}awa(f,
c,a){return k.kf.zj.Hc().Ha(f,c,a)}Jwa(f,c,a){return k.kf.zj.Hc().Ha(f,c,a)}$c(f,c){for(var a=0;a<f.length;a++){if(void 0===c)return;c=c[f[a]]}return c}ET(f,c){for(let a=0;a<f.length;a++)void 0===c[f[a]]&&(c[f[a]]=[[[]],[],[],void 0,void 0,!1]),c=c[f[a]];return c}get result(){return[this.Bd,this.Td]}set result(f){}ci(f,c){if(0===f.length)return!0;var a=-1;void 0!==c&&(a="number"===typeof c?-1===c?-1:this.Gt[c]:this.Bh(c));f=this.$c(f,this.Bd);return void 0===f||void 0===f[0]||void 0===f[0][3]?!1:
-1===a||void 0===f[0][3][a]?f[0][3][this.Qf.length]:f[0][3][a]}Bh(f,c,a){"string"!==typeof f&&(c=f.fa,f=f.A);if(e.i.B.F.dc&&!a||void 0===c||c===k.j.ca.NONE)for(a=0;a<this.Qf.length;a++){if(this.Qf[a]===f)return a}else for(a=0;a<this.Qf.length;a++)if(this.Qf[a]===f&&(void 0===this.OE[a]||this.OE[a]===c))return a;return-1}zk(f,c){if(0===f.length)return!0;var a=-1;void 0!==c&&(a="number"===typeof c?this.Gt[c]:this.Bh(c));f=this.$c(f,this.Td);return void 0===f||void 0===f[0]||void 0===f[0][3]?!1:-1===
a||void 0===f[0][3][a]?f[0][3][this.Qf.length]:f[0][3][a]}collapse(f,c,a){0===this.Bd.length&&(this.Bd=[[this.fb,[],[],void 0,void 0]]);0===this.Td.length&&(this.Td=[[this.fb,[],[],void 0,void 0]]);1===this.Gt.length&&(a=void 0);c===k.j.ga.Ia&&this.ura(f,a);c===k.j.ga.Xa&&this.sra(f,a)}ura(f,c){this.n7(this.$c(f,this.Bd),c)}sra(f,c){this.n7(this.$c(f,this.Td),c)}n7(f,c){void 0!==f&&(void 0===f[0][3]&&(f[0][3]=[]),void 0!==c?f[0][3][this.Bh(c)]=!1:f[0][3][this.Qf.length]=!1)}expand(f,c,a){0!==this.fb.length&&
(1===this.Gt.length&&(a=void 0),0===this.Bd.length&&(this.Bd=[[this.fb,[],[],void 0,void 0]],this.mZ([],a)),0===this.Td.length&&(this.Td=[[this.fb,[],[],void 0,void 0]],this.jZ([],a)),c===k.j.ga.Ia&&this.mZ(f,a),c===k.j.ga.Xa&&this.jZ(f,a))}mZ(f,c){var a=this.$c(f,this.Bd);void 0===a&&this.HA()&&(a=this.ET(f,this.Bd));if(void 0!==a){var b=this.ph[f.length];f.length<this.ph.length&&this.bA(a,b,c)}}jZ(f,c){var a=this.$c(f,this.Td);void 0===a&&this.PE()&&(a=this.ET(f,this.Td));if(void 0!==a){var b=this.Li[f.length];
f.length<this.Li.length&&this.bA(a,b,c)}}bA(f,c,a){if(void 0!==f){var b=f[0][0];if(0<b.length&&!isNaN(c))for(var d=0;d<b.length;d++){var g=this.ta[c][1]<this.tb.length?this.tb[this.ta[c][1]][b[d]]:0;0!==g&&void 0!==g&&(void 0===f[g]?(f[g]=[[[b[d]],[],[],void 0,void 0,!1]],f[0][1].push(g)):f[0][5]||f[g][0][0].push(b[d]))}void 0===f[0][3]&&(f[0][3]=[]);void 0===a?f[0][3][this.Qf.length]=!0:f[0][3][this.Bh(a)]=!0;f[0][5]=!0}}Bq(f,c,a,b){1===this.Gt.length&&(b=void 0);a===k.j.ga.Ia&&this.aua(f,b);a===
k.j.ga.Xa&&this.$ta(f,b)}aua(f,c){var a=this.$c(f,this.Bd);f=f.slice(0,-1);this.qW(this.$c(f,this.Bd),a,c)}$ta(f,c){var a=this.$c(f,this.Td);f=f.slice(0,-1);this.qW(this.$c(f,this.Td),a,c)}If(f,c,a,b){0!==c.children.length&&(1===this.Gt.length&&(b=void 0),0===this.Bd.length&&(this.Bd=[[this.fb,[],[],void 0,void 0]],this.mZ([],b)),0===this.Td.length&&(this.Td=[[this.fb,[],[],void 0,void 0]],this.jZ([],b)),a===k.j.ga.Ia&&this.Xta(f,c,b),a===k.j.ga.Xa&&this.Wta(f,c,b))}Xta(f,c,a){var b=this.$c(f,this.Bd);
void 0===b&&this.HA()&&(b=this.ET(f,this.Bd));f=f.slice(0,-1);var d=this.ph[f.length];this.OO(this.$c(f,this.Bd),b,d,this.ta[d][c.level.xb+1],a)}OO(f,c,a,b,d){if(void 0!==c&&void 0!==c[0]){var g=c[0][0];if(0<g.length&&!isNaN(b))for(var l=0;l<g.length;l++){var m=this.tb[b][g[l]];0!==m&&void 0!==m&&(void 0===f[m]?(f[m]=[[[g[l]],[],[],void 0,void 0]],c[0][2].push(m),this.pl[a][m]=b):-1===f[m][0][0].indexOf(g[l])&&f[m][0][0].push(g[l]))}void 0===c[0][4]&&(c[0][4]=[]);void 0===d?c[0][4][this.Qf.length]=
!0:c[0][4][this.Bh(d)]=!0}}Wta(f,c,a){var b=this.$c(f,this.Td);void 0===b&&this.PE()&&(b=this.ET(f,this.Td));f=f.slice(0,-1);var d=this.Li[f.length];this.OO(this.$c(f,this.Td),b,d,this.ta[d][c.level.xb+1],a)}qW(f,c,a){const b=c[0][2];if(void 0!==b&&0<b.length)for(var d=0;d<b.length;d++){let g=b[d];void 0!==f[g][0][4]&&this.qW(f,f[g],a);f[g]=void 0}c[0][2]=[];c[0][4][this.Qf.length]=!1;void 0!==a&&(c[0][4][this.Bh(a)]=!1)}Eh(f,c,a){c=this.Qf.length;void 0!==a&&(c="number"===typeof a?-1===a?-1:this.Gt[a]:
this.Bh(a));-1===c&&(c=this.Qf.length);f=this.$c(f,this.Bd);return void 0!==f&&void 0!==f[0]&&void 0!==f[0][4]&&(f[0][4][c]||f[0][4][this.Qf.length])}yk(f,c,a){c=this.Qf.length;void 0!==a&&(c="number"===typeof a?-1===a?-1:this.Gt[a]:this.Bh(a));-1===c&&(c=this.Qf.length);f=this.$c(f,this.Td);return void 0!==f&&void 0!==f[0]&&void 0!==f[0][4]&&(f[0][4][c]||f[0][4][this.Qf.length])}YK(f,c,a){var b=this.ne.indexOf(c.hierarchy.A),d=c.Rb?f.slice(0,-1):f.slice(0),g=a===k.j.ga.Ia?this.$c(d,this.Bd):this.$c(d,
this.Td);1<f.length?(d=f.slice(0,-1),f=(a===k.j.ga.Ia?this.$c(d,this.Bd):this.$c(d,this.Td))[0][0]):f=this.fb;b=this.ta[b][c.level.xb+1];for(a=0;a<c.children.length;a++){d=this.Un(f,[c.children[a]],[b]);for(var l=0;l<d.length;l++)-1===g[0][0].indexOf(d[l])&&g[0][0].push(d[l])}}Un(f,c,a){for(var b=0;b<c.length;b++){var d=c[b],g=a[b];if(e.i.B.F.ER){var l=this.slice.rc().getItem(this.ne[g]),m=l.ya(d);e.w(l.Zx)||e.w(this.ta)||e.w(a[b])||e.w(this.ta[a[b]])||(g=this.ta[a[b]][m.level.xb])}g=e.w(this.pl[g])||
e.w(this.pl[g][d])?g:this.pl[g][d];l=[];for(m=0;m<f.length;m++)this.tb[g][f[m]]===d&&l.push(f[m]);f=l}return f}bba(f,c,a){return a.fa===k.j.ca.Hm?this.Vwa(f,c,a):a.fa===k.j.ca.wn?this.Wwa(f,c,a):NaN}Vwa(f,c,a){var b=a.Ra?this.slice.ed().findIndex(t=>t.A===a.A)+this.Qf.length:this.Bh(a);null==this.values[b]&&(this.values[b]=[]);var d=this.Cr(f,c);if(null==this.values[b][d]){a.fa=a.Oo;if(0==f.length)this.values[b][d]=this.Ha(f,c,a);else{var g=this.slice.Ab.ea(f.length-1),l=g.ya(f[f.length-1]);if(null==
l||null==l.parent)return null;g=null==g.ec||l.level.xb>g.ec.xb?g.uj(l.parent,!0):g.bw(g.Gf);f=f.slice(0,-1);l=this.$c(f,this.Bd);if(l[0]&&l[0][1])for(var m=0,n=0;n<g.length;n++){var p=g[n];if(null!=l[p]){f.push(p);p=this.Cr(f,c);if(null==this.values[b][p]){var q=this.Ha(f,c,a);isNaN(q)||(m+=q);this.values[b][p]=m}else m=this.values[b][p];f.pop()}}}a.fa=k.j.ca.Hm}return this.values[b][d]}Wwa(f,c,a){var b=a.Ra?this.slice.ed().findIndex(t=>t.A===a.A)+this.Qf.length:this.Bh(a);null==this.values[b]&&(this.values[b]=
[]);var d=this.Cr(f,c);if(null==this.values[b][d]){a.fa=a.Oo;if(0===c.length)this.values[b][d]=this.Ha(f,c,a);else{var g=this.slice.Fb.ea(c.length-1),l=g.ya(c[c.length-1]);if(null===l||null===l.parent)return null;g=null===g.ec||l.level.xb>g.ec.xb?g.uj(l.parent,!0):g.bw(g.Gf);c=c.slice(0,-1);l=this.$c(c,this.Td);if(l[0]&&l[0][1])for(var m=0,n=0;n<g.length;n++){var p=g[n];if(void 0!==l[p]){c.push(p);p=this.Cr(f,c);if(null==this.values[b][p]){var q=this.Ha(f,c,a);isNaN(q)||(m+=q);this.values[b][p]=m}else m=
this.values[b][p];c.pop()}}}a.fa=k.j.ca.wn}return this.values[b][d]}Jaa(f,c,a,b,d,g){if(!e.w(f)&&0!=f.length)if(this.ph.length==c.length)this.NZ(f,a,b,d,g);else{for(var l=[],m=[],n=this.ph[c.length],p=0;p<f.length;p++){var q=this.tb[n][f[p]];m[q]||0==q||(l.push(q),m[q]=!0)}for(p=0;p<l.length;p++)m=c.slice(0),m.push(l[p]),n=this.Un(f,m,this.ph),this.Jaa(n,m,a,b,d,g)}}Iaa(f,c,a,b){var d=[];this.Jaa(f,c,a,b,d,[]);return d.length}OZ(f,c){if(e.w(f)||0==f.length)return 0;var a=this.Aa.O.Gk(c.A);a=this.ne.indexOf(2<
a.ta.length?a.ta.Ah(a.ta.length-1):a.A);c=this.Tg.indexOf(c.A);for(var b=[],d=[],g,l=0;l<f.length;l++)g=this.tb[a][f[l]],d[g]||(d[g]=!0,this.zc[c]&&isNaN(this.zc[c][f[l]])||this.zc[c]instanceof Uint8Array&&0==this.zc[c][f[l]]||b.push(g));return b.length}sx(f,c,a,b){var d=this.$c(f,this.Bd),g=this.$c(c,this.Td),l=[];d&&0<d.length&&g&&0<g.length&&(l=f.length*g[0][0].length<c.length*d[0][0].length?this.Un(g[0][0],f,this.ph):this.Un(d[0][0],c,this.Li));return this.Qr(l,a,!1,b)}Dqa(f,c,a){return this.Qr([this.fb[f[0]]],
c,!1,a)}mwa(f,c,a=0,b=null,d=null){for(var g=0,l=!0,m=0;m<f.length;m++)a=this.Qr([f[m]],c,!1,a,b,d,!0),isNaN(a)||(g+=a,l=!1);return l?NaN:g}Qr(f,c,a=!1,b=0,d=null,g=null,l=!0){if(a)return this.mwa(f,c,b,d,g);if(c[2]){var m=[],n;for(n in c[1]){var p=c[1][n],q=p;Array.isArray(p)&&(q=this.Qr(f,p,a,b,d,g,l),q=isNaN(q)&&l&&(c[0]===k.j.lc.JM||c[0]===k.j.lc.jO||c[0]===k.j.lc.UN||c[0]===k.j.lc.AV||c[0]===k.j.lc.rH)?this.Bla:q);m.push(q)}if(c[0]===k.j.lc.xn||c[0]===k.j.lc.vO||c[0]===k.j.lc.uO)return b;if(c[0]===
k.j.lc.Mga)return this.kva(m);if(c[0]===k.j.lc.zla)return this.mva(m);if(c[0]===k.j.lc.JM)return this.Zua(m);if(c[0]===k.j.lc.jO)return this.pva(m);if(c[0]===k.j.lc.UN)return this.jva(m);if(c[0]===k.j.lc.AV)return this.ova(m);if(c[0]===k.j.lc.rH)return this.ava(m);if(c[0]===k.j.lc.LESS)return this.fva(m);if(c[0]===k.j.lc.GREATER)return this.cva(m);if(c[0]===k.j.lc.EQUAL||c[0]==k.j.lc.L4)return this.bva(m);if(c[0]===k.j.lc.Cf)return this.lva(m);if(c[0]===k.j.lc.I5)return this.gva(m);if(c[0]===k.j.lc.v5)return this.dva(m);
if(c[0]===k.j.lc.x3)return this.$ua(m);if(c[0]===k.j.lc.p6)return this.nva(m);if(c[0]===k.j.lc.wN)return this.eva(m);if(c[0]===k.j.lc.mU)return this.Yua(m);if(c[0]===k.j.lc.MIN)return this.iva(m);if(c[0]===k.j.lc.MAX)return this.hva(m)}else{a=this.RZ(c[1][0],c[0]);if(void 0!==this.vx[a])return this.Qr(f,this.vx[a],this.$B[a],0,d,g,l);l=c[0];k.j.ca.jB(l)&&(l=k.j.ca.wB(l));switch(l){case k.j.ca.Eo:if(null!=g)return b=this.Aa.O.qd(c[1][0]),f=this.Ha([],g,b),b=this.Ha(d,g,b),100*b/f;break;case k.j.ca.cq:if(null!=
d)return b=this.Aa.O.qd(c[1][0]),f=this.Ha(d,[],b),b=this.Ha(d,g,b),100*b/f;break;case k.j.ca.ni:if(null!=d&&null!=g)return b=this.Aa.O.qd(c[1][0]),f=this.Ha([],[],b),c=this.Ha(d,[],b),l=this.Ha([],g,b),b=this.Ha(d,g,b),Math.abs(f*b/(l*c));break;case k.j.ca.Hm:case k.j.ca.wn:return b=this.Aa.O.qd(c[1][0]),f=b.fa,b.fa=l,d=this.bba(d,g,b),b.fa=f,d;case k.j.ca.yj:b=this.Aa.O.qd(c[1][0]);if(b.type==k.j.Na.oc)return this.OZ(f,b);break;case k.j.ca.mn:case k.j.ca.nn:case k.j.ca.tn:case k.j.ca.un:return b=
this.Aa.O.qd(c[1][0]),f=b.fa,b.fa=l,d=this.awa(d,g,b),b.fa=f,d;case k.j.ca.gr:case k.j.ca.Fo:return b=this.Aa.O.qd(c[1][0]),f=b.fa,b.fa=l,d=this.Jwa(d,g,b),b.fa=f,d}return this.eA(f,a,l)}}RZ(f){var c=this.Tg.indexOf(f);-1===c&&-1!=f.indexOf("[Measures]")&&(f=f.slice(12,-1),c=this.Tg.indexOf(f));return c}filter(){}select(f=!0){this.zG();this.filter();var c;this.zda=[];this.ph=[];this.Li=[];this.sizes=[];this.pl=[];this.Gt=[];this.vG=this.slice.axes.getItem(k.j.ga.Hs);this.kc=this.slice.axes.getItem(k.j.ga.Ia);
this.Xb=this.slice.axes.getItem(k.j.ga.Xa);for(c=0;c<this.kc.Va.length;c++){var a=this.kc.Va.ea(c);if(!a.cg){var b=this.ne.indexOf(a.A);this.ph.push(b);this.sizes.push(a.sm);this.pl[b]=[]}}this.Dl=this.ph.length;for(c=0;c<this.Xb.Va.length;c++)a=this.Xb.Va.ea(c),a.cg||(b=this.ne.indexOf(a.A),this.Li.push(b),this.sizes.push(a.sm),this.pl[b]=[]);this.sk=this.Li.length;if(f)for(c=0;c<this.vG.Va.length;c++)a=this.vG.Va.ea(c),b=this.ne.indexOf(a.A),this.zda.push(b);else this.fb=this.Og;f=this.slice.ed();
for(c=0;c<f.length;c++)b=this.Bh(f[c]),this.Gt.push(b)}hE(f,c,a,b){try{if(0===c.children.length||1===c.children.length&&(c.hierarchy.ya(c.children[0]).caption===e.i.C.u.Bj||c.hierarchy.ya(c.children[0]).caption===e.i.C.u.Bm))return;this.YK(f,c,b);this.If(f,c,b,void 0)}catch(p){}for(var d=this.$c(f,this.Bd),g=0;g<c.children.length;g++){var l=c.hierarchy.ya(c.children[g]);try{if(l.ai){f.length<this.ph.length&&this.bA(d,this.ph[a],void 0);var m=f.slice(0);m[m.length-1]=l.ordinal;this.tW(m,a+1,!0)}else{var n=
f.slice(0,-1);n.push(l.ordinal);this.hE(n,l,a,b)}}catch(p){}}}Gc(f){0===this.Bd.length&&(this.Bd=[[this.fb,[],[],void 0,void 0]]);0===this.Td.length&&(this.Td=[[this.fb,[],[],void 0,void 0]]);this.x7([],0,f);this.tW([],0,f)}tW(f,c,a){if(void 0!==this.ph[c]){var b=this.ph[c],d=this.$c(f,this.Bd),g;f.length<this.ph.length&&this.bA(d,b,void 0);a&&(g=this.kc.Va.getItem(this.ne[b]));if(a&&g.Nf){var l=g.Cd.children;for(d=0;d<l.length;d++)a=g.ya(l[d]),b=f.slice(0),b.push(a.ordinal),this.hE(b,a,c,k.j.ga.Ia)}else for(g=
d[0][1],d=0;d<g.length;d++)b=f.slice(0),b.push(g[d]),this.tW(b,c+1,a)}}x7(f,c,a){if(void 0!==this.Li[c]){var b=this.Li[c],d=this.$c(f,this.Td),g;f.length<this.Li.length&&this.bA(d,b,void 0);a&&(g=this.Xb.Va.getItem(this.ne[b]));if(a&&g.Nf)for(b=0;b<g.Cd.children.length;b++)a=g.ya(g.Cd.children[b]),d=f.slice(0),d.push(a.ordinal),this.hE(d,a,c,k.j.ga.Xa);else for(g=d[0][1],b=0;b<g.length;b++)d=f.slice(0),d.push(g[b]),this.x7(d,c+1,a)}}Sn(f,c,a,b){0===this.Bd.length&&(this.expand([],k.j.ga.Ia,void 0),
this.expand([],k.j.ga.Xa,void 0));try{if(0!=c.children.length&&(1!=c.children.length||c.hierarchy.ya(c.children[0]).caption!=e.i.C.u.Bj&&c.hierarchy.ya(c.children[0]).caption!=e.i.C.u.Bm)){this.YK(f,c,a);c.Rb||this.If(f,c,a,void 0);for(var d=c.hierarchy.ta.getItem(b),g=0;g<c.children.length;g++){var l=c.hierarchy.ya(c.children[g]);if(!l.ai&&l.level.xb<d.xb){var m=f.slice(0,-1);m.push(l.ordinal);var n=this.$c(m,a===k.j.ga.Xa?this.Td:this.Bd);void 0!==n&&void 0!==n[0]&&this.Sn(m,l,a,b)}}}}catch(p){}}Ha(){return 0}eA(f,
c){return this.values[f[0]][c]}NZ(){}SF(){return this.fb.length}get Aw(){return this.tb&&this.tb[0]?this.tb[0].length:this.tb[1]?this.tb[1].length:0}Ul(f,c){if(-1!==this.ne.indexOf(f))return this.ne.indexOf(f);if(void 0===c)this.ta[this.ne.length]=[-1,this.ne.length];else{var a=this.ne.indexOf(c);if(-1===a)return this.Ul(c),this.Ul(f,c);this.ta[a]?this.ta[a].push(this.ne.length):this.ta[this.ne.length]=[-1,this.ne.length]}this.ne.push(f);return this.ne.length-1}BP(f){-1===this.Tg.indexOf(f.A)&&this.Tg.push(f.A)}GA(f,
c){var a=!1;if("string"===typeof f)var b=f;else if(b=f.A,c=f.fa,a=f.Ra){var d=f.Oe;var g=f.xk}f=this.Qf.indexOf(b);if(-1!==f){if(void 0!==c&&c!==k.j.ca.NONE){if(this.OE[f]===c)return;f=this.Qf.length;this.OE[f]=c;this.Qf[f]=b}}else f=this.Qf.length,void 0!==c&&c!==k.j.ca.NONE&&(this.OE[f]=c),this.Qf.push(b);a&&(this.vx[f]=d,this.$B[f]=g)}HA(){return!0===e.i.B.F.rs||"rows"===e.i.B.F.rs}PE(){return!0===e.i.B.F.rs||"columns"===e.i.B.F.rs}}k.O3=h})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){class h{constructor(){}static exa(f){var c=null;switch(f.Fa){case k.j.sa.Nc:c=f.Xm?new k.external.Db.Mo.H3(f):new k.external.Db.bD.Cma(f);break;case k.j.sa.ae:c=f.Xm?new k.external.Db.Mo.H3(f):new k.external.Db.tp.wla(f);break;case k.j.sa.qh:c=new k.local.csv.BU;break;case k.j.sa.aq:c=new k.local.csv.Dla;break;case k.j.sa.JSON:c=!f.UG||f.Wt||f.Ld?new k.local.json.Qja:new k.local.json.Rja;break;case k.j.sa.Af:c=new k.external.ze.Bia(f);break;case k.j.sa.API:c=new k.external.Kc.Aga(f)}return c}}
k.Uma=h})(e.v||(e.v={}))})(u||(u={}));(function(e){(function(k){class h{constructor(f=""){this.type=f;this.nv=k.j.ga.Ia;this.zf=[]}}k.TD=h})(e.v||(e.v={}))})(u||(u={}));(function(e){(function(k){class h{static KB(f,c){switch(c.Fa){case k.j.sa.Af:f=new k.external.ze.zia(f,c);break;case k.j.sa.API:f=new k.external.Kc.zga(f,c);break;case k.j.sa.ae:f=new k.external.Db.tp.pV(f,c);break;default:f=new k.external.Db.bD.pV(f,c)}return f}}k.Lz=h})(e.v||(e.v={}))})(u||(u={}));var Ma=u||(u={});
{var Na=Ma.v||(Ma.v={});class e{}e.JD="members";e.D3="ascendants";e.Yha="descendants";e.H6="siblings";e.IV="search";Na.Co=e}(function(e){(function(k){class h{constructor(){}static LZ(f){var c=null;switch(f.Fa){case k.j.sa.Af:c=new k.external.ze.uia;break;case k.j.sa.API:c=new k.external.Kc.wga;break;case k.j.sa.Nc:c=f.Xm?new k.external.Db.Mo.G3:new k.external.Db.Ai.b7;break;case k.j.sa.ae:c=f.Xm?new k.external.Db.Mo.G3:new k.external.Db.Ai.b7}return c}}k.JU=h})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){class h{constructor(){this.values=[];this.values.push("");if(null!=h.La)throw Error("Singleton");}static V(){null==h.La&&(h.La=new h);return h.La}static dispose(){h.La=null}Kh(f){var c=this.values.indexOf(f);-1==c&&(c=this.values.push(f)-1);return c}Ha(f){return f>=this.values.length?"out of bounce: "+f+" of "+this.values.length:this.values[f]}}k.RV=h})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){class h{}h.eHa="BEFOREstructure__LOADING";h.OV="STRUCTURE_CONNECTED";h.Pu="STRUCTURE_LOADED";h.NV="STRUCTURE_CANCELLED";h.PV="STRUCTURE_LOADING_FAILED";h.dH="BEFORE_QUERY";h.ek="QUERY_COMPLETE";h.Ks="QUERY_ERROR";k.Sf=h;class f extends r.da{constructor(a){super(h.dH);this.Dp=a}}k.tD=f;class c extends r.da{constructor(a){super(h.ek);this.Dp=a}}k.DV=c})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){class h{constructor(){this.ES=[NaN];this.MG=[""];if(null!=h.La)throw Error("Singleton");}static V(){null==h.La&&(h.La=new h);return h.La}static dispose(){h.La=null}Ty(f,c){var a=this.MG.indexOf(f);-1==a&&(this.MG.push(f),a=this.ES.push(c)-1);return a}cxa(f){return isNaN(f)||f>=this.MG.length||void 0==this.MG[f]?"":this.MG[f]}Dwa(f){return isNaN(f)||f>=this.ES.length?NaN:this.ES[f]}clear(){this.ES.length=1;this.MG.length=1}}k.YH=h})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){class h{static pg(f,c){if(f===c)return f;if(h.hD&&"["===f.slice(0,1)&&"]"===f.slice(-1)){c=f.split("].");1<c.length&&c.shift();f="";for(var a=0;a<c.length;a++){var b=c[a];"[Measures]"!=b&&("["==b.slice(0,1)&&(b=b.slice(1,b.length)),"]"==b.slice(-1)&&(b=b.slice(0,b.length-1)));f=""==f?b:f+"."+b}}return f}static Xr(f){if("["==f.slice(0,1)&&"]"==f.slice(-1)&&h.hD){var c=f.split("].");if(2>c.length)return h.TG&&!e.i.B.F.yx?f.toLocaleLowerCase():f;1<c.length&&c.shift();f="";for(var a=
0;a<c.length-1;a++){var b=c[a];"[Measures]"!=b&&("["==b.slice(0,1)&&(b=b.slice(1,b.length)),"]"==b.slice(-1)&&(b=b.slice(0,b.length-1)));f=""==f?b:f+"."+b}f=f+"."+c[c.length-1]}return h.TG&&!e.i.B.F.yx?f.toLocaleLowerCase():f}static xy(f){if("[Measures]"==f.slice(0,10))return h.Xr(f,void 0);h.hD&&(f=f.split(".["),2<f.length?(f.shift(),f="["+f.join(".[")):(f=f.pop(),"]"==f.slice(-1)&&(f=f.slice(0,f.length-1))));return h.TG&&!e.i.B.F.yx?f.toLocaleLowerCase():f}static type(f){return k.j.input.qa.valid(f)?
f:"hierarchical date"===f?k.j.input.qa.Zp:"measure"===f?k.j.input.qa.kb:k.j.input.qa.Sc}}h.hD=!1;h.TG=!1;k.Se=h})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends r.fh{constructor(){super();this.Ac=[];this.cl=[];this.Ud=[];this.Pl=[];this.pm=[];this.vg=[];this.ou=[];this.uh=[];this.Mx=[];this.sA="";this.Iy=c=>this.vC(c);this.vJ=c=>this.F0(c);this.qM=()=>this.Kq();this.Sm=new e.wb;this.qP=[];this.EO=[];this.Ql=new e.wb;this.kP=new e.wb;this.ub=[];this.fj=0;this.gE=!1;this.pA=this.Vu=this.wA=0;this.Dp=k.j.Jd.eq;this.tP=!1;this.wW=0;f.uY++;this.ja=k.Sa.V()}static V(){null==f.La&&(f.La=new f,f.La.sA="grid"+
f.uY);return f.La}AP(){this.ja.N(k.Sf.ek,this.Iy,1);this.ja.N(k.Sf.dH,this.vJ);this.ja.N(k.Sf.Pu,this.qM,1)}Ky(){this.ja.qb(k.Sf.ek,this.Iy);this.ja.qb(k.Sf.dH,this.vJ);this.ja.qb(k.Sf.Pu,this.qM)}get ra(){return null!=this.EI?this.EI:this.ja.ra}set ra(c){this.EI=c}get slice(){return null!=this.Wb?this.Wb:this.ja.za}set slice(c){this.Wb=c}get Rj(){return e.i.B.F.pk}set Rj(c){}get rows(){return this.Sm}set rows(c){}get Ab(){return this.slice.Ab}set Ab(c){}get Lk(){return this.qP}set Lk(c){}get XA(){return this.EO}set XA(c){}get Ka(){return this.Ql}set Ka(c){}get Fb(){return this.slice.Fb}set Fb(c){}get lb(){return this.kP}set lb(c){}get Ea(){return this.ub}set Ea(c){}get le(){return this.fj}set le(c){}get Th(){return this.slice&&
this.gE}set Th(c){this.gE=c}get CG(){return this.wA}set CG(c){}get Ym(){return this.Vu}set Ym(c){}get wy(){return this.pA}set wy(c){}get kc(){return this.Nb}set kc(c){}get Xb(){return this.Qb}set Xb(c){}get Dl(){return this.Nb?this.Nb.hb?this.Nb.Va.length-1:this.Nb.Va.length:0}set Dl(c){}get sk(){return this.Qb?this.Qb.hb?this.Qb.Va.length-1:this.Qb.Va.length:0}set sk(c){}get xl(){return 1<this.ub.length||this.Qb.hb&&e.i.B.F.HG}set xl(c){}AK(){return this.Nb&&!this.slice.Gc?this.Nb.pd:[]}Yea(c){this.Nb&&
!this.slice.Gc&&(this.Nb.pd=c)}zK(){return this.Qb&&!this.slice.Gc?this.Qb.pd:[]}Xea(c){this.Qb&&!this.slice.Gc&&(this.Qb.pd=c)}GF(){return this.Nb&&this.slice.Gc?this.Nb.pd:[]}o2(c){this.Nb&&this.slice.Gc&&(this.Nb.pd=c)}EB(){return this.Qb&&this.slice.Gc?this.Qb.pd:[]}Qea(c){this.Qb&&this.slice.Gc&&(this.Qb.pd=c)}MF(){return this.Nb&&!this.slice.cd?this.Nb.Ze:[]}t2(c){this.Nb&&!this.slice.cd&&(this.Nb.Ze=c)}LF(){return this.Qb&&!this.slice.cd?this.Qb.Ze:[]}s2(c){this.Qb&&!this.slice.cd&&(this.Qb.Ze=
c)}wK(){return this.Nb&&this.slice.cd?this.Nb.Ze:[]}Vea(c){this.Nb&&this.slice.cd&&(this.Nb.Ze=c)}vK(){return this.Qb&&this.slice.cd?this.Qb.Ze:[]}Uea(c){this.Qb&&this.slice.cd&&(this.Qb.Ze=c)}set sj(c){this.Nb&&(this.Nb.yf=c)}get sj(){var c=k.j.Ba.Yc;this.Nb&&(c=this.Nb.yf,c==k.j.Ba.Yc&&this.Nb.vs&&this.Nb.Vq!=k.j.Ba.Yc&&(c=this.Nb.Vq));return c}set Vi(c){this.Nb&&(this.Nb.ym=c)}get Vi(){if(this.Nb){var c=this.Nb.ym;this.Nb.yf==k.j.Ba.Yc&&this.Nb.vs&&this.Nb.Vq!=k.j.Ba.Yc&&(c=[])}return c}set io(c){this.Nb&&
(this.Nb.yg=c)}get io(){if(this.Nb){var c=this.Nb.yg;this.Nb.yf==k.j.Ba.Yc&&this.Nb.vs&&this.Nb.Vq!=k.j.Ba.Yc&&(c=this.Nb.vs)}return c}get XB(){if(this.sj==k.j.Ba.Yc||null==this.Vi)return!1;if(1>this.Vi.length)return!0;var c=!1;try{c=this.ci(this.Vi.slice(0,this.Vi.length-1),this.io)}catch(a){}return c}set XB(c){}set vh(c){this.Qb&&(this.Qb.yf=c)}get vh(){var c=k.j.Ba.Yc;this.Qb&&(c=this.Qb.yf,c==k.j.Ba.Yc&&this.Qb.vs&&this.Qb.Vq!=k.j.Ba.Yc&&(c=this.Qb.Vq));return c}set hl(c){this.Qb&&(this.Qb.ym=
c)}get hl(){if(this.Qb){var c=this.Qb.ym;this.Qb.yf==k.j.Ba.Yc&&this.Qb.vs&&this.Qb.Vq!=k.j.Ba.Yc&&(c=[])}return c}set wq(c){this.Qb&&(this.Qb.yg=c)}get wq(){if(this.Qb){var c=this.Qb.yg;this.Qb.yf==k.j.Ba.Yc&&this.Qb.vs&&this.Qb.Vq!=k.j.Ba.Yc&&(c=this.Qb.vs)}return c}get $x(){if(this.vh==k.j.Ba.Yc||null==this.hl)return!1;if(1>this.hl.length)return!0;var c=!1;try{c=this.zk(this.hl.slice(0,this.hl.length-1),this.wq)}catch(a){}return c}set $x(c){}set Pg(c){}get Pg(){return null}cR(){return null}reset(c=
!0){this.Th=!1;this.ub=[];this.Sm=new e.wb;this.Ql=new e.wb;this.kP=new e.wb;this.qP=[];this.EO=[];this.cl=[];this.Pl=[];this.Ac=[];this.Ud=[];this.pm=[];this.vg=[];this.uh=[];this.Vu=this.wA=0;this.ou=[];this.Mx=[];c&&(this.Qb&&(this.Qb.pd=[]),this.Nb&&(this.Nb.pd=[]),this.Qb&&(this.Qb.Ze=[]),this.Nb&&(this.Nb.Ze=[]))}F0(c){c.Dp!=k.j.Jd.sH&&(this.Dp=c.Dp,this.Th=!1,c.Dp==k.j.Jd.eq&&this.reset(),c.Dp!=k.j.Jd.eN&&c.Dp!=k.j.Jd.Au||this.reset(!1))}vC(c){c.Dp!=k.j.Jd.sH&&this.load()}Kq(){this.Th=!1;this.reset()}load(){if(null==
this.ra&&(this.ra=this.ja.ra,null==this.ra))return;if(this.slice){this.Qb=this.slice.he(k.j.ga.Xa);this.Nb=this.slice.he(k.j.ga.Ia);if(0==this.Ud.length&&0==this.Ac.length||this.Dp==k.j.Jd.VU)this.slice.Gc?this.ra.Gc(this.slice.cd):(this.ra.expand([],k.j.ga.Ia,void 0),this.ra.expand([],k.j.ga.Xa,void 0)),(0<this.MF().length||0<this.wK().length)&&this.t7(),(0<this.LF().length||0<this.vK().length)&&this.s7(),(0<this.AK().length||0<this.GF().length||0<this.zK().length||0<this.EB().length)&&this.y7(),
(0<this.MF().length||0<this.wK().length)&&this.t7(),(0<this.LF().length||0<this.vK().length)&&this.s7(),(0<this.AK().length||0<this.GF().length||0<this.zK().length||0<this.EB().length)&&this.y7();this.eT();this.Th=!0}else this.Nb=this.Qb=null}y7(){var c=this.slice.ed();if(this.Dp==k.j.Jd.VU)if(this.slice.Gc){var a=this.GF();if(0<a.length)for(var b=0;b<a.length;b++)try{var d=c[a[b][0]];var g=a[b].slice(1);this.ra.collapse(g,k.j.ga.Ia,d)}catch(l){}a=this.EB();if(0<this.EB().length)for(b=0;b<this.EB().length;b++)try{d=
c[a[b][0]],g=a[b].slice(1),this.ra.collapse(g,k.j.ga.Xa,d)}catch(l){}}else{a=this.AK();if(0<a.length)for(b=0;b<a.length;b++)try{d=c[a[b][0]],g=a[b].slice(1),this.ra.expand(g,k.j.ga.Ia,d)}catch(l){}a=this.zK();if(0<a.length)for(b=0;b<a.length;b++)try{d=c[a[b][0]],g=a[b].slice(1),this.ra.expand(g,k.j.ga.Xa,d)}catch(l){}}}t7(){var c=this.kc.Va.slice();c.removeItem("[Measures]");var a=this.slice.ed();if(this.slice.cd)for(var b=this.wK(),d=0;d<b.length;d++)try{var g=a[b[d][0]];var l=b[d].slice(2);var m=
c.ea(l.length-1);var n=m.Yb(b[d][1]);this.ra.Eh(l,n,g)&&this.ra.Bq(l,n,k.j.ga.Ia,g)}catch(t){}else for(b=this.MF(),d=0;d<b.length;d++)try{if("string"==typeof b[d][0]){var p=b[d][0];g=a[b[d][1]];l=b[d].slice(3);m=c.ea(l.length-1);n=m.Yb(b[d][2])}else g=a[b[d][0]],l=b[d].slice(2),m=c.ea(l.length-1),n=m.Yb(b[d][1]);if(void 0!==p)if(m.It(p).xb<n.level.xb){var q=this.vqa(n,p);l[l.length-1]=q.ordinal;m.cZ(q);this.ra.Bq(l,q,k.j.ga.Ia,g)}else this.ra.Eh(l,n,g)||(this.ra.YK(l,n,k.j.ga.Ia),this.ra.If(l,n,k.j.ga.Ia,
g));else n.hierarchy.ec&&n.hierarchy.Cd&&this.ra.Sn(l.slice(0,-1),n.hierarchy.Cd,k.j.ga.Ia,n.hierarchy.Gf),this.ra.Eh(l,n,g)||(this.ra.YK(l,n,k.j.ga.Ia),this.ra.If(l,n,k.j.ga.Ia,g))}catch(t){}}s7(){var c=this.Xb.Va.slice();c.removeItem("[Measures]");var a=this.slice.ed();if(this.slice.cd)for(var b=this.vK(),d=0;d<b.length;d++)try{var g=a[b[d][0]];var l=b[d].slice(2);var m=c.ea(l.length-1);var n=m.Yb(b[d][1]);this.ra.yk(l,n,g)&&this.ra.Bq(l,n,k.j.ga.Xa,g)}catch(p){}else for(b=this.LF(),d=0;d<b.length;d++)try{g=
a[b[d][0]],l=b[d].slice(2),m=c.ea(l.length-1),n=m.Yb(b[d][1]),n.hierarchy.ec&&n.hierarchy.Cd&&this.ra.Sn(l.slice(0,-1),n.hierarchy.Cd,k.j.ga.Xa,n.hierarchy.Gf),this.ra.yk(l,n,g)||(this.ra.YK(l,n,k.j.ga.Xa),this.ra.If(l,n,k.j.ga.Xa,g))}catch(p){}}eT(){this.tP=!1;this.slice?(this.ub=this.slice.ed(),this.fj=this.Nb.hb?this.Nb.le:this.Qb.le,this.Sm=this.slice.rows,this.Ql=this.slice.Ka,this.kP=this.slice.lb):(this.ub=[],this.fj=0,this.Sm=new e.wb,this.Ql=new e.wb,this.kP=new e.wb);this.qP=[];this.EO=
[];this.cl=[];this.Pl=[];this.Ac=[];this.Ud=[];this.pm=[];this.vg=[];this.uh=[];this.Mx=[];this.ou=[];this.Vu=this.wA=0;if(!e.w(this.slice)&&!this.slice.ib){this.pA=-1;e.w(this.Qb.yg)||this.Qb.yg.fa!==k.j.ca.nn&&this.Qb.yg.fa!==k.j.ca.un?(this.Yda(),this.Uda()):(this.Uda(),this.Yda());for(var c=0;c<this.vg.length;c++)this.vg[c]>this.wA&&(this.wA=this.vg[c]);this.wA++;for(c=0;c<this.uh.length;c++)this.uh[c]>this.Vu&&(this.Vu=this.uh[c]);0<this.Ud.length&&this.Vu++;!this.ib&&0<this.slice.Fb.length&&
this.Qb.hb&&this.xl&&this.Vu++;-1==this.pA?this.pA=0==this.le?0:this.Vu:this.pA++;this.pack();this.tP&&e.Wa(e.i.C.u.U5,e.i.C.u.V5,e.Bb.Tk)}}Yda(){var c=this.ra.result[0];(!this.Nb.hb||1<this.Sm.length||this.Rj)&&this.qZ(c,[],0);if(this.D2||this.Nb.hb&&1==this.Sm.length){var a=this.Ab.ea(0);if(!a||a.mh){0==this.Ac.length&&(this.Ac[0]=[]);for(a=0;a<this.Ac.length;a++)this.Ac[a].push(0);this.vg.push(0)}}if(!this.Rj)if(this.Nb.hb&&this.xl){this.vg=[];this.ou=[];if(1<this.Sm.length)for(0!=this.le&&this.iK(c,
[],-1,0),a=0;a<this.ub.length;a++)this.D2?(this.mk(this.cl,[],a),this.vg.push(0)):0!=this.fj||"off"!=e.i.B.F.xg&&"rows"!=e.i.B.F.xg||(this.mk(this.cl,[],a),this.vg.push(0)),0==this.le&&this.iK(c,[],a,1);if(0==this.le&&(this.D2||this.Nb.hb&&1==this.Sm.length))for(c=0;c<this.ub.length;c++)this.mk(this.cl,[],c),this.vg.push(0)}else this.cl=this.Ac}Uda(){var c=this.ra.result[1];(!this.Qb.hb||1<this.Ql.length)&&this.R$(c,[],0);if(this.K2||this.Qb.hb&&1==this.Ql.length){var a=this.Fb.ea(0);if(!a||a.mh){0==
this.Ud.length&&(this.Ud[0]=[]);for(a=0;a<this.Ud.length;a++)this.Ud[a].push(0);this.uh.push(0)}}if(this.Qb.hb&&this.xl){this.uh=[];if(1<this.Ql.length)for(this.Mx=[],0!=this.fj&&this.gK(c,[],-1,0),a=0;a<this.ub.length;a++)this.K2?(this.mk(this.Pl,[],a),this.uh.push(0)):0!=this.fj||"off"!=e.i.B.F.xg&&"columns"!=e.i.B.F.xg||(this.mk(this.Pl,[],a),this.uh.push(0)),0==this.fj&&this.gK(c,[],a,0);if(0==this.fj&&(this.K2||this.Qb.hb&&1==this.Ql.length))for(c=0;c<this.ub.length;c++)this.mk(this.Pl,[],c),
this.uh.push(0)}else this.Pl=this.Ud}pack(){this.YS(this.Ac);this.YS(this.cl);this.YS(this.Ud);this.YS(this.Pl);15<this.pm.length&&(this.pm=new Int8Array(this.pm));15<this.vg.length&&(this.vg=256>this.wA?new Uint8Array(this.vg):new Uint16Array(this.vg));15<this.uh.length&&(this.uh=256>this.Vu?new Uint8Array(this.uh):new Uint16Array(this.uh))}YS(c){for(var a=0;a<c.length;a++)if(15<c[a].length){for(var b=0,d=0;d<c[a].length;d++)b=c[a][d]>b?c[a][d]:b;256>b?c[a]=new Uint8Array(c[a]):65536>b?c[a]=new Uint16Array(c[a]):
4294967296>b&&(c[a]=new Uint32Array(c[a]))}}qZ(c,a,b){var d=a.length;if(d=this.Nb.hb&&a.length>=this.fj?this.Sm.ea(d+1):this.Sm.ea(d))0==b&&(this.wW=Date.now()),this.Rj?this.A7(d,d.Cd,c,a,b):this.T$(d,d.Cd,c,a,b)}Yba(c){if(0==c.hierarchy.fb.length)return!0;let a=c;for(;!e.w(a);){if(0<=c.hierarchy.fb.indexOf(a.ordinal))return!0;a=a.parent}return!1}M_(c,a,b,d){if(this.ja.ha.Qc&&this.ja.ha.Fa!==k.j.sa.API||this.ja.ha.bL)return!1;if(!0===e.i.B.F.rs||"rows"===e.i.B.F.rs)return!this.Yba(a);if(void 0!==
b&&void 0!==d&&!k.j.ca.cL(d.fa)&&(a=this.Ha(c,[],d),!b.AS(a,b.query)))return!0;for(b=0;b<this.Ea.length;b++)if(0===b&&this.Ea[b].Ra||!isNaN(this.Ha(c,[],this.Ea[b]))||k.j.ca.cL(this.Ea[b].fa))return!1;return!0}Rba(c,a,b,d){if(this.ja.ha.Qc&&this.ja.ha.Fa!==k.j.sa.API||this.ja.ha.bL)return!1;if(!0===e.i.B.F.rs||"columns"===e.i.B.F.rs)return!this.Yba(a);if(void 0!==b&&void 0!==d&&!k.j.ca.cL(d.fa)&&(a=this.Ha([],c,d),!b.AS(a,b.query)))return!0;for(b=0;b<this.Ea.length;b++)if(0===b&&this.Ea[b].Ra||!isNaN(this.Ha([],
c,this.Ea[b]))||k.j.ca.cL(this.Ea[b].fa))return!1;return!0}T$(c,a,b,d,g){if(null!=a){if(null!=c.ec&&!this.ra.Eh(d,a)){if(0<d.length){var l=d.slice(0);l.push(a.ordinal)}else l=d.slice(0);this.ra.Sn(l,a,k.j.ga.Ia,c.Gf)}a=null==c.ec||a.level.xb>=c.ec.xb?c.uj(a,!1,""):c.bw(c.Gf);a=this.Q2(c,a,b,d);if(c.filter.Ch&&c.filter.query.va!=k.j.pc.Oh&&c.filter.query.va!=k.j.pc.aj){var m=c.filter;var n=this.slice.qd(m.measure.A)}l=this.Ab.indexOf(c.A)<this.Ab.length-1;for(var p=this.ra.HA(c),q=0;q<a.length;q++){var t=
c.ya(a[q]);0===q&&this.U$(t);if(void 0===b[t.ordinal]&&!p||t.Rb)continue;var x=d.slice(0);x.push(t.ordinal);if(this.M_(x,t,m,n))continue;const z=l&&this.ra.ci(x),A=!t.ai&&this.ra.Eh(x,t);this.mk(this.Ac,x);this.vg.push(g);if(Date.now()-this.wW<e.i.B.F.DQ)A?this.T$(c,t,b,d,g+1):z&&this.qZ(b[t.ordinal],x,g+1);else if(A||z)this.tP=!0}}}mk(c,a,b){0===c.length&&(c[0]=[]);var d;if(a.length>c.length)for(d=c.length;d<a.length;d++){c[d]=[];for(var g=0;g<c[0].length;g++)c[d].push(0)}for(d=0;d<a.length;d++)c[d].push(a[d]);
if(c.length>a.length)for(d=a.length;d<c.length;d++)c[d].push(0);void 0!==b&&this.pm.push(b)}SB(c,a){if(0==c.length||void 0==c[0][a])return null;for(var b=[],d=0;d<c.length;d++)0!=c[d][a]&&b.push(c[d][a]);return b}iK(c,a,b,d){if(!this.Rj){var g=a.length;(g=this.Nb.hb&&a.length>=this.fj?this.Sm.ea(g+1):this.Sm.ea(g))&&this.IQ(g,g.Cd,c,a,b,d)}}IQ(c,a,b,d,g,l){if(null!=a){if(null!=c.ec&&!this.ra.Eh(d,a)){if(0<d.length){var m=d.slice(0,-1);m.push(a.ordinal)}else m=d.slice(0);this.ra.Sn(m,a,k.j.ga.Ia,c.Gf)}m=
d.length;a=null==c.ec||a.level.xb>=c.ec.xb?c.uj(a,!1,""):c.bw(c.Gf);a=this.Q2(c,a,b,d);if(c.filter.Ch&&c.filter.query.va!=k.j.pc.Oh&&c.filter.query.va!=k.j.pc.aj){var n=c.filter;var p=this.slice.qd(n.measure.A)}for(var q,t,x=this.ra.HA(c),z=0;z<a.length;z++){q=c.ya(a[z]);if(null==b[q.ordinal]&&!x||q.Rb)continue;var A=d.slice(0);A.push(q.ordinal);if(this.M_(A,q,n,p))continue;const B=this.ra.ci(A,g),D=this.ra.Eh(A,q);if(m<this.fj)if(this.mk(this.cl,A,-1),this.vg.push(l),m==this.fj-1&&B)for(t=0;t<this.ub.length;t++)this.ra.Eh(A,
q,t)?this.IQ(c,q,b,d,t,l+2):(this.mk(this.cl,A,t),this.vg.push(l+1),this.ra.ci(A)&&this.iK(b[q.ordinal],A,t,l+2));else{for(t=0;t<this.ub.length;t++)if(this.rfa(c)||!B&&!D||this.EF)this.mk(this.cl,A,t),this.vg.push(l+1);this.ra.Eh(A,q,g)?this.IQ(c,q,b,d,g,l+2):this.ra.ci(A,g)&&this.iK(b[q.ordinal],A,g,l+2)}else this.mk(this.cl,A,g),this.vg.push(l),this.ra.Eh(A,q,g)?this.IQ(c,q,b,d,g,l+1):B&&this.iK(b[q.ordinal],A,g,l+1)}}}A7(c,a,b,d,g){if(null!=a){if(null!=c.ec&&!this.ra.Eh(d,a)){if(0<d.length){var l=
d.slice(0);l.push(a.ordinal)}else l=d.slice(0);this.ra.Sn(l,a,k.j.ga.Ia,c.Gf)}a=null==c.ec||a.level.xb>=c.ec.xb?c.uj(a,!1,""):c.bw(a.hierarchy.Gf);a=this.Q2(c,a,b,d);if(c.filter.Ch&&c.filter.query.va!=k.j.pc.Oh&&c.filter.query.va!=k.j.pc.aj){var m=c.filter;var n=this.slice.qd(m.measure.A)}for(var p=this.ra.HA(c),q=0;q<a.length;q++){l=c.ya(a[q]);0===q&&this.U$(l);if(null==b[l.ordinal]&&!p||l.Rb)continue;const A=d.slice(0);A.push(l.ordinal);if(this.M_(A,l,m,n))continue;var t=this.ra.Eh(A,l),x=this.ra.ci(A);
l.rg&&x&&!t&&(x=!1);var z=0<this.Ac.length?this.Ac[0].length:0;this.Dl>A.length&&(this.ou[z]=1,void 0==this.vg[z]&&(this.vg[z]=g));const B=Date.now()-this.wW;if(B<e.i.B.F.DQ||B>=e.i.B.F.DQ&&0<g)t?this.A7(c,l,b,d,g+1):x&&this.qZ(b[l.ordinal],A,g+1);else if(t||x)this.tP=!0,0===g&&x&&(this.vEa(A,z),x=!1);t||x?(this.rfa(c)&&(this.mk(this.Ac,A),this.ou[this.Ac[0].length-1]=2,this.vg[this.Ac[0].length-1]=g),t&&this.vg[z]>g&&(this.vg[z]=g,this.ou[z]=0)):(this.mk(this.Ac,A),void 0==this.ou[this.Ac[0].length-
1]&&(this.ou[this.Ac[0].length-1]=0,this.vg[this.Ac[0].length-1]=g))}}}vEa(c,a){this.vg[a]=0;this.ra.collapse(c,this.Nb.A,void 0);c=[-1,c[0]];a=this.GF().slice(0);a.push(c);this.o2(a)}U$(c){this.S$(this.qP,c)}oua(c){this.S$(this.EO,c)}S$(c,a){-1===c.indexOf(a.level.A)&&(1>=(null!=a.hierarchy.ec?a.level.xb-a.hierarchy.ec.xb+1:a.level.xb)?c.push(a.level.A):c.splice(c.indexOf(a.parent.level.A)+1,0,a.level.A))}nca(c,a){for(var b=0;b<c.length;b++){var d=a.ea(b);if(d.filter.Xg&&0>d.fb.indexOf(c[b]))return!1}return!0}Q2(c,
a,b,d){if(!this.$x)return a;var g=this.hl;if(!this.nca(g,this.Fb))return a;for(var l=[],m=[],n=[],p=[],q,t=this.ra.HA(c),x=0;x<a.length;x++)if(q=c.ya(a[x]),(null!=b[q.ordinal]||t)&&!q.Rb){var z=d.slice(0);z.push(q.ordinal);z=this.Ha(z,g,this.wq);isNaN(z)?n.push(q.ordinal):(l.push(z),m.push(q.ordinal))}c=this.vh!==k.j.Ba.Ec?e.gb.sort(l,e.gb.oi|e.gb.Mu):e.gb.sort(l,e.gb.oi|e.gb.yo|e.gb.Mu);for(x=0;x<c.length;x++)a=m[c[x]],null!=a&&p.push(a);for(x=0;x<n.length;x++)a=n[x],this.vh==k.j.Ba.Ec?p.push(a):
p.splice(x,0,a);return p}xfa(c,a,b,d){if(!this.XB)return a;var g=this.Vi;if(!this.nca(g,this.Ab))return a;for(var l=[],m=[],n=[],p=[],q,t=this.ra.PE(c),x=0;x<a.length;x++)if(q=c.ya(a[x]),(null!=b[q.ordinal]||t)&&!q.Rb){var z=d.slice(0);z.push(q.ordinal);z=this.Ha(g,z,this.io);isNaN(z)?n.push(q.ordinal):(l.push(z),m.push(q.ordinal))}c=this.sj!==k.j.Ba.Ec?e.gb.sort(l,e.gb.oi|e.gb.Mu):e.gb.sort(l,e.gb.oi|e.gb.yo|e.gb.Mu);for(x=0;x<c.length;x++)a=m[c[x]],null!=a&&p.push(a);for(x=0;x<n.length;x++)a=n[x],
this.sj==k.j.Ba.Ec?p.push(a):p.splice(x,0,a);return p}R$(c,a,b){var d=a.length;(d=this.Qb.hb&&a.length>=this.fj?this.Ql.ea(d+1):this.Ql.ea(d))&&this.Q$(d,d.Cd,c,a,b)}Q$(c,a,b,d,g){if(null!=c.ec&&!this.ra.yk(d,a)){if(0<d.length){var l=d.slice(0);l.push(a.ordinal)}else l=d.slice(0);this.ra.Sn(l,a,k.j.ga.Xa,c.Gf)}a=null==a.hierarchy.ec||a.level.xb>=c.ec.xb?c.uj(a,!1,""):c.bw(c.Gf);a=this.xfa(c,a,b,d);if(c.filter.Ch&&c.filter.query.va!=k.j.pc.Oh&&c.filter.query.va!=k.j.pc.aj){var m=c.filter;var n=this.slice.qd(m.measure.A)}for(var p=
this.ra.PE(c),q=0;q<a.length;q++){l=c.ya(a[q]);0==q&&this.oua(l);if(null==b[l.ordinal]&&!p||l.Rb)continue;var t=d.slice(0);t.push(l.ordinal);if(this.Rba(t,l,m,n))continue;const x=this.ra.zk(t),z=this.ra.yk(t,l);this.Uy(c)||!x||this.EF?(this.mk(this.Ud,t),this.uh.push(g)):this.Uy(c)||this.zP(d.length);z?this.Q$(c,l,b,d,g+1):x&&this.R$(b[l.ordinal],t,g+1)}}gK(c,a,b,d){var g=a.length;(g=this.Qb.hb&&a.length>=this.fj?this.Ql.ea(g+1):this.Ql.ea(g))&&this.HQ(g,g.Cd,c,a,b,d)}get D2(){return"on"==e.i.B.F.xg||
"columns"==e.i.B.F.xg||0==this.rows.length}get K2(){return"on"==e.i.B.F.xg||"rows"==e.i.B.F.xg||0==this.Ka.length}Uy(c){return e.i.B.F.pk&&void 0!==c&&void 0!==c.bf?c.bf:"on"==e.i.B.F.bf||"columns"==e.i.B.F.bf}rfa(c){return e.i.B.F.pk&&void 0!==c&&void 0!==c.bf?c.bf:"on"==e.i.B.F.bf||"rows"==e.i.B.F.bf}get EF(){return!1}HQ(c,a,b,d,g,l){if(null!=c.ec&&!this.ra.yk(d,a)){if(0<d.length){var m=d.slice(0,-1);m.push(a.ordinal)}else m=d.slice(0);this.ra.Sn(m,a,k.j.ga.Xa,c.Gf)}m=d.length;var n=null==c.ec||
a.level.xb>=c.ec.xb?c.uj(a,!1,""):c.bw(c.Gf);n=this.xfa(a.hierarchy,n,b,d);if(c.filter.Ch&&c.filter.query.va!=k.j.pc.Oh&&c.filter.query.va!=k.j.pc.aj){var p=a.hierarchy.filter;var q=this.slice.qd(p.measure.A)}for(var t,x=this.ra.PE(c),z=0;z<n.length;z++){a=c.ya(n[z]);if(null==b[a.ordinal]&&!x||a.Rb)continue;var A=d.slice(0);A.push(a.ordinal);if(this.Rba(A,a,p,q))continue;const B=this.ra.zk(A,g);t=this.ra.yk(A,a);if(m<this.fj)if(this.Qb.hb&&this.pA<l+1&&(this.pA=l+1),m==this.fj-1&&B)if(t){for(t=0;t<
this.ub.length;t++)this.mk(this.Pl,A,t),this.uh.push(l);this.HQ(c,a,b,d,g,l+1)}else for(t=0;t<this.ub.length;t++)this.Uy(c)||!B||this.EF?(this.mk(this.Pl,A,t),this.uh.push(l)):this.Uy(c)||this.zP(m),this.ra.zk(A,t)&&this.gK(b[a.ordinal],A,t,l+1);else{if(this.Uy(c)||!B||this.EF)for(t=0;t<this.ub.length;t++)this.mk(this.Pl,A,t),this.uh.push(l);else this.Uy(c)||this.zP(m);this.ra.yk(A,a,g)?this.HQ(c,a,b,d,g,l+1):B&&this.gK(b[a.ordinal],A,g,l+1)}else this.Uy(c)||!B||this.EF?(this.mk(this.Pl,A,g),this.uh.push(l)):
this.Uy(c)||this.zP(m),this.ra.yk(A,a,g)?this.HQ(c,a,b,d,g,l+1):B&&this.gK(b[a.ordinal],A,g,l+1)}}zP(c){void 0===this.Mx[this.uh.length]&&(this.Mx[this.uh.length]=[]);-1==this.Mx[this.uh.length].indexOf(c)&&this.Mx[this.uh.length].push(c)}get ib(){return 0==this.Ud.length&&0==this.Ac.length}set ib(c){}pR(c){return this.Rj?this.vg[this.Nb.hb?Math.floor(c/this.ub.length):c]:this.vg[c]}uR(c){return this.Rj?this.ou[this.Nb.hb?Math.floor(c/this.ub.length):c]:this.ou[c]}Ov(){return 1}$Q(c){return this.uh[c]}L_(c){return this.Mx[c]}rR(c){return this.Nb.hb&&
(c.length>this.fj||0==this.fj)?c.length:c.length-1}qR(c){return this.Sm.ea(this.rR(c))}aR(c){return this.Qb.hb&&(c.length>this.fj||0==this.fj)?c.length:c.length-1}HF(c){return this.Ql.ea(this.aR(c))}get vd(){return 0<this.Ud.length?this.Ud[0].length:0}set vd(c){}get od(){return 0<this.Ac.length?this.Ac[0].length:0}set od(c){}get an(){return 0<this.Pl.length?this.Pl[0].length:0}set an(c){}get $m(){return this.Rj?(this.kc&&this.kc.hb?this.ub.length:1)*(0<this.Ac.length?this.Ac[0].length:0):this.cl&&
0<this.cl.length?this.cl[0].length:0}set $m(c){}ci(c,a){return this.ra.ci(c,a)}zk(c,a){return this.ra.zk(c,a)}Eh(c,a,b){return this.ra.Eh(c,a,b)}yk(c,a,b){return this.ra.yk(c,a,b)}FB(c,a=!0){c=c.slice(0);var b=(a=a&&this.Qb.hb)?c.pop():-1,d=this.Pl;if(0<d.length)for(var g=0;g<d[0].length;g++){var l=!0;if(!a||!this.xl||b==this.pm[g]){var m=this.SB(d,g);if(m.length==c.length){for(var n=0;n<m.length;n++)if(m[n]!=c[n]){l=!1;break}if(l)return g}}}return-1}QB(c,a=!0){c=c.slice(0);var b=(a=a&&this.Nb.hb)?
c.pop():-1,d=this.Rj?this.Ac:this.cl;if(0<d.length)for(var g=0;g<d[0].length;g++){var l=!0;if(!a||!this.xl||b==this.pm[g]){var m=this.SB(d,g);if(m.length==c.length){for(var n=0;n<m.length;n++)if(m[n]!=c[n]){l=!1;break}if(l)return g}}}return-1}gp(c,a=!1){return 0>c||null==this.Nb||null==this.ub?null:a&&this.Nb.hb&&this.xl?this.Rj?(c=Math.floor(c/this.ub.length),void 0==this.Ac[0][c]?null:this.SB(this.Ac,c)):void 0==this.cl[0][c]?null:this.SB(this.cl,c):e.w(this.Ac[0])||e.w(this.Ac[0][c])?null:this.SB(this.Ac,
c)}wk(c,a=!1){return 0>c||null==this.Qb||null==this.ub?null:a&&this.Qb.hb&&this.xl?void 0==this.Pl[0][c]?null:this.SB(this.Pl,c):void 0==this.Ud[0]?[0]:void 0==this.Ud[0][c]?null:this.SB(this.Ud,c)}IZ(){return null}tR(c){return this.Rj&&this.Nb.hb?void 0==this.Ac[0][Math.floor(c/this.Ea.length)]?-1:c%this.ub.length:void 0==this.pm[c]?-1:this.Nb.hb&&this.xl?this.pm[c]:-1}bR(c){return void 0===this.pm[c]?-1:this.Qb.hb&&this.xl?this.pm[c]:-1}Zh(c,a){if(void 0!==this.ub&&void 0!==this.Nb&&void 0!==this.Qb)return this.xl?
this.Nb.hb?this.Rj?(a=c%this.ub.length,void 0==this.Ac[0][Math.floor(c/this.Ea.length)]?this.ub[0]:this.ub[a]):void 0===this.pm[c]?this.ub[0]:this.ub[this.pm[c]]:void 0===this.pm[a]?this.ub[0]:this.ub[this.pm[a]]:this.ub[0]}Uc(c,a,b){return this.ra.Uc(c,a,b)}save(c,a,b,d,g){return this.ra.save(c,a,b,d,g)}TB(c,a,b){return this.ra.TB(c,a,b)}Mt(c,a){return this.ja.ha.Qc?null:null==c&&null==a?null:this.ra.Owa(c,a)}Ha(c,a,b){if(b.fa===k.j.ca.fr)return c=this.ra.Ha(c,a,b),b=this.ra.Ha([],[],b),isNaN(c)&&
!isNaN(b)?0:Math.abs(100*c/b);if(b.fa===k.j.ca.Eo)return c=this.ra.Ha(c,a,b),b=this.ra.Ha([],a,b),isNaN(c)&&!isNaN(b)?0:100*c/b;if(b.fa===k.j.ca.cq)return a=this.ra.Ha(c,a,b),b=this.ra.Ha(c,[],b),isNaN(a)&&!isNaN(b)?0:100*a/b;if(b.fa===k.j.ca.Fo){var d=this.ra.Ha(c,a,b);c=c.slice(0,c.length-1);b=this.ra.Ha(c,a,b);return isNaN(d)&&!isNaN(b)?0:100*d/b}if(b.fa===k.j.ca.gr)return d=this.ra.Ha(c,a,b),a=a.slice(0,a.length-1),b=this.ra.Ha(c,a,b),isNaN(d)&&!isNaN(b)?0:100*d/b;if(b.fa===k.j.ca.ni){d=this.ra.Ha([],
[],b);const g=this.ra.Ha(c,[],b),l=this.ra.Ha([],a,b);b=this.ra.Ha(c,a,b);return Math.abs(d*b/(l*g))}return b.fa===k.j.ca.mn?this.Gaa(c,a,b,!1):b.fa===k.j.ca.nn?this.Haa(c,a,b,!1):b.fa===k.j.ca.tn?this.Gaa(c,a,b,!0):b.fa===k.j.ca.un?this.Haa(c,a,b,!0):b.fa===k.j.ca.Hm||b.fa===k.j.ca.wn?this.ra.bba(c,a,b):this.ja.ha.Fa!==k.j.sa.Nc&&this.ja.ha.Fa!==k.j.sa.ae||!e.i.B.F.Qp||b.fa!==k.j.ca.NONE?this.ra.Ha(c,a,b):(b=this.ra.Ha(c,a,b),k.YH.V().Dwa(b))}Haa(c,a,b,d){var g=-1;if(0<this.Ka.length){var l=this.Qb.hb&&
1<this.ub.length;g=a.slice();l&&g.push(0);g=this.FB(g,l);if(0==g||0==a.length)return NaN;if(0>g)return 0;l=this.wk(l&&a.length<=this.Qb.le?g-this.ub.length:g-1,l);if(null==l||a.length!=l.length&&1!=a.length)return NaN;a.length!=l.length&&1==a.length&&(l=this.Kwa(g,a.length));if(null==l)return NaN;l=this.ra.Ha(c,l,b);isNaN(l)&&!d&&(l=0)}c=this.ra.Ha(c,a,b);isNaN(c)&&0<g&&!d&&(c=0);return d?(c-l)/l*100:c-l}Gaa(c,a,b,d){var g=-1;if(0<this.rows.length){var l=this.Nb.hb&&1<this.ub.length;g=c.slice();l&&
g.push(0);g=this.QB(g,l);if(0==g||0==c.length)return NaN;if(0>g)return 0;l=this.gp(l&&c.length<=this.Nb.le?g-(this.ub.length+1):g-1,l);if(null==l||c.length!=l.length&&1!=c.length)return NaN;c.length!=l.length&&1==c.length&&(l=this.Lwa(g,c.length));if(null==l)return NaN;l=this.ra.Ha(l,a,b);isNaN(l)&&!d&&(l=0)}c=this.ra.Ha(c,a,b);isNaN(c)&&0<g&&!d&&(c=0);return d?(c-l)/l*100:c-l}Lwa(c,a){if(0>c||null==this.Nb||null==this.ub||e.w(this.Ac[0])||e.w(this.Ac[0][c]))return null;c=this.Fea(this.Ac,a,c);return 0<=
c&&0==this.Ac[a][c]?this.$aa(c,a,this.Ac):null}Kwa(c,a){if(0>c||null==this.Nb||null==this.ub)return null;if(void 0==this.Ud[0])return[0];if(void 0==this.Ud[0][c])return null;c=this.Fea(this.Ud,a,c);return 0<=c&&0==this.Ud[a][c]?this.$aa(c,a,this.Ud):null}$aa(c,a,b){let d=[];for(let g=0;g<a;g++)d.push(b[g][c]);return d}Fea(c,a,b){if(c[a]&&0==c[a][b]){for(b--;0!=c[a][b]&&0<=b;)b--;return b}return-1}fp(c,a,b){c=this.ra.Ha(c,a,b);return k.YH.V().cxa(c)}sx(c,a,b,d){return this.ra.sx(c,a,b,d)}Iv(c){this.Th&&
(this.ja.ha.Qc||this.iua(c))}iua(c){var a=this.slice.rows.Sb(c.A)?k.j.ga.Ia:k.j.ga.Xa;c=a==k.j.ga.Ia?this.slice.Ab.indexOf(c.A):this.slice.Fb.indexOf(c.A);if(c+1!=(a==k.j.ga.Ia?this.slice.Ab.length:this.slice.Fb.length)){var b=[],d=(a==k.j.ga.Ia?this.slice.Ab:this.slice.Fb).slice(0,c+1);this.NK([],d,b);d=a==this.slice.Br.A?this.slice.Br.le:-1;for(var g=this.slice.ed(),l=0;l<b.length;l++)if(0<=d&&d<=c&&1<g.length)for(var m=0;m<g.length;m++){var n=g[m];b[l].length>d?this.expand(b[l],a,n,!1):this.expand(b[l],
a,void 0,!1)}else this.expand(b[l],a,void 0,!1);this.ja.Ga(new k.DV(k.j.Jd.sz));this.ja.bb(e.i.qc.xd.Gm)}}NK(c,a,b,d=!0){if(0!=a.length){var g=a.ea(0);var l=g.filter.jj?g.fb.length:g.wh;for(var m=0;m<l;m++){var n=g.filter.jj?g.ya(g.fb[m]):g.ya(m);if(!n.Rb){var p=c.slice(0);p.push(n.ordinal);(d||!d&&1==a.length)&&b.push(p.slice(0));this.NK(p.slice(0),a.slice(1),b,d)}}}}uv(c){this.Th&&(this.ja.ha.Qc||this.tra(c))}tra(c){var a=this.slice.rows.Sb(c.A)?k.j.ga.Ia:k.j.ga.Xa;c=a==k.j.ga.Ia?this.slice.Ab.indexOf(c.A):
this.slice.Fb.indexOf(c.A);if(c+1!=(a==k.j.ga.Ia?this.slice.Ab.length:this.slice.Fb.length)){var b=[],d=(a==k.j.ga.Ia?this.slice.Ab:this.slice.Fb).slice(0,c+1);this.NK([],d,b,!1);d=a==this.slice.Br.A?this.slice.Br.le:-1;for(var g=this.slice.ed(),l=0;l<b.length;l++)if(0<=d&&d<=c&&1<g.length)for(var m=0;m<g.length;m++){var n=g[m];b[l].length>d?this.collapse(b[l],a,n,!1):this.collapse(b[l],a,void 0,!1)}else this.collapse(b[l],a,void 0,!1);this.ja.Ga(new k.DV(k.j.Jd.yU));this.ja.bb(e.i.qc.xd.Gm)}}Gc(){this.Th&&
(this.ja.ha.Qc?this.ja.select():(this.reset(),this.slice.Gc?this.ra.Gc(this.slice.cd):this.ja.select()))}sort(){this.eT();this.ja.bb(e.i.qc.xd.Gm)}get oS(){return this.T7}get nS(){return this.S7}expand(c,a,b,d=!0){a==k.j.ga.Ia&&(this.T7=c);a==k.j.ga.Xa&&(this.S7=c);var g=this.slice.he(a),l=c.slice(0);l.unshift(b&&g.hb?b.index:-1);g=[];if(this.slice.Gc)if(a==k.j.ga.Ia){g=this.GF();var m=l.toString().toLocaleLowerCase();l=-1;for(var n=0;n<g.length;n++)if(m===g[n].toString().toLocaleLowerCase()){l=n;
break}0<=l&&g.splice(l,1);this.o2(g)}else{m=this.EB();l=l.toString().toLocaleLowerCase();n=-1;for(let p=0;p<m.length;p++)if(l===m[p].toString().toLocaleLowerCase()){n=p;break}0<=n&&m.splice(n,1);this.Qea(g)}else a==k.j.ga.Ia?(g=this.AK().slice(0),g.push(l),this.Yea(g)):(g=this.zK().slice(0),g.push(l),this.Xea(g));this.ja.expand(c,a,b,d);d&&this.ja.bb(e.i.qc.xd.Gm)}collapse(c,a,b,d=!0){a==k.j.ga.Ia&&(this.T7=c.slice(0,c.length-1));a==k.j.ga.Xa&&(this.S7=c.slice(0,c.length-1));var g=this.slice.he(a),
l=c.slice(0);l.unshift(b&&g.hb?b.index:-1);g=[];if(this.slice.Gc)a==k.j.ga.Ia?(g=this.GF().slice(0),g.push(l),this.o2(g)):(g=this.EB().slice(0),g.push(l),this.Qea(g));else if(a==k.j.ga.Ia){var m=this.AK();l=l.toString().toLocaleLowerCase();var n=-1;for(var p=0;p<m.length;p++)if(l===m[p].toString().toLocaleLowerCase()){n=p;break}0<=n&&m.splice(n,1);this.Yea(g)}else{m=this.zK();l=l.toString().toLocaleLowerCase();n=-1;for(p=0;p<m.length;p++)if(l===m[p].toString().toLocaleLowerCase()){n=p;break}0<=n&&
m.splice(n,1);this.Xea(g)}this.ja.collapse(c,a,b,d);d&&this.ja.bb(e.i.qc.xd.Gm)}Bq(c,a,b,d){var g=this.slice.he(b),l=[],m=c.slice(0);m.unshift(a.A);m.unshift(d&&g.hb?d.index:-1);if(this.slice.cd)b==k.j.ga.Ia?(l=this.wK().slice(0),l.push(m),this.Vea(l)):(l=this.vK().slice(0),l.push(m),this.Uea(l));else if(b==k.j.ga.Ia){var n=this.MF(),p;for(p in n)g=n[p],"string"==typeof g[0]&&(g=g.slice(1)),g.toString().toLocaleLowerCase()!=m.toString().toLocaleLowerCase()&&l.push(g);this.t2(l)}else{n=this.LF();for(p in n)g=
n[p],"string"==typeof g[0]&&(g=g.slice(1)),g.toString().toLocaleLowerCase()!=m.toString().toLocaleLowerCase()&&l.push(g);this.s2(l)}this.ja.Bq(c,a,b,d);this.ja.bb(e.i.qc.xd.Gm)}vqa(c,a){for(;void 0!==c&&c.level.A!=a;)c=c.parent;return c}If(c,a,b,d){var g=this.slice.he(b),l=[],m=c.slice(0);m.unshift(a.A);m.unshift(d&&g.hb?d.index:-1);if(this.slice.cd)if(b==k.j.ga.Ia){var n=this.wK(),p;for(p in n)g=n[p],g.toString().toLocaleLowerCase()!=m.toString().toLocaleLowerCase()&&l.push(g);this.Vea(l)}else{n=
this.vK();for(p in n)g=n[p],g.toString().toLocaleLowerCase()!=m.toString().toLocaleLowerCase()&&l.push(g);this.Uea(l)}else b==k.j.ga.Ia?(l=this.MF().slice(0),l.push(m),this.t2(l)):(l=this.LF().slice(0),l.push(m),this.s2(l));this.ja.If(c,a,b,d);this.ja.bb(e.i.qc.xd.Gm)}Sn(c,a,b,d,g){var l=this.slice.he(b),m=c.slice(0);m.unshift(a.A);m.unshift(d&&l.hb?d.index:-1);m.unshift(g);b==k.j.ga.Ia?(l=this.MF().slice(0),l.push(m),this.t2(l)):(l=this.LF().slice(0),l.push(m),this.s2(l));this.ja.Sn(c,a,b,d,g)}static dispose(){f.La&&
(f.La.Ky(),f.La.fe());f.La=null}}f.uY=0;h.wO=f})(k.kf||(k.kf={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{static get gta(){if(f.I)return f.I instanceof h.bV?"flat":f.I instanceof h.XM?"chart":"pivot"}static aGa(c){var a=c.R("gridType");return c.R("viewType")===e.K.td.Bi?"chart":a===e.K.Y.He.li?"flat":"pivot"}static Hc(c=""){""==c&&(c=e.i.B.F.Zd==e.K.td.Bi?"chart":e.i.B.F.dc?"flat":"pivot");c="flat"==c?h.bV.V():"chart"==c?h.XM.V():h.wO.V();c.AP();f.I!=c?(f.I&&f.I.Ky(),c.load()):e.i.B.F.nw&&(c.load(),e.i.B.F.nw=!1);f.I=c;return f.I}static HZ(c){f.Hc("chart");
return c?h.D6.V(f.I):f.I}static dispose(){h.bV.dispose();h.XM.dispose();h.wO.dispose();h.D6.dispose();f.I=null}}f.I=null;h.zj=f;(function(c){c.WJa="pivot";c.li="flat";c.lHa="chart"})(h.kia||(h.kia={}))})(k.kf||(k.kf={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends r.fh{constructor(){super();this.ub=[];this.gE=!1;this.Iy=()=>this.vC();this.St=[];this.rk=[];this.Aa=k.Sa.V()}get ra(){return null!=this.EI?this.EI:this.Aa.ra}set ra(c){this.EI=c}get slice(){return null!=this.Wb?this.Wb:this.Aa.za}set slice(c){this.Wb=c}get Ea(){return this.ub}set Ea(c){}get xl(){return 1<this.ub.length}set xl(c){}get Th(){return this.slice&&this.gE}set Th(c){}static V(){null==f.La&&(f.La=new f);return f.La}AP(){this.Aa.N(k.Sf.ek,
this.Iy,1)}Ky(){this.Aa.qb(k.Sf.ek,this.Iy)}load(){if(null==this.ra&&(this.ra=this.Aa.ra,null==this.ra))return;this.slice&&(this.Aa.ha.Qc||(this.ra.expand([],k.j.ga.Ia,void 0),this.ra.expand([],k.j.ga.Xa,void 0)),this.eT(),this.gE=!0)}vC(){this.reset();this.load()}eT(){var c,a=this.slice?this.slice.flatten(!0,!0):new e.wb;this.rk.length=0;this.DJ=new e.wb;this.rc=this.Aa.O.rc();this.ub=[];for(c=0;c<a.length;c++){var b=a.ea(c);var d=a.ea(c)instanceof k.O.As?this.Aa.O.Ke(b.A):a.ea(c);void 0===d&&(d=
this.Aa.O.sq.getItem(b.A));d&&this.ub.push(d);d=this.ra.Tg.indexOf(b.A);if(b.Nf)for(var g=1;g<b.ta.length;g++)this.rk.push([d,g]),this.DJ.Ta(b.A,this.rk.length-1);else this.rk.push(d),this.DJ.Ta(b.A,this.rk.length-1);this.Pg=this.slice.Wh}this.sort()}get le(){return 0}set le(c){}get CG(){return 0}set CG(c){}get Ym(){return 0}set Ym(c){}get wy(){return 0}set wy(c){}get rows(){return new e.wb}set rows(c){}get Ab(){return new e.wb}set Ab(c){}get Lk(){return[]}set Lk(c){}get XA(){return[]}set XA(c){}get Ka(){return new e.wb}set Ka(c){}get Fb(){return new e.wb}set Fb(c){}get lb(){return new e.wb}set lb(c){}get kc(){return new k.O.Xq(k.j.ga.Ia)}set kc(c){}get Xb(){return new k.O.Xq(k.j.ga.Xa)}set Xb(c){}get Dl(){return 1}set Dl(c){}get sk(){return 0}set sk(c){}set sj(c){}get sj(){return null}set Vi(c){}get Vi(){return null}set io(c){}get io(){return null}get XB(){return!1}set XB(c){}set vh(c){}get vh(){return null}set hl(c){}get hl(){return null}set wq(c){}get wq(){return null}get $x(){return!e.w(this.Pg)&&
0<this.Pg.length}set $x(c){}set Pg(c){this.slice.Wh=c}get Pg(){return this.slice.Wh}cR(c){if(e.w(this.Pg))return null;for(var a=0;a<this.Pg.length;a++){var b=this.Pg[a];if(b.measure.A==c)return b}}reset(){this.gE=!1;this.ub=[];this.St.length=0;this.rk.length=0;this.DJ=new e.wb;this.rc=null}get ib(){return 0==this.rk.length}set ib(c){}L_(){return null}pR(){return 0}uR(){return 0}Ov(){return 0}$Q(){return 1}rR(){return 0}qR(c){return this.HF(c)}aR(){return 0}HF(c){e.w(this.rc)&&(this.rc=this.Aa.O.rc());
return this.rc.getItem(this.ra.Tg[c[0]])}get vd(){return this.rk.length}set vd(c){}get od(){return this.ra?this.ra.result[0]:0}set od(c){}get an(){return this.rk.length}set an(c){}get $m(){return this.ra.SF()}set $m(c){}ci(){return!1}zk(){return!1}Eh(){return!1}yk(){return!1}FB(c){for(var a=0;a<this.rk.length;a++)if(this.rk[a]instanceof Array){if(this.rk[a][0].toString()==c.toString())return a}else if(this.rk[a].toString()==c.toString())return a;return-1}QB(c){if(0<this.St.length&&c[0]<this.St.length)for(var a=
0;a<this.St.length;a++){if(this.St[a].toString()==c.toString())return a}else return c[0];return-1}gp(c){return 0>c?null:0<this.St.length&&c<this.St.length?[this.St[c]]:[c]}wk(c,a,b=!1){return 0>c?null:0<this.rk.length&&c<this.rk.length?!b&&this.rk[c]instanceof Array?[this.rk[c][0]]:[this.rk[c]]:[c]}IZ(c){c=this.DJ.getItem(c);return this.wk(c,!1)}tR(){return 0}bR(){return 0}Zh(c,a){c=this.wk(a);var b=this.ra.Tg[c[0]];return this.ub.find(d=>d.A===b)}TB(c,a,b){return null==c?this.ra.Oaa(null,b):this.ra.Oaa(c[0],
b)}Ha(c,a,b,d){if(null==a&&null==c)return this.ra.Ha([],[],b,!0);if(this.ra instanceof k.local.GN||this.ra instanceof k.external.Kc.z3)return this.ra.kR(c[0],a[0],b,b.type!=k.j.Na.oc,d)}Mt(c,a){return(null!=c||null!=a)&&this.ra instanceof k.local.GN?this.ra.Mt(c[0]):null}sort(){this.eX();this.Aa.bb(e.i.qc.xd.Gm)}eX(){if(this.$x){for(var c=[],a=null,b=null,d=0;d<this.Pg.length;d++){var g=this.Pg[d];g.hierarchy=this.Aa.O.Gk(g.measure.A);b=void 0!==g.hierarchy?g.hierarchy.A:g.measure.A;a=void 0!==g.hierarchy?
g.hierarchy.n_:!1;if(-1!=this.DJ.indexOf(b)){g.zf=this.IZ(b);if(g.measure.type==k.j.Na.oc||a)g.mQ=this.Yva(g.hierarchy);c.push(g)}}this.Pg=c;c=[];for(a=0;a<this.$m;a++){b=[];for(d=0;d<this.Pg.length;d++)g=this.Pg[d],b[d]=this.Uwa(a,g.zf,g.measure,g.hierarchy,!e.w(g.mQ));c[a]=[b,a]}c.sort((l,m)=>this.HFa(l[0],m[0]));this.St=c.map(l=>l[1])}else this.St.length=0}Yva(c){var a=!1;c.type==k.j.Ic.Pa&&2<c.ta.length&&(a=!0);if(c.n_||!a){a={};const b=c.uj(c.Cd,!1,k.j.Ba.gc);for(let d=0;d<b.length;d++){const g=
c.ya(b[d]);a[g.A]=d}return a}return null}Uwa(c,a,b,d,g){if(null!=d&&d.type==k.j.Ic.Pa&&2<d.ta.length)return g=this.Ha([c],a,b,d.ta.length-1),d.ya(g).sc;c=this.Ha([c],a,b);if(b.type!=k.j.Na.oc)return isNaN(c)?Number.NEGATIVE_INFINITY:c;d=d.ya(c);return g?d.A:d.caption}HFa(c,a){let b=0;for(let d=0;d<this.Pg.length;d++){const g=this.Pg[d];if(c[d]!=a[d]){b=e.w(g.mQ)?"number"==typeof c[d]&&"number"==typeof a[d]?c[d]-a[d]:e.gb.localeCompare(c[d],a[d]):g.mQ[c[d]]-g.mQ[a[d]];g.sort==k.j.Ba.Ec&&(b*=-1);break}}return b}sx(c,
a,b,d){return this.ra.Dqa(c,b,d)}fp(){return null}Iv(){}uv(){}Gc(){}get oS(){return null}get nS(){return null}expand(){}collapse(){}Bq(){}If(){}Uc(){return[]}save(c,a,b,d){return this.ra.CEa(c,a,b,d)}get Rj(){return!1}set Rj(c){}static dispose(){f.La&&(f.La.fe(),f.La.Ky());f.La=null}}h.bV=f})(k.kf||(k.kf={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends h.wO{constructor(){super()}static V(){null==f.oe&&(f.oe=new f,f.oe.sA="chart"+h.wO.uY);return f.oe}get Rj(){return!1}set Rj(c){}get EF(){return!0}static dispose(){f.oe&&(f.oe.Ky(),f.oe.fe());f.oe=null}}h.XM=f})(k.kf||(k.kf={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends r.fh{constructor(c){super();this.I=c}static V(c){null==f.La&&(f.La=new f(c));return f.La}static dispose(){f.La&&(f.La.fe(),f.La.Ky());f.La=null}get ra(){return this.I.ra}set ra(c){this.I.ra=c}get slice(){return this.I.slice}set slice(c){this.I.slice=c}get Ea(){return this.I.Ea}set Ea(c){}get Th(){return this.I.Th}set Th(c){}AP(){this.I.AP()}Ky(){this.I.Ky()}load(){this.I.load()}get le(){return this.I.le}set le(c){}get CG(){return this.I.Ym}set CG(c){}get xl(){return 1<
this.Ea.length}set xl(c){}get Ym(){return this.I.CG}set Ym(c){}get wy(){return this.I.wy}set wy(c){}get rows(){return this.I.Ka}set rows(c){}get Ab(){return this.I.Fb}set Ab(c){}get Lk(){return this.I.XA}set Lk(c){}get XA(){return this.I.Lk}set XA(c){}get Ka(){return this.I.rows}set Ka(c){}get Fb(){return this.I.Ab}set Fb(c){}get lb(){return this.I.lb}set lb(c){}get kc(){return this.I.Xb}set kc(c){}get Xb(){return this.I.kc}set Xb(c){}get Dl(){return this.I.sk}set Dl(c){}get sk(){return this.I.Dl}set sk(c){}set sj(c){}get sj(){return this.I.vh}set Vi(c){}get Vi(){return this.I.hl}set io(c){}get io(){return this.I.wq}get XB(){return this.I.$x}set XB(c){}set vh(c){}get vh(){return this.I.sj}set hl(c){}get hl(){return this.I.Vi}set wq(c){}get wq(){return this.I.io}get $x(){return this.I.XB}set $x(c){}set Pg(c){}get Pg(){return null}cR(){return null}reset(){}get ib(){return this.I.ib}set ib(c){}L_(){return null}pR(c){return this.I.$Q(c)}uR(c){return this.I.Ov(c)}$Q(c){return this.I.pR(c)}Ov(c){return this.I.uR(c)}rR(c){return this.I.rR(c)}qR(c){return this.I.qR(c)}aR(c){return this.I.aR(c)}HF(c){return this.I.HF(c)}get vd(){return this.I.od}set vd(c){}get od(){return this.I.vd}set od(c){}get an(){return this.I.$m}set an(c){}get $m(){return this.I.an}set $m(c){}ci(c,
a){return this.I.zk(c,a)}zk(c,a){return this.I.ci(c,a)}Eh(c,a,b){return this.I.yk(c,a,b)}yk(c,a,b){return this.I.Eh(c,a,b)}FB(c){return this.I.QB(c)}QB(c){return this.I.FB(c)}gp(c,a=!1){return this.I.wk(c,a)}wk(c,a=!1){return this.I.gp(c,a)}tR(c){return this.I.bR(c)}bR(c){return this.I.tR(c)}Zh(c,a){return this.I.Zh(c,a)}TB(c,a,b){return this.I.TB(c,a,b)}Mt(){return null}Ha(c,a,b){return this.I.Ha(a,c,b)}sort(){return this.I.sort()}sx(c,a,b,d){return this.I.sx(c,a,b,d)}fp(c,a,b){return this.I.fp(c,
a,b)}Iv(c){this.I.Iv(c)}uv(c){this.I.uv(c)}Gc(){}get oS(){return null}get nS(){return null}expand(c,a,b,d=!0){a=a==k.j.ga.Xa?k.j.ga.Ia:k.j.ga.Xa;this.I.expand(c,a,b,d)}collapse(c,a,b,d=!0){a=a==k.j.ga.Xa?k.j.ga.Ia:k.j.ga.Xa;this.I.collapse(c,a,b,d)}Bq(c,a,b,d){b=b==k.j.ga.Xa?k.j.ga.Ia:k.j.ga.Xa;this.I.Bq(c,a,b,d)}If(c,a,b,d){b=b==k.j.ga.Xa?k.j.ga.Ia:k.j.ga.Xa;this.I.If(c,a,b,d)}Uc(c,a,b){return this.I.Uc(c,a,b)}save(c,a,b,d,g){return this.I.save(c,a,b,d,g)}IZ(){return null}get Rj(){return this.I.Rj}set Rj(c){}}
h.D6=f})(k.kf||(k.kf={}))})(e.v||(e.v={}))})(u||(u={}));(function(e){(function(k){(function(h){class f extends h.XM{constructor(){super()}}h.Fia=f})(k.kf||(k.kf={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(c){void 0!==c.A&&(this.A=c.A);void 0!==c.caption&&(this.caption=c.caption);void 0!==c.Hh&&(this.Hh=c.Hh);void 0!==c.parent&&(this.parent=c.parent);void 0!==c.sc&&(this.sc=c.sc);void 0!==c.level&&(this.level=c.level);void 0!==c.ordinal&&(this.ordinal=c.ordinal);void 0!==c.rg&&(this.rg=c.rg);void 0!==c.Rb&&(this.Rb=c.Rb);void 0!==c.qf&&(this.qf=c.qf);void 0!==c.value&&(this.value=c.value);void 0!==c.De&&(this.De=c.De)}get U_(){return void 0!==
this.parent||void 0!==this.Rb||void 0!==this.De||void 0!==this.qg||void 0!==this.qf||void 0!==this.rg?!1:!0}}h.be=f})(k.O||(k.O={}))})(e.v||(e.v={}))})(u||(u={}));(function(e){(function(k){(function(h){class f{dA(c){if(this.Hj(c))return this.data[c]}bt(c,a){this.data||(this.data={});this.data[c]=a}aoa(){this.data&&delete this.data._descendants_}Hj(c){return this.data&&this.data.hasOwnProperty(c)}yb(c){for(var a in c)null!=this[a]&&(this[a]=c[a])}}h.W6=f})(k.O||(k.O={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends h.W6{constructor(c,a){super();this.A=c;this.caption=a}set A(c){this.cJ=c}get A(){return this.cJ}set caption(c){e.w(c)&&(c="");c=""+c;""===c.trim()?this.nc=e.i.C.u.Bj:this.nc=c}get caption(){return e.i.Vb.valid(this.nc)?this.nc:e.i.Vb.Mc(this.nc)}get label(){return this.Hj("_label")?this.dA("_label"):this.caption}set label(c){""!=c.trim()&&this.bt("_label",c)}get r_(){return this.Hj("_label")}toString(){return`{uniqueName: "${this.A}", caption: "${this.caption}"`}Qa(){var c=
{};c.uniqueName=this.A;c.caption=this.caption;return c}}h.rD=f})(k.O||(k.O={}))})(e.v||(e.v={}))})(u||(u={}));(function(e){(function(k){(function(h){class f extends h.rD{constructor(c,a,b){super(c,a);this.f7=!1;this.EM=b}get EM(){return this.Yoa}set EM(c){this.Yoa=c}get active(){return this.f7}set active(c){this.f7=c}}h.tU=f})(k.O||(k.O={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends h.rD{constructor(c,a=""){super(c,a);this.lg=k.j.Ic.zu;this.iP=0;this.mr=this.MO=this.Us="";this.gA=!0;this.Ji=f.oH;this.uP=null;this.Ff=[];this.lk=new w.mO(!e.i.B.F.yx);this.Uu=new w.mO(!e.i.B.F.yx);this.ft=[];this.nq=[];this.jA=!1;this.$w={};this.Qm=new e.wb;this.GW=!1;this.TO=!0;this.dP=this.cP=!1;this.nP=[];this.KO=[];this.ix=[];this.fA={};this.mP={};this.ej=null;this.cache=[];this.nk=[];this.lE=[]}set Uh(c){this.lW=c}get Uh(){return this.lW}get type(){return this.lg}set type(c){this.lg=
c}get origin(){return this.iP}set origin(c){this.iP=c;this.GW=1==(c&1)}get sm(){return this.lk.length}set sm(c){}get wh(){return this.lk.length}get Nd(){return this.jA}set Nd(c){this.jA=c}get Xc(){return this.Us}set Xc(c){"undefined"==c?this.Us="":this.Us=c}get mh(){return this.gA}set mh(c){}get mapping(){return k.Sa.V().ha.mapping}get ta(){return this.Qm}set ta(c){}get bf(){return this.dX}set bf(c){this.dX=c}get description(){return this.ej}set description(c){this.ej=c}get jL(){const c=2<this.ta.length&&
this.type!==k.j.Ic.Pa?this.ta.ea(1).A:this.Uh.type===k.j.oz.Cz?this.Uh.A:this.A;return e.i.Ua.V().ja.ha.mapping.Ha(c,"filters")}Ng(c){c.hierarchy=this;this.gA||c.xb++;this.Qm.Ta(c.A,c);this.$w[c.A]=[]}zpa(c){c.hierarchy=this;this.gA||c.xb++;this.Qm.iJ(c.A,c,1);for(var a=2;a<this.Qm.length;a++){var b=this.Qm.ea(a);b&&b.xb++}this.$w[c.A]=[]}It(c){return this.Qm.getItem(c)}get Nf(){return this.Tr||(this.mh?2<this.ta.length:1<this.ta.length)}set Nf(c){}get cg(){return"[Measures]"==this.A}set cg(c){}get Tr(){return this.cP}set Tr(c){this.cP=
c}get hL(){return this.dP}set hL(c){this.dP=c}get JQ(){return this.TO}set JQ(c){this.TO=c}Lx(c){null!=c&&(c.qg=!0,this.$w[c.level.A].push(c.ordinal))}cZ(c){c.qg=!1;this.$w[c.level.A].splice(c.ordinal,1);c=c.Ix;for(var a=0;a<c.length;a++){var b=this.ya(c[a]);b.qg&&this.cZ(b)}}$J(c){return this.$w[c.A]}get u$(){for(var c=1;c<this.ta.length;c++){var a=this.ta.ea(c);if(!(this.ec&&a.xb<this.ec.xb)&&0===this.$J(a).length)return c}return 1}set u$(c){}Kpa(c){var a=void 0===c.ordinal?this.lk.add(c.A):this.lk.add(c.A,
c.ordinal);if(e.w(c.parent))if(!e.w(c.Hh)&&this.lk.hua(c.Hh)){var b=this.Yb(c.Hh);this.nq[a]=b.ordinal}else b=this.Cd;else b=c.parent,this.nq[a]=b.ordinal;void 0!==c.sc&&(this.ft[a]=c.sc);void 0!==c.caption&&this.Uu.add(c.caption,a);b.W(a);this.wT(b);this.cache=[];this.nk=[];return a}OB(){return new h.gH(this)}ic(c){if(c.U_){var a=this.Kpa(c);return this.ya(a)}var b=this.OB();void 0!==c.parent&&(b.parent=c.parent);void 0===c.Rb&&void 0===b.parent&&(b.parent=e.ia(c.Hh)?this.Cd:this.Yb(c.Hh));b.parent&&
b.level.xb<=b.parent.level.xb&&(a=b.parent.level.xb+1,a=new h.Bs(b.parent.level.A+" "+a,this.caption+" "+a,a),this.Ng(a),this.Tr=!0);void 0!==c.ordinal?(this.lk.add(c.A,c.ordinal),b.ordinal=c.ordinal):(a=this.lk.add(c.A),b.ordinal=a);void 0!==c.sc&&(this.ft[b.ordinal]=c.sc,b.sc=c.sc);this.Ff[b.ordinal]=b;void 0!==c.caption&&this.Uu.add(c.caption,b.ordinal);null!=b.parent&&(b.parent.W(b),this.nq[b.ordinal]=b.parent.ordinal,this.wT(b.parent));e.w(c.rg)||(b.rg=c.rg);this.cache=[];this.nk=[];return b}wT(c){this.Ff[c.ordinal]=
c}Bea(c){null!=c&&void 0!==c.ordinal&&(void 0!==c.sc&&(this.ft[c.ordinal]=c.sc),void 0!==c.caption&&this.Uu.add(c.caption,c.ordinal),void 0!==c.A&&this.lk.add(c.A,c.ordinal))}NQ(c){c=this.Uu.find(c);return-1===c?null:this.ya(c)}Yb(c){c=this.Xx(c);return-1<c?this.ya(c):null}Xx(c){var a=this.lk.find(c);-1===a&&this.Nf&&(a=this.lk.find(`[${c}]`));return a}ya(c){if(void 0===this.Ff[c]){var a=this.OB();a.ordinal=c;a.sc=this.ft[c];a.parent=this.nq[c]?this.ya(this.nq[c]):this.Cd;return a}return this.Ff[c]}nR(c){return this.ft[c]}Mv(c){if(e.i.B.F.Aq&&
(null===c||"null"===c))return c=this.Xx("null"),0<=c?this.ya(c):null;"number"!==typeof c&&(c=parseFloat(c));if(isNaN(c))for(var a=1;a<this.ft.length;a++)if(isNaN(this.ft[a]))return this.ya(a);c=this.ft.indexOf(c);return 0<=c?this.ya(c):null}Rr(c){for(var a=[],b,d=0;d<c.length;d++)b=this.ya(c[d]),e.w(b)||e.ia(b.fm)||a.push(b.fm);return a}a_(c){return this.lk.get(c)}NB(c){var a=this.Uu.get(c);void 0===a&&(a=this.lk.get(c));e.i.Vb.valid(a)||(a=e.i.Vb.Mc(a));return a}ZX(){this.xf=f.oH;this.$I=null}$X(){this.cache=
[]}get xf(){return this.Ji}set xf(c){this.Ji=c}get ST(){return this.uP}set ST(c){this.uP=c}sort(){return this.uj(this.Cd)}uj(c,a=!0,b=""){if(null==c)return[];k.j.Ba.dg(b)||(b=this.Ji);if(a){if(null!=this.nk[c.ordinal]){if(null!=this.nk[c.ordinal][b])return this.nk[c.ordinal][b];if(!this.Nf){if(b==k.j.Ba.Ec&&null!=this.nk[c.ordinal][k.j.Ba.gc])return a=this.nk[c.ordinal][k.j.Ba.gc].slice(),this.nk[c.ordinal][k.j.Ba.Ec]=a.reverse(),this.nk[c.ordinal][k.j.Ba.Ec];if(b==k.j.Ba.gc&&null!=this.nk[c.ordinal][k.j.Ba.Ec])return a=
this.nk[c.ordinal][k.j.Ba.Ec].slice(),this.nk[c.ordinal][k.j.Ba.gc]=a.reverse(),this.nk[c.ordinal][k.j.Ba.gc]}}}else if(null!=this.cache[c.ordinal]){if(null!=this.cache[c.ordinal][b])return this.cache[c.ordinal][b];if(!this.Nf){if(b==k.j.Ba.Ec&&null!=this.cache[c.ordinal][k.j.Ba.gc])return a=this.cache[c.ordinal][k.j.Ba.gc].slice(),this.cache[c.ordinal][k.j.Ba.Ec]=a.reverse(),this.cache[c.ordinal][k.j.Ba.Ec];if(b==k.j.Ba.gc&&null!=this.cache[c.ordinal][k.j.Ba.Ec])return a=this.cache[c.ordinal][k.j.Ba.Ec].slice(),
this.cache[c.ordinal][k.j.Ba.gc]=a.reverse(),this.cache[c.ordinal][k.j.Ba.gc]}}var d=this.Ji;this.Ji=b;if(this.Ji==k.j.Ba.Yc){var g=a?c.Ix:c.children;g=g.slice();0<g.length&&this.ya(g[0]).Rb&&g.splice(0,1)}else g=this.UT(c,a);a?(null==this.nk[c.ordinal]&&(this.nk[c.ordinal]=[]),this.nk[c.ordinal][b]=g):(null==this.cache[c.ordinal]&&(this.cache[c.ordinal]=[]),this.cache[c.ordinal][b]=g);this.Ji=d;return g}toa(c){for(var a=[[]],b,d=0;d<c.length;d++)0!==c[d]&&(b=this.nq[c[d]],void 0===b?a[0].push(c[d]):
(void 0===a[b]&&(a[b]=[]),a[b].push(c[d])));return a}Soa(c,a){if(e.w(this.$I)||void 0===this.$I[c.ordinal]||c.children.length!=this.$I[c.ordinal].length){var b=this.lk.sort();this.$I=this.toa(b)}c=this.$I[c.ordinal];b=[];for(var d=0;d<c.length;d++){var g=this.ya(c[d]);b.push(g.ordinal);a&&!g.ai&&(g=this.uj(g),0<g.length&&(b=b.concat(g)))}return b}Tqa(c){try{if("month"===c.level.caption.toLowerCase())return!0;if(12<c.children.length)return!1;for(var a=0;a<c.children.length;a++){var b=this.ya(c.children[a]).caption.split(" ")[0];
if(-1===e.i.C.u.er.indexOf(b)&&-1===e.i.C.u.Pw.indexOf(b))return!1}var d=c.hierarchy.ta.indexOf(c.level.A);if(c.hierarchy.ta.length<d+2)return!1;c.hierarchy.ta.ea(d+1).type=k.j.rb.Ag;return!0}catch(g){}return!1}UT(c,a){var b=this.ta.ea(c.level.xb+1),d=b&&b.type===k.j.rb.bl,g=b&&b.type===k.j.rb.gV,l=b&&b.type===k.j.rb.Js,m=b&&b.type===k.j.rb.Ag,n=b&&b.type===k.j.rb.rI,p=b&&(b.type===k.j.rb.Cm||b.type===k.j.rb.Jm),q=b&&b.type===k.j.rb.vN,t=b&&b.type===k.j.rb.SN,x=b&&b.type===k.j.rb.kb,z=b&&b.type===
k.j.rb.bc||b&&b.type===k.j.rb.Pa,A=b&&b.type===k.j.rb.Cc,B=this.ST===k.j.Ba.Ala;if(!(l||m||n||z||p||q||t||x||A||0!==this.Jr.length||e.rf(this.cw))){if(100<c.children.length)return this.Soa(c,a);this.Tqa(c)&&(m=!0)}var D=this.Rfa(c.children);e.rf(this.cw)?D=this.wfa(D):l||m||n||p||q||t||A||g||d?D=this.JFa(D,b?b.type:-1):z?D=this.GFa(D):0<this.Jr.length?D.sort((I,Q)=>this.bta(I,Q)):x?(this.Ji===k.j.Ba.gc&&e.gb.sort(D,e.gb.oi,I=>I.sc),this.Ji===k.j.Ba.Ec&&e.gb.sort(D,e.gb.yo|e.gb.oi,I=>I.sc)):B?D.sort(this.Tza):
(this.Ji===k.j.Ba.gc&&e.gb.sort(D,e.gb.Hw,I=>I.caption),this.Ji===k.j.Ba.Ec&&e.gb.sort(D,e.gb.yo|e.gb.Hw,I=>I.caption));b=[];g=D.length;for(l=0;l<g;l++)b.push(D[l].ordinal),a&&!c.ai&&(d=this.uj(D[l],a),0<d.length&&(b=b.concat(d)));return b}Rfa(c){for(var a=[],b=0;b<c.length;b++)a.push(this.ya(c[b]));return a}JFa(c,a){a===k.j.rb.Ag?c=this.IFa(c):a===k.j.rb.Cm||a===k.j.rb.Jm?c=this.KFa(c):a===k.j.rb.Js||a===k.j.rb.gV||a===k.j.rb.bl?(this.xf===k.j.Ba.gc&&e.gb.sort(c,e.gb.Hw,b=>b.caption),this.xf===k.j.Ba.Ec&&
e.gb.sort(c,e.gb.yo|e.gb.Hw,b=>b.caption)):(this.xf===k.j.Ba.gc&&e.gb.sort(c,e.gb.oi,b=>b.sc),this.xf===k.j.Ba.Ec&&e.gb.sort(c,e.gb.yo|e.gb.oi,b=>b.sc));return c}IFa(c){for(var a=[],b=[],d=0;d<c.length;++d)this.Yna(c[d].caption)?b.push(c[d]):a.push(c[d]);this.xf===k.j.Ba.gc&&e.gb.sort(a,e.gb.Hw,g=>g.caption);this.xf===k.j.Ba.Ec&&e.gb.sort(a,e.gb.yo|e.gb.Hw,g=>g.caption);b.sort((g,l)=>this.jta(g,l));return b.concat(a)}KFa(c){for(var a=[],b=[],d=0;d<c.length;++d)this.Zna(c[d].caption)?b.push(c[d]):
a.push(c[d]);this.xf===k.j.Ba.gc&&e.gb.sort(a,e.gb.Hw|e.gb.oi,g=>g.caption);this.xf===k.j.Ba.Ec&&e.gb.sort(a,e.gb.yo|e.gb.Hw|e.gb.oi,g=>g.caption);b.sort((g,l)=>this.PGa(g,l));return b.concat(a)}Yna(c){return-1!==e.i.C.u.er.indexOf(c)||-1!==e.i.C.u.Pw.indexOf(c)}Zna(c){return-1!==e.i.C.u.Tz.indexOf(c)||-1!==e.i.C.u.Uz.indexOf(c)}jta(c,a){var b=this.xf===k.j.Ba.gc?e.i.C.u.er.indexOf(c.caption):e.i.C.u.er.indexOf(a.caption);-1===b&&(b=this.xf==k.j.Ba.gc?e.i.C.u.Pw.indexOf(c.caption):e.i.C.u.Pw.indexOf(a.caption));
var d=this.xf===k.j.Ba.gc?e.i.C.u.er.indexOf(a.caption):e.i.C.u.er.indexOf(c.caption);-1===d&&(d=this.xf===k.j.Ba.gc?e.i.C.u.Pw.indexOf(a.caption):e.i.C.u.Pw.indexOf(c.caption));return b>d?1:b<d?-1:0}PGa(c,a){var b=this.xf===k.j.Ba.gc?e.i.C.u.Tz.indexOf(c.caption):e.i.C.u.Tz.indexOf(a.caption);-1===b&&(b=this.xf===k.j.Ba.gc?e.i.C.u.Uz.indexOf(c.caption):e.i.C.u.Uz.indexOf(a.caption));var d=this.xf===k.j.Ba.gc?e.i.C.u.Tz.indexOf(a.caption):e.i.C.u.Tz.indexOf(c.caption);-1===d&&(d=this.xf===k.j.Ba.gc?
e.i.C.u.Uz.indexOf(a.caption):e.i.C.u.Uz.indexOf(c.caption));return b>d?1:b<d?-1:0}GFa(c){this.Ji===k.j.Ba.gc&&e.gb.sort(c,e.gb.oi,a=>a.sc);this.Ji===k.j.Ba.Ec&&e.gb.sort(c,e.gb.oi|e.gb.yo,a=>a.sc);return c}bta(c,a){var b=this.Ji===k.j.Ba.gc?this.Jr.indexOf(c.caption.toLocaleLowerCase()):this.Jr.indexOf(a.caption.toLocaleLowerCase());c=this.Ji===k.j.Ba.gc?this.Jr.indexOf(a.caption.toLocaleLowerCase()):this.Jr.indexOf(c.caption.toLocaleLowerCase());return b>c?1:b<c?-1:0}wfa(c){if(e.rf(this.cw)){var a=
this.Ji===k.j.Ba.Ec?-1:1;c.sort((b,d)=>this.cw(b.caption,d.caption)*a)}return c}Tza(c,a){c=c.caption.match(/(?:\d*\.)?\d+/);a=a.caption.match(/(?:\d*\.)?\d+/);c=c&&0<c.length?parseFloat(c[0]):Number.POSITIVE_INFINITY;a=a&&0<a.length?parseFloat(a[0]):Number.POSITIVE_INFINITY;return c>a?1:c<a?-1:0}bw(c){c=this.Qm.getItem(c).xb;for(var a=[],b=this.sort(),d=0;d<b.length;d++){var g=this.ya(b[d]);g&&g.level.xb===c&&a.push(b[d])}return a}get filter(){e.w(this.$u)&&(this.$u=new e.i.ab.wz(this));return this.$u}set filter(c){this.$u=
c;this.lE=[]}get fb(){return 0<this.lE.length?this.lE:this.lE=this.filter.ay||this.filter.Vv||this.filter.UK||this.filter.MR?this.filter.uua():this.filter.ij()}set fb(c){this.lE=c}ut(){this.filter.clear();this.fb=[]}TA(){this.filter.TA();this.fb=[]}pua(){for(var c=[],a=this.fb,b=0;b<a.length;b++){var d=this.ya(a[b]);1===d.level.xb&&c.push(d.ordinal)}return c}set gl(c){""!==c&&!e.w(c)||this.cg?this.mr=c:(this.mr=this.A+".[(All)]",this.Ng(new h.Bs(this.A,this.caption+" (All)")),this.ic(new h.be({A:this.caption+
" (All)",Rb:!0})),this.gA=!1)}get gl(){return this.mr}Vl(c="(Total)"){return c}get Cd(){this.aW||(this.aW=this.Yb(this.mr),this.Lx(this.aW));return this.aW}set Cd(c){}get zq(){return this.MO}set zq(c){this.MO=c}vv(){this.O8(this.Q1);this.filter.vv()}s9(){if(0<this.ix.length){for(var c=0;c<this.ix.length;c++){var a=this.ya(parseInt(this.ix[c]));null==a||a.qg||this.Lx(a)}this.ix=[]}}set Q1(c){this.mP=c}get Q1(){return this.mP}set Rda(c){this.nP=c}get Rda(){return this.nP}set Jr(c){this.$X();this.KO=
c}get Jr(){return this.KO}set mu(c){this.ix=c}get mu(){return this.ix}set groups(c){this.fA=c}get groups(){return this.fA}O8(c){if(this.groups)for(var a in this.groups)this.zM(a);for(a in c)this.x8(a,c[a])}zM(c){var a=this.Yb(this.Vl("Others"));if((c="string"==typeof c?this.Yb(this.Vl(c)):c)&&a){var b,d=c.children;for(b=0;b<d.length;b++){var g=this.ya(d[b]);a.W(g);this.nq[g.ordinal]=a.ordinal}this.Cd.removeChild(c.ordinal);this.Ff[c.ordinal]=null;delete this.fA[c.caption];if(1==this.bw(this.Zx.A).length){d=
a.children;for(b=0;b<d.length;b++)g=this.ya(d[b]),this.Cd.W(g),this.nq[g.ordinal]=this.Cd.ordinal;this.Cd.removeChild(a.ordinal);this.Ff[a.ordinal]=null;this.Qm=this.Qm.splice(1,1);for(b=1;b<this.Qm.length;b++)this.Qm.ea(b).xb--}this.cache=[];this.nk=[]}}x8(c,a){null!=this.groups[c]&&this.zM(c);if(null==this.Zx){var b=new h.Bs(this.caption+".groups","Groups",1);b.rg=!0;this.zpa(b);var d=this.Cd.children.slice(0),g=this.ic(new h.be({A:"others",caption:"Others"}));for(b=0;b<d.length;b++){var l=this.ya(d[b]);
this.Cd.removeChild(l.ordinal);g.W(l.ordinal);l.parent=g;this.nq[l.ordinal]=g.ordinal}}d=this.ic(new h.be({A:c,rg:!0}));this.fA[c]=[];for(b=0;b<this.lk.length;b++)g=this.ya(b),g.hierarchy=this,!g.Rb&&-1<a.indexOf(g.ordinal)&&(g.rg?this.zM(g):(g.parent&&g.parent.removeChild(g.ordinal),d.W(g),this.fA[c].push(g.ordinal),this.nq[g.ordinal]=d.ordinal));for(var m in this.groups)this.groups.hasOwnProperty(m)||(g=this.Yb(this.Vl(m)))&&0==g.children.length&&this.zM(g);this.Lx(d);this.cache=[];this.nk=[]}get Zx(){for(var c=
0;c<this.ta.length;c++)if(this.ta.ea(c).rg)return this.ta.ea(c);return null}set Zx(c){}get sS(){for(var c=new e.wb,a=0;a<this.Qm.length;a++)c=c.concat(this.Qm.ea(a).De);return c}set sS(c){}set Gf(c){this.vI=c}get Gf(){return this.vI}set ec(c){}get ec(){return null!=this.vI?this.It(this.vI):null}get cw(){return this.Eoa}set cw(c){this.$X();this.Eoa=c}get n_(){return e.rf(this.cw)||0<this.Jr.length}get Ar(){for(var c=[],a=0;a<this.wh;a++)c.push(a);return c}Qa(){var c={};c.uniqueName=this.A;c.dimensionName=
this.Uh.A;c.activeLevelName=this.Gf;c.caption=this.caption;c.filterEnabled=this.JQ;c.sortName=this.xf;c.sortAs=this.ST;c.type=this.type;c.groups=this.groups;c.customSorting=this.Jr;this.filter.Xg&&!this.filter.Wba&&(c.filter=this.filter.Qa());void 0!==this.bf&&(c.showTotals=this.bf);return c}Rk(){const c={};c.caption=this.caption;c.dimensionCaption=this.Uh.caption;c.dimensionUniqueName=this.Uh.A;c.folder=this.Xc;c.label=this.label;if(2<this.ta.length){c.levels=[];for(let a=1;a<this.ta.length;a++)c.levels.push(this.ta.ea(a).Qa())}c.sort=
this.Ji;c.uniqueName=this.A;return c}static yb(c,a=null){var b=c.uniqueName;b=k.Se.pg(b,c.caption);null==a&&(a=new k.local.O.HN(b));c.hasOwnProperty("caption")&&(a.caption=c.caption);c.hasOwnProperty("groups")&&f.jxa(c.groups,a);c.hasOwnProperty("sortName")&&(a.xf=c.sortName);c.hasOwnProperty("sortAs")&&(a.ST=c.sortAs);c.hasOwnProperty("filterEnabled")&&(a.JQ=c.filterEnabled);c.hasOwnProperty("type")&&(a.type=c.type);c.hasOwnProperty("origin")&&(a.origin=c.origin);c.hasOwnProperty("folder")&&(a.Xc=
c.folder);c.hasOwnProperty("filter")&&(a.filter=e.i.ab.wz.yb(c.filter,a,!0));c.hasOwnProperty("defaultMemberName")&&(a.zq=c.defaultMemberName);c.hasOwnProperty("allMemberName")&&(a.gl=c.allMemberName);c.hasOwnProperty("activeLevelName")&&(a.Gf=c.activeLevelName);c.hasOwnProperty("predefinedProperties")&&(a.Rda=c.predefinedProperties);c.hasOwnProperty("customSorting")&&f.R9(c.customSorting,a);c.hasOwnProperty("sortOrder")&&f.R9(c.sortOrder,a);c.hasOwnProperty("showTotals")&&(a.bf=!0===c.showTotals);
return a}static jxa(c,a){var b={},d;for(d in c){var g=c[d];b[d]=[];for(var l=0;l<g.length;l++){var m=k.Se.xy(g[l]);(m=a.Yb(m))&&b[d].push(m.ordinal)}}a.Nd?a.O8(b):a.Q1=b}static R9(c,a){a.Jr=[];for(var b=0;b<c.length;b++)a.Jr.push(k.Se.xy(c[b]))}clone(){var c=new f(this.A);c.data=this.data;c.cJ=this.cJ;c.lW=this.lW;c.lg=this.lg;c.iP=this.iP;c.Us=this.Us;c.MO=this.MO;c.mr=this.mr;c.gA=this.gA;c.Ji=this.Ji;c.uP=this.uP;e.w(this.$u)||(c.$u=this.$u.clone());c.Ff=this.Ff.slice();c.lk=this.lk.clone();c.Uu=
this.Uu.clone();c.ft=this.ft.slice();c.nq=this.nq.slice();var a={},b;for(b in this.$w)a[b]=this.$w[b].slice();c.$w=a;c.Qm=this.Qm.slice();c.GW=this.GW;c.TO=this.TO;c.Nd=this.Nd;c.cP=this.cP;c.dP=this.dP;c.nP=this.nP.slice();c.KO=this.KO.slice();c.ix=this.ix.slice();c.vI=this.vI;c.fA=this.fA;c.mP=this.mP;c.dX=this.dX;return c}}f.oH="asc";h.As=f})(k.O||(k.O={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends h.rD{constructor(c,a="",b=0){super(c,a);this.lg=k.j.rb.Sc;this.c8=new e.wb;this.ej=null;this.PW=b}set xb(c){this.PW=c}get xb(){return this.PW}set type(c){this.lg=c}get type(){return this.lg}set rg(c){this.yoa=c}get rg(){return this.yoa}get Xt(){return this.Fc.ta.length-1==this.PW}set Xt(c){}set hierarchy(c){this.Fc=c}get hierarchy(){return this.Fc}get De(){return this.c8}set De(c){}get description(){return this.ej}set description(c){this.ej=c}AX(c){this.c8.Ta(c.A,
c)}}h.Bs=f})(k.O||(k.O={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends h.W6{constructor(c){super();this.QW=1;this.U7=0;this.hP=-1;this.Fc=c}get ordinal(){return this.QW}set ordinal(c){this.QW=c}get sc(){return this.U7}set sc(c){this.U7=c}get hierarchy(){return this.Fc}set hierarchy(c){}get parent(){return this.Ooa}set parent(c){this.Ooa=c}get root(){if(2>this.level.xb)return this;var c=this;do c=c.parent;while(1<c.level.xb);return c}set root(c){}set caption(c){}get caption(){return this.Fc.NB(this.ordinal)}get A(){return this.PB()}set A(c){}PB(){return this.Fc.a_(this.ordinal)}get fm(){var c=this.Fc.Nf?
2>this.level.xb?`[${this.PB()}]`:this.PB():`[${this.PB()}]`;return e.i.B.F.yx?`${this.hierarchy.A}.${c}`:`${this.hierarchy.A}.${c}`.toLocaleLowerCase()}get level(){return e.w(this.parent)?this.hierarchy.ta.ea(0):this.hierarchy.ta.ea(this.parent.level.xb+1)}set level(c){}get Rb(){return null!=this.hierarchy.Cd&&this.hierarchy.Cd.ordinal==this.ordinal}set Rb(c){}set qg(c){this.bt("_isDrilledDown_",c)}get qg(){return this.Hj("_isDrilledDown_")?this.dA("_isDrilledDown_"):!1}set rg(c){this.bt("_isGroup_",
c)}get rg(){return this.Hj("_isGroup_")?this.dA("_isGroup_"):!1}get children(){return this.Hj("_children_")?this.dA("_children_"):[]}set children(c){}set Ix(c){}get Ix(){if(this.Hj("_descendants_"))return this.dA("_descendants_");var c=[];c.push(this.ordinal);if(0==this.DS)return c;for(var a=this.children.length,b,d=0;d<a;d++)b=this.hierarchy.ya(this.children[d]),b.ai?c.push(b.ordinal):0<b.DS?c=c.concat(b.Ix):c.push(b.ordinal);0<c.length&&this.bt("_descendants_",c);return c}set DS(c){}get DS(){if(-1<
this.hP)return this.hP;if(!this.Hj("_children_"))return this.hP=0;for(var c=this.children.length,a=c,b=0;b<c;b++){var d=this.hierarchy.ya(this.children[b]);a+=d.DS}return a}XX(){this.Hj("_descendants_")&&this.aoa();this.parent&&this.parent.XX()}W(c){var a=this.children;c.constructor===Number?a.push(c):a.push(c.ordinal);this.bt("_children_",a);c.constructor!==Number&&(c.parent=this);this.hP=-1;this.XX()}removeChild(c){var a=this.children.indexOf(c);-1<a&&this.children.splice(a,1);this.bt("_children_",
this.children);this.hierarchy.ya(c).parent=null;this.XX()}toString(){return this.A+" : "+this.QW}set De(c){this.bt("_properties_",c)}get De(){this.Hj("_properties_")||(this.De=new e.wb);return this.dA("_properties_")}setProperty(c,a){this.De.Ta(c,a)}Nwa(c){return this.De.getItem(c)}get ai(){return!this.Hj("_children_")||0==this.children.length}set ai(c){}get qf(){return this.Hj("_hasMissingChildren_")?this.dA("_hasMissingChildren_"):!1}set qf(c){this.bt("_hasMissingChildren_",c)}set I8(c){}get I8(){return this.hierarchy.Tr?
this.A:this.A+".[(Total"+(0==this.ordinal?"":this.ordinal)+")]"}bt(c,a){super.bt(c,a);this.U_||e.w(this.hierarchy)||this.hierarchy.wT(this)}get U_(){if(this.Hj("_children_")||this.Hj("_descendants_")||this.Hj("_caption_")||this.Hj("_isDrilledDown_")||this.Hj("_hasMissingChildren_")||this.Hj("_properties_")||this.Hj("_isGroup_"))return!1}Qa(){var c={};c.uniqueName=this.A;c.caption=this.caption;c.dimensionName=this.hierarchy.Uh.A;c.hierarchyName=this.hierarchy.A;c.hierarchyCaption=this.hierarchy.caption;
this.parent&&(c.parentMember=this.parent.A);0<this.De.length&&(c.properties=this.De.Qa());return c}xF(c){return e.w(c)?!1:e.i.B.F.yx?this.A==c:this.A.toLocaleLowerCase()==c.toLocaleLowerCase()}}h.gH=f})(k.O||(k.O={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends h.rD{constructor(c,a=""){super(c,a);this.cc=this.Us=this.YO="";this.lg=k.j.Na.kb;this.Fj=this.bE=this.bv="";this.Lb=[];this.mE="";this.ZO=this.$O=!1;this.uE="";this.J7=-1;this.bP=this.aP=!1;this.BO=!0;this.ej=this.sE=null;this.Lm=[]}get Ik(){return this.nc}set Ik(c){}get $h(){return this.YO}set $h(c){this.YO=c}get Xc(){return this.Us}set Xc(c){this.Us=c}get format(){return this.cc}set format(c){this.cc=c}get xk(){return this.$O}set xk(c){this.$O=
c}get hidden(){return this.ZO}set hidden(c){this.ZO=c}get index(){return this.J7}set index(c){this.J7=c}get type(){return this.lg}get jm(){return this.sE}set jm(c){this.sE=c}set type(c){this.lg=c}get description(){return this.ej}set description(c){this.ej=c}get vj(){return this.Ra||this.Ri?[]:this.lg!=k.j.Na.kb&&this.lg!=k.j.Na.bc?this.lg==k.j.Na.Pa||this.lg==k.j.Na.Cc?k.j.ca.Ega:k.j.ca.Hga:k.j.ca.KM}set vj(c){}set hp(c){this.bv=c}get hp(){return this.bv?this.bv:0==e.i.B.F.vw?this.nc:k.j.ca.NONE===
this.Fj?this.nc:f.UZ(this.fa,this.nc)}static UZ(c,a){switch(c){case k.j.ca.fq:return e.P.bind(e.i.C.u.Jma,a);case k.j.ca.oc:return e.P.bind(e.i.C.u.Fha,a);case k.j.ca.Is:return e.P.bind(e.i.C.u.Zla,a);case k.j.ca.yj:return e.P.bind(e.i.C.u.dia,a);case k.j.ca.Vp:return e.P.bind(e.i.C.u.Iga,a);case k.j.ca.Iu:return e.P.bind(e.i.C.u.Oka,a);case k.j.ca.Nu:return e.P.bind(e.i.C.u.Fma,a);case k.j.ca.Ou:return e.P.bind(e.i.C.u.Hma,a);case k.j.ca.MAX:return e.P.bind(e.i.C.u.qka,a);case k.j.ca.MIN:return e.P.bind(e.i.C.u.nla,
a);case k.j.ca.fr:return e.P.bind(e.i.C.u.Rla,a);case k.j.ca.Eo:return e.P.bind(e.i.C.u.Mla,a);case k.j.ca.cq:return e.P.bind(e.i.C.u.Xla,a);case k.j.ca.gr:return e.P.bind(e.i.C.u.Tla,a);case k.j.ca.Fo:return e.P.bind(e.i.C.u.Vla,a);case k.j.ca.ni:return e.P.bind(e.i.C.u.Pja,a);case k.j.ca.Hm:return e.P.bind(e.i.C.u.lma,a);case k.j.ca.wn:return e.P.bind(e.i.C.u.nma,a);case k.j.ca.mn:return e.P.bind(e.i.C.u.$ha,a);case k.j.ca.nn:return e.P.bind(e.i.C.u.bia,a);case k.j.ca.tn:return e.P.bind(e.i.C.u.Ola,
a);case k.j.ca.un:return e.P.bind(e.i.C.u.Qla,a)}return a}get Oo(){if(""==this.bE)if(k.j.ca.C_(this.fa))this.bE=this.fa;else if(-1!=this.Kd.indexOf(k.j.ca.fq))this.bE=k.j.ca.fq;else for(let c=0;c<this.Kd.length;c++)if(k.j.ca.C_(this.Kd[c])){this.bE=this.Kd[c];break}return this.bE}get fa(){return""===this.Fj?this.Kd[0]:this.Fj}set fa(c){c&&c.toLowerCase()!==this.Fj?(c=c.toLowerCase(),k.j.ca.jB(c)&&(c=k.j.ca.wB(c)),k.j.ca.bz(c)||this.Ra&&c==k.j.ca.NONE?(this.bE="",this.Fj=c,this.Ra||-1!=this.Kd.indexOf(c)||
(this.Fj=this.Kd[0])):this.tT()):""==c&&this.tT()}tT(){this.bv=void 0;this.Fj=this.Kd[0]}set Kd(c){if(e.w(c))this.Lm=this.vj;else{for(var a=[],b=0;b<c.length;b++){var d=c[b].trim().toLowerCase();k.j.ca.jB(d)&&(d=k.j.ca.wB(d));-1!==this.vj.indexOf(d)&&a.push(d)}this.Lm=0<a.length?a:this.vj}}get Kd(){return 0<this.Lm.length?this.Lm:this.vj}get Oe(){return this.Lb}set Oe(c){this.Lb=c}get Ra(){return!e.ia(this.je)}set Ra(c){}get je(){return this.mE}set je(c){this.mE=c}get Hq(){return this.uE}set Hq(c){this.uE=
c}get Ri(){return!e.w(this.uE)&&""!=this.uE}get ly(){return this.aP}set ly(c){this.aP=c}get my(){return this.bP}set my(c){this.bP=c}get Dn(){return this.BO}set Dn(c){this.BO=c}Qa(){var c={};c.uniqueName=this.A;c.name=this.Ik;this.Ra&&(c.formula=this.je.trim());c.format=this.format;c.individual=this.xk;c.supportedAggregations=this.vj;c.availableAggregations=this.Kd;c.aggregation=this.fa;c.caption=this.caption;c.label=this.label;c.originalCaption=this.Ik;c.grandTotalCaption=this.hp;c.groupName=this.$h;
c.folder=this.Xc;c.type=this.type;c.kpi=this.Hq;c.calculated=this.Ra;c.calculateNaN=this.Dn;c.hidden=this.hidden;return c}p_(){var c=new f("","");return this.xk!==c.xk||this.je!==c.je||this.format!==c.format||!1===this.jm||""!==this.fa&&(this.hp!==f.UZ(this.fa,this.nc)&&e.i.B.F.vw||!e.i.B.F.vw&&this.hp!==this.caption)?!1:!0}$f(c=!1){var a=e.i.cc.bk.kaa(this.format)?e.i.cc.bk.$f(this.format):""!=this.format&&e.i.cc.bk.kaa("")?e.i.cc.bk.$f(""):e.i.cc.bk.MZ();c&&e.w(a.Oe.textAlign)&&this.type!=k.j.Na.kb&&
this.type!=k.j.Na.bc&&this.type!=k.j.Na.Cc&&(a=a.clone(),a.textAlign=e.i.cc.X.ef.textAlign.LEFT);return a}clone(){var c=new f(this.A);this.MJ(c);return c}MJ(c){c.data=this.data;c.nc=this.nc;c.YO=this.YO;c.Us=this.Us;c.cc=this.cc;c.lg=this.lg;void 0!=this.bv&&(c.bv=this.bv);c.Fj=this.Fj;c.Lm=this.Lm.slice();c.Lb=this.Lb.slice();c.mE=this.mE;c.$O=this.$O;c.ZO=this.ZO;c.uE=this.uE;c.aP=this.aP;c.bP=this.bP;c.BO=this.BO;c.ej=this.ej}$Z(c){if(!e.ia(this.mE)){var a=[];this.UW(this.Oe,c,a);return a}}UW(c,
a,b){if(!0===c[2])for(var d in c[1])this.UW(c[1][d],a,b);else if(!1===c[2]){d=c[1][0];c=c[0];const g=a.getItem(d);g&&g.Ra?this.UW(g.Oe,a,b):b.push(new e.i.ab.Bg(d,c))}}iR(c){return e.ia(this.mE)?this.Oe:this.TW(this.Oe,c)}TW(c,a){var b=[];Array.isArray(c[0])?b[0]=this.TW(c[0],a):void 0!==c[0]&&(b[0]=c[0]);if(Array.isArray(c[1])){if("string"===typeof c[1][0]){const d=a.getItem(c[1][0]);if(!e.w(d)&&d.Ra)return d.iR(a)}b[1]=this.TW(c[1],a)}else void 0!==c[1]&&(b[1]=c[1]);void 0!==c[2]&&(b[2]=c[2]);return b}Yt(){return 0<
this.Kd.length||this.Ra||this.Ri}Rk(){const c={};c.aggregation=this.fa;c.availableAggregations=this.Kd;c.availableAggregationsCaptions=k.j.ca.GX(this.Kd);c.caption=this.caption;if(c.calculated=this.Ra)c.calculateNaN=this.Dn,c.formula=this.je.trim(),c.individual=this.xk;c.folder=this.Xc;c.format=this.format;c.grandTotalCaption=this.hp;c.label=this.label;c.name=this.Ik;c.uniqueName=this.A;return c}}h.Zq=f})(k.O||(k.O={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends h.rD{constructor(c,a=""){super(c,a);this.ej=null}get value(){return this.eJ}set value(c){this.eJ=c}get status(){return this.Uoa}set status(c){this.Uoa=c}get Tv(){return this.soa}set Tv(c){this.soa=c}get zw(){return this.Voa}set zw(c){this.Voa=c}get description(){return this.ej}set description(c){this.ej=c}}h.Tga=f})(k.O||(k.O={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends h.rD{constructor(c,a=""){super(c,a);this.ej=null;this.Va=new e.wb}set Va(c){this.sb=c}get Va(){return this.sb}get type(){return this.lg}set type(c){this.lg=c}set UB(c){this.H7=c}get UB(){return this.H7?this.H7:[]}get ad(){return this.O}set ad(c){this.O=c}get description(){return this.ej}set description(c){this.ej=c}Rh(c){c.Uh=this;this.sb.Ta(c.A,c)}Fg(c){return this.sb.getItem(c)}static yb(c,a=null){var b=c.uniqueName;b=k.Se.pg(b,c.caption);null==
a&&(a=new k.local.O.M5(b));e.ia(c.caption)?a.caption=c.uniqueName:a.caption=c.caption;return a}}h.fz=f})(k.O||(k.O={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){this.O7=this.jA=!1;this.r7=new e.wb;this.ub=new e.wb;this.JW=new e.wb;this.DF=new h.sU}get Nd(){return this.jA}set Nd(c){this.jA=c}get Zt(){return this.O7}set Zt(c){this.O7=c}get ib(){return 0<this.Cv.length-(this.Cv.Sb("[Measures]")?1:0)||0<this.Ea.length||0<this.b0.length?!1:!0}get Cv(){return this.r7}set Cv(c){}get Ea(){return this.ub}set Ea(c){}set sq(c){}get sq(){for(var c=new e.wb,a=0;a<this.ub.length;a++){var b=this.ub.ea(a);b.Ra&&
c.Ta(b.A,b)}return c}set Oq(c){}get Oq(){for(var c=[],a=0;a<this.ub.length;a++){var b=this.ub.ea(a);b.Ra||c.push(b)}return c}set nG(c){}get nG(){var c=this.bp("[Measures]");null==c&&(c=this.yX());return c.Fg("[Measures]")}yX(){var c=new h.As("[Measures]","Measures"),a=new h.fz("[Measures]","Measures");a.type=k.j.oz.MN;a.Rh(c);this.jt(a);return a}jt(c){null==this.bp(c.A)&&(c.ad=this,this.Cv.Ta(c.A,c))}bp(c){return this.Cv.getItem(c)}rc(c=!1){for(var a=new e.wb,b=0;b<this.Cv.length;b++){var d=this.Cv.ea(b);
if(c||d.type!=k.j.oz.MN)a=a.concat(d.Va)}return a}Fg(c){for(let a=0;a<this.Cv.length;a++){const b=this.Cv.ea(a);if(b.Va.Sb(c))return b.Va.getItem(c)}}Kj(c){this.Ea.Ta(c.A,c)}qd(c){return this.Ea.getItem(c)}Ly(c){this.Ea.removeItem(c)}clear(){this.r7=new e.wb;this.ub=new e.wb;this.JW=new e.wb;this.Nd=!1}Gk(){return null}Ke(){return null}jJ(){}get b0(){return this.JW}set b0(c){}wX(c,a){this.JW.Ta(c.A,c);if(0==e.ia(c.value)){var b=new h.Zq(c.value,this.Wx(c.value,c.caption,e.i.C.u.F5,a));b.$h=e.i.C.u.Nw;
b.Xc=c.caption;b.type=k.j.Na.kb;b.Hq=c.A;this.Kj(b)}0==e.ia(c.Tv)&&(b=new h.Zq(c.Tv,this.Wx(c.Tv,c.caption,e.i.C.u.B5,a)),b.$h=e.i.C.u.Nw,b.Xc=c.caption,b.type=k.j.Na.kb,b.Hq=c.A,this.Kj(b));0==e.ia(c.status)&&(b=new h.Zq(c.status,this.Wx(c.status,c.caption,e.i.C.u.D5,a)),b.$h=e.i.C.u.Nw,b.Xc=c.caption,b.type=k.j.Na.kb,b.Hq=c.A,b.ly=!0,this.Kj(b));0==e.ia(c.zw)&&(a=new h.Zq(c.zw,this.Wx(c.zw,c.caption,e.i.C.u.E5,a)),a.$h=e.i.C.u.Nw,a.Xc=c.caption,a.type=k.j.Na.kb,a.Hq=c.A,a.my=!0,this.Kj(a))}Wx(c,
a,b,d){d=d.Ha(c,"caption");return e.w(d)?0==c.indexOf("[Measures]")?c.substring(12,c.length-1):a+" "+b:d}aw(c,a=null,b=!1){b=e.w(a)||b;var d=c.uniqueName;e.ia(c.formula)&&(d=k.Se.pg(d,c.caption));e.w(a)&&(a=new k.local.O.N5(d));c.hasOwnProperty("type")&&(a.type="string"===typeof c.type?k.j.Na.Qua(parseInt(c.type)):c.type);if(b||a.Ra)c.hasOwnProperty("formula")&&(a.je=c.formula),c.hasOwnProperty("individual")&&(a.xk=c.individual),c.hasOwnProperty("calculateNaN")&&(a.Dn=c.calculateNaN);c.hasOwnProperty("format")&&
(a.format=c.format);c.hasOwnProperty("supportedAggregations")&&(a.vj=c.supportedAggregations);c.hasOwnProperty("availableAggregations")&&(a.Kd=c.availableAggregations);if(c.hasOwnProperty("aggregation")){if(c.aggregation!==k.j.ca.NONE||k.Sa.V().ha.Qc||a.Ra)a.fa=c.aggregation}else a.fa=a.Ra?k.j.ca.NONE:"";c.hasOwnProperty("caption")&&(a.caption=c.caption);c.hasOwnProperty("name")&&(a.caption=c.name);c.hasOwnProperty("grandTotalCaption")&&(a.hp=c.grandTotalCaption);c.hasOwnProperty("groupName")&&(a.$h=
c.groupName);c.hasOwnProperty("folder")&&(a.Xc=c.folder);c.hasOwnProperty("active")?a.jm=c.active:c.hasOwnProperty("uniqueName")&&c.hasOwnProperty("caption")&&c.uniqueName!=c.caption&&!c.hasOwnProperty("formula")&&(a.jm=!1);a.Ra&&(!c.hasOwnProperty("caption")&&b&&(a.caption=a.A),c=new w.SH,a.Oe=c.parse(a.je));return a}mFa(c){this.mapping=c}}h.uU=f})(k.O||(k.O={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){}static dxa(c){switch(c){case k.j.sa.Nc:case k.j.sa.ae:return new k.external.Db.O.Ila;case k.j.sa.Af:return new k.external.ze.O.Aia;case k.j.sa.API:return new k.external.Kc.O.PM}return new k.local.O.O5}}h.Tma=f})(k.O||(k.O={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(c){this.sb=new e.wb;this.Vq=k.j.Ba.Yc;this.ct=this.yO=null;this.HI=[];this.SO=[];this.QO=[];this.aA=[];this.fX=k.j.Ba.Yc;this.sA=c}set ym(c){this.ct=c;this.yO=null}get ym(){if(null!=this.yO)return this.yO;var c=null;if(null!=this.ct){var a=0;c=[];for(var b=0;b<this.sb.length;b++){var d=this.Va.ea(b);if(!d.cg){if(!this.ct[a])break;if("number"==typeof this.ct[a]){c=this.ct;break}else{var g=this.ct[a].toString().trim();if(!/\D/.test(g)){c=this.ct;
break}}d=d.Yb(k.Se.xy(this.ct[a].toString().trim()));if(null!=d)c.push(d.ordinal);else if(this.ct[a]){c=null;break}}a++}}return this.yO=c}set WT(c){this.ym=c}get WT(){var c=null,a=this.ym;if(null!=a){var b=0;c=[];for(var d=0;d<this.sb.length;d++){var g=this.Va.ea(d);if(!g.cg){if(!a[b])break;g=g.ya(""===a[d]?0:parseInt(a[d]));if(null!=g)c.push(g.fm);else if(a[b]){c=null;break}}b++}}return c}get pd(){return this.HI}set pd(c){if(null==c)this.HI=[];else if(this.hb)this.HI=c;else{this.HI=[];for(var a=
0;a<c.length;a++){var b=c[a];b[0]=-1;this.HI.push(b)}}}get K$(){for(var c=[],a,b,d,g,l,m=0;m<this.pd.length;m++){a=this.pd[m].slice(0);b=[];d=a.shift();g=null;-1<d&&(g=(g=this.Zh(d))?g.Qa():null);for(var n=d=0;n<a.length;n++)l=this.Va.ea(d),l.cg&&(d++,l=this.Va.ea(d)),l&&l.ya(a[n])&&b.push(l.ya(a[n]).A),d++;b.unshift(g);c.push(b)}return c}Hda(c){for(var a=[],b,d,g,l,m,n,p=0;p<c.length;p++){b=c[p].slice(0);d=[];l=-1;g=b.shift();g="string"==typeof g?new e.i.ab.Bg(g):e.i.ab.Bg.yb(g);m=0;if(0<this.Va.length)for(var q=
0;q<b.length;q++){n=this.Va.ea(m);if(e.w(n))return[];if(!n.Nd&&!n.cg)return this.SO=c.slice(0),[];n.cg&&(l=(l=this.Zh(g))?l.index:-1,m++,n=this.Va.ea(m));if(n){if(n.type!==k.j.Ic.Pa||n.ta.ea(1).type!==k.j.rb.Pa&&n.ta.ea(1).type!==k.j.rb.Cc)n=n.Yb(b[q]);else{if(e.i.B.F.Aq&&"null"===b[q])var t=null;else if(8>b[q].length||/\D+/.test(b[q].slice(1))){t=n.mapping.Ha(n.A,"format",n.ta.ea(1).type===k.j.rb.Cc?e.i.B.F.Wo:e.i.B.F.Pn);const x=new e.Uf(b[q],{mv:!1,format:t});x.Zi(w.Lh.mf(t));t=x.getTime()}else t=
parseInt(b[q]);n=n.Mv(t)}n&&d.push(n.ordinal)}m++}d.unshift(l);a.push(d)}return a}I1(){0<this.SO.length&&(this.pd=this.Hda(this.SO),this.SO=[]);0<this.QO.length&&(this.Ze=this.Gda(this.QO),this.QO=[])}get Ze(){return this.aA}set Ze(c){if(e.w(c)||0===c.length)this.aA=[];else{if(this.hb)this.aA=c;else{this.aA=[];for(var a=0;a<c.length;a++){var b=c[a];"string"===typeof b[0]?b[1]=-1:b[0]=-1;this.aA.push(b)}}this.O2(this.aA);this.Zea(this.aA)}}O2(c){c.sort((a,b)=>{if(a.length!==b.length)return 0;var d=
a.length-1;a=a[d];b=b[d];return-1===a?1:-1===b||a<b?-1:a>b?1:0})}Zea(c){var a=this.sb.slice();a.removeItem("[Measures]");for(var b,d=0;d<c.length;d++){var g=c[d].slice(0);"string"===typeof g[0]&&(b=g.shift());var l=a.ea(g.length-3);if(null==l)break;var m=g[1];if("string"===typeof g[1]){var n=l.Yb(m);!n&&!isNaN(parseInt(g[1]))&&8>g[1].length&&(m=parseInt(g[1]))}"number"===typeof m&&(n=l.ya(m),null==n||n.Rb||(m=n.A));-1==l.mu.indexOf(m)&&l.mu.push([b,m])}}get x$(){for(var c=[],a,b,d,g,l,m,n,p=0;p<this.Ze.length;p++){a=
this.Ze[p].slice(0);b=[];d="";l=null;"string"==typeof a[0]&&(d=a.shift());g=a.shift();m=a.shift();-1<g&&(l=(l=this.Zh(g))?l.Qa():null);for(var q=g=0;q<a.length;q++)n=this.Va.ea(g),n.cg&&(g++,n=this.Va.ea(g)),(n=n.ya(a[q]))&&b.push(n.A),g++;b.unshift(m);b.unshift(l);b.unshift(d);c.push(b)}return c}Gda(c){for(var a=[],b,d,g,l,m,n,p,q,t=0;t<c.length;t++){b=c[t].slice(0);d=[];l=-1;g=b.shift();n=b.shift();m="string"==typeof n?new e.i.ab.Bg(n):e.i.ab.Bg.yb(n);n=b.shift();p=0;if(0<this.Va.length)for(var x=
0;x<b.length;x++){q=this.Va.ea(p);if(e.w(q))return[];if(!q.Nd&&!q.cg)return this.QO=c.slice(0),this.Zea(c),[];q.cg&&(l=(l=this.Zh(m))?l.index:-1,p++,q=this.Va.ea(p));if(q){if(q.type!==k.j.Ic.Pa||q.ta.ea(1).type!==k.j.rb.Pa&&q.ta.ea(1).type!==k.j.rb.Cc)q=q.Yb(b[x]);else{if(e.i.B.F.Aq&&"null"===b[x])var z=null;else if(8>b[x].length||/\D+/.test(b[x].slice(1))){z=q.mapping.Ha(q.A,"format",q.ta.ea(1).type===k.j.rb.Cc?e.i.B.F.Wo:e.i.B.F.Pn);const B=new e.Uf(b[x],{mv:!1,format:z});B.Zi(w.Lh.mf(z));z=B.getTime()}else z=
parseInt(b[x]);q=q.Mv(z)}q?d.push(q.ordinal):d.push(-1)}p++}if((q=this.Va.ea(b.length-1))&&q.Nd&&null!==q.ec&&null==q.Yb(n))for(b=n.slice(1,-1).split("].[");1<b.length;){b.pop();var A=1<b.length?`[${b.join("].[")}]`:b[0];null==c.find(B=>B[d.length+2]===A)&&(m=d.slice(0,-1),p=q.Yb(A),null!=p&&(m.push(p.ordinal),m.unshift(A),m.unshift(l),""!=g&&m.unshift(g),a.push(m)))}d.unshift(n);d.unshift(l);""!=g&&d.unshift(g);a.push(d)}return a}set yf(c){c=c.toLowerCase();this.fX=c==k.j.Ba.gc||c==k.j.Ba.Ec?c:k.j.Ba.Yc}get yf(){return this.fX}get A(){return this.sA}set A(c){this.sA=
c}get caption(){return this.nc}set caption(c){this.nc=c}get Va(){return this.sb}set Va(c){this.pd=[];this.Ze=[];this.ct=null;this.fX=k.j.Ba.Yc;this.yg=null;this.sb=c}get le(){return this.sb.indexOf("[Measures]")}set le(c){}get nG(){return this.sb.getItem("[Measures]")}set nG(c){}get hb(){return-1<this.le}set hb(c){}get depth(){for(var c=0,a=0;a<this.sb.length;a++)c+=this.sb.ea(a).u$;return c}set depth(c){}toString(){return"[Axis:"+this.sA+" ]"}static lza(c,a,b){"[Measures]"!==c.A&&(b=b.Ea.getItem(c.A),
void 0===b||b.nc===c.caption&&!a.hasOwnProperty("caption")||(b.nc!==c.caption?a.caption=b.nc:a.hasOwnProperty("caption")&&a.caption!==b.nc&&(b.nc=a.caption)))}static yb(c,a,b,d,g,l,m=null,n=!1){c=new f(c);m&&(c.Zh=q=>m(q));c.Va=new e.wb;if(a)for(let q=0;q<a.length;q++)if(null!=a[q].uniqueName){a[q].uniqueName=k.Se.pg(a[q].uniqueName,a[q].caption);let t=l.Fg(a[q].uniqueName);if(null!=t){n&&(t=t.clone(),t.$X(),t.filter.clear());this.lza(t,a[q],l);h.As.yb(a[q],t);if(t.cg&&c.A===k.j.ga.Hs)continue;const x=
e.w(a[q].levelName)?e.w(a[q].activeLevelName)?null:a[q].activeLevelName:a[q].levelName;t.Gf=x;c.Va.Ta(t.A,t)}}if(b){if(null!=b.measure){a="string"===typeof b.measure?new e.i.ab.Bg(k.Se.pg(b.measure)):e.i.ab.Bg.yb(b.measure);var p=c.Zh(a)}null!=p&&null!=b.tuple?c.YC(p,b.tuple,b.type):c.RKa=b}if(d&&0<d.length){b=[];for(a=0;a<d.length;a++){l=d[a];n=[];0<l.length&&n.push(f.yba(l[0]));for(p=1;p<l.length;p++)n.push(f.Qca(l[p]));b.push(n)}d=b}c.pd=d?c.Hda(d):[];if(g&&0<g.length){d=[];for(b=0;b<g.length;b++){a=
g[b];l=[];0<a.length&&l.push(f.yba(a[0]));for(n=1;n<a.length;n++)l.push(f.Qca(a[n]));d.push(l)}g=d}c.Ze=g?c.Gda(g):[];return c}static yba(c){if("string"===typeof c){const a=parseInt(c);if(isNaN(a)||a.toString()!==c)return k.Se.pg(c)}return c}static Qca(c){if("string"===typeof c){const a=parseInt(c);if(isNaN(a)||a.toString()!==c)return k.Se.xy(c)}return c}Qa(){for(var c={},a=[],b=0;b<this.Va.length;b++){var d=this.Va.ea(b).Qa();a.push(d)}c.hierarchies=a;this.yf==k.j.Ba.Yc||e.w(this.ym)||e.w(this.yg)||
(c.sort={type:this.yf,tuple:this.WT,measure:{uniqueName:this.yg.A,aggregation:this.yg.fa}});return c}YC(c,a,b){this.yg=c;this.ym=a;this.yf=b;0==a.length&&(this.Vq=this.yf,this.vs=this.yg)}aF(){this.ym=this.yg=null;this.Vq=this.yf=k.j.Ba.Yc;this.vs=null}clone(){var c=new f(this.sA);c.caption=this.caption;c.Va=this.Va.slice(0);c.vs=this.vs;c.Vq=this.Vq;c.yg=this.yg;c.ym=this.ym;c.yf=this.yf;c.pd=this.VA(this.pd);c.Ze=this.VA(this.Ze);return c}VA(c){for(var a=[],b=0;b<c.length;b++)a.push(c[b].slice());
return a}}h.Xq=f})(k.O||(k.O={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(c){this.nr=new e.wb;this.ub=[];this.hE=this.w7=!1;this.II=[];this.UO=[];this.PO=[];this.nj={};this.u0=!0;this.ad=c;this.ht(new k.O.Xq(k.j.ga.Ia));this.ht(new k.O.Xq(k.j.ga.Xa));this.ht(new k.O.Xq(k.j.ga.Hs))}get axes(){return this.nr}set axes(c){}ht(c){this.nr.Ta(c.A,c);c.hb&&(this.Wz=c)}he(c){return this.nr.getItem(c)}Aua(c){if(-1!=this.kc.Va.indexOf(c))return this.kc;if(-1!=this.Xb.Va.indexOf(c))return this.Xb;if(-1!=this.vG.Va.indexOf(c))return this.vG}set Br(c){}get Br(){this.iga();
return this.Wz}iga(){if(null==this.Wz){for(var c=0;c<this.nr.length;c++){var a=this.nr.ea(c);if(a.hb){this.Wz=a;break}}null==this.Wz&&(this.Wz=this.he(k.j.ga.Xa))}this.Wz.hb||(c=this.ad.nG)&&this.Wz.Va.Ta(c.A,c)}get Oq(){const c=[],a={};for(var b=0;b<this.ub.length;b++){var d=this.ub[b];d.Ra||void 0!==a[d.A]||(c.push(d),a[d.A]=1)}return c}set Oq(c){}get sq(){for(var c=new e.wb,a=0;a<this.ub.length;a++){var b=this.ub[a];b.Ra&&c.Ta(b.A,b)}return c}set sq(c){}get hf(){return this.ub}set hf(c){this.Ry(c)}ed(){for(var c=
[],a=0;a<this.ub.length;a++){var b=this.ub[a];b.hidden||c.push(b)}return c}Ry(c){this.ub=c}Zh(c){for(var a=0;a<this.ub.length;a++)if(c.A==this.ub[a].A&&(""==c.fa||c.fa==this.ub[a].fa))return this.ub[a];return null}MB(c){return c instanceof e.i.ab.Bg?this.Zh(c):isNaN(c)?null:this.ub[c]}Saa(c,a){for(var b=0;b<this.ub.length;b++)if(c==this.ub[b].A&&(void 0==a||a==this.ub[b].fa))return b;return-1}rc(c=!0,a=!0,b=!1,d=!1){let g=new e.wb;for(let l=0;l<this.nr.length;l++)g=g.concat(this.nr.ea(l).Va);c||g.removeItem(this.ad.nG.A);
if(!a)for(c=0;c<this.lb.length;c++)g.removeItem(this.lb.Ah(c));if(b)for(b=0;b<this.ub.length;b++)c=this.ub[b],c.Ra||c.hidden&&!d||(c=this.ad.Gk(c.A),e.w(c)||g.Ta(c.A,c));return g}clear(){for(var c=0;c<this.nr.length;c++)this.nr.ea(c).Va=new e.wb;this.ub=[]}get rows(){return this.he(k.j.ga.Ia).Va}set rows(c){var a=this.he(k.j.ga.Ia);null==a&&(a=new h.Xq(k.j.ga.Ia));a.Va=c;null==c&&(a.Va=new e.wb);a.Zh=b=>this.MB(b);this.ht(a)}get Ka(){return this.he(k.j.ga.Xa).Va}set Ka(c){var a=this.he(k.j.ga.Xa);
null==a&&(a=new h.Xq(k.j.ga.Xa));a.Va=c;null==c&&(a.Va=new e.wb);a.Zh=b=>this.MB(b);this.ht(a)}get lb(){return this.he(k.j.ga.Hs).Va}set lb(c){var a=this.he(k.j.ga.Hs);null==a&&(a=new h.Xq(k.j.ga.Hs));a.Va=c;null==c&&(a.Va=new e.wb);this.ht(a)}set Ab(c){}get Ab(){return this.Br.A==k.j.ga.Ia?this.rows.splice(this.Br.le,1):this.rows}set Fb(c){}get Fb(){return this.Br.A==k.j.ga.Xa?this.Ka.splice(this.Br.le,1):this.Ka}clone(){var c=new f(this.ad);c.rows=this.rows.slice();c.Ka=this.Ka.slice();c.lb=this.lb.slice();
c.Ry(this.ed());c.Gg=this.Gg.slice(0);c.Wh=this.Wh.slice(0);c.Uc=this.Uc.slice(0);c.ht(this.kc.clone());c.kc.Zh=a=>this.MB(a);c.ht(this.Xb.clone());c.Xb.Zh=a=>this.MB(a);c.Gc=this.Gc;c.cd=this.cd;return c}static T8(c,a){if(null==a)return!0;var b=c.rows.length!=a.rows.length;if(!b)for(var d=0;d<c.rows.length;d++)if(c.rows.ea(d).A!=a.rows.ea(d).A){b=!0;break}return b}static S8(c,a){if(null==a)return!0;var b=c.Ka.length!=a.Ka.length;if(!b)for(var d=0;d<c.Ka.length;d++)if(c.Ka.ea(d).A!=a.Ka.ea(d).A){b=
!0;break}return b}static sqa(c,a){if(null==a)return!0;c=c.ed();a=a.ed();var b=c.length!=a.length;if(!b)for(var d=0;d<c.length;d++)if(c[d].A!=a[d].A){b=!0;break}return b}static mqa(c,a){void 0!==a.caption&&null!=c&&(c.caption=a.caption)}static rya(c){return void 0===c.formula?!0:e.i.B.F.pt&&k.Sa.V().ha.Fa===k.j.sa.Nc||!k.Sa.V().ha.Qc||k.Sa.V().ha.Fa===k.j.sa.API}static yb(c,a,b=!1){const d=new f(a);var g=[],l=a.rc(),m=c.Ea.map(q=>q.uniqueName);for(var n=0;n<c.Ea.length;n++)if(void 0!==c.Ea[n].uniqueName&&
this.rya(c.Ea[n])){e.ia(c.Ea[n].formula)&&(a.qd(c.Ea[n].uniqueName)||(c.Ea[n].uniqueName=k.Se.pg(c.Ea[n].uniqueName)));var p=a.Ea.getItem(c.Ea[n].uniqueName);if(null!=p||!e.ia(c.Ea[n].formula)){this.mqa(l.getItem(c.Ea[n].uniqueName),c.Ea[n]);p=a.aw(c.Ea[n],p);p.hidden=!1;if(p.Ra&&!a.Ea.Sb(p.A)){if(e.i.B.F.FM&&!d.LGa(p,m))continue;a.Kj(p)}if(null==c.Ea[n].active||c.Ea[n].active)p=p.clone(),p.index=g.length,g.push(p)}e.i.B.F.dc&&!e.w(c.Ea[n].filter)&&(p=l.getItem(c.Ea[n].uniqueName),e.w(p)||(p.filter=
e.i.ab.wz.yb(c.Ea[n].filter,p)))}d.s3(g);g=k.O.Xq.yb(k.j.ga.Ia,c.rows,c.tj,c.Kv,c.Gv,a,q=>d.MB(q),b);l=k.O.Xq.yb(k.j.ga.Xa,c.Ka,c.hj,c.Jv,c.Fv,a,q=>d.MB(q),b);b=k.O.Xq.yb(k.j.ga.Hs,c.lb,null,[],[],a,null,b);d.rows=g.Va;d.Ka=l.Va;d.lb=b.Va;d.Gc=c.Gc;d.cd=c.cd;if(k.Sa.V().ha&&k.Sa.V().ha.bG)if(d.Gg=c.Gg,e.w(c.Wh))if(l.yf!=k.j.Ba.Yc)d.Wh=[{sort:l.yf,measure:l.yg}];else for(m=c.rows.concat(c.Ka.concat(c.lb)),n=0;n<m.length;n++){if(b=m[n],!e.w(b.sortName)&&k.j.Ba.dg(b.sortName)&&b.sortName!=k.j.Ba.Yc){d.Wh=
[{sort:b.sortName,measure:a.qd(b.uniqueName)}];break}}else d.Wh=f.baa(c.Wh,a);d.Uc=c.Uc;d.nj=c.nj;d.ht(g);d.ht(l);d.iga();d.MGa();d.uEa(d);return d}static baa(c,a){if(e.w(c))return null;const b=[];for(var d=0;d<c.length;d++){var g=c[d];const l=a.qd(g.uniqueName);g=String(g.sort).toLowerCase();!e.w(l)&&k.j.Ba.dg(g)&&b.push({measure:l,sort:g})}return b}MGa(){const c=e.i.B.F.dc;for(var a=0;a<this.rows.length;a++){var b=this.rows.ea(a);c&&b.filter.Ch&&!e.w(this.ad.qd(b.filter.measure.A))||b.filter.Ch&&
null==this.qd(b.filter.measure.A)&&b.filter.TA()}for(a=0;a<this.Ka.length;a++)b=this.Ka.ea(a),c&&b.filter.Ch&&!e.w(this.ad.qd(b.filter.measure.A))||b.filter.Ch&&null==this.qd(b.filter.measure.A)&&b.filter.TA()}LGa(c,a){c=w.uN.NP(c.je,c.A,a);return 0==c.Wv?(e.Wa(c.errorMessage),!1):!0}uEa(c){if(null!=k.Sa.V().za){var a=k.Sa.V().za.Br,b=c.Br;null!=a&&null!=b&&a.A!=b.A||null==a.yg||null==c.Zh(new e.i.ab.Bg(a.yg.A,a.yg.fa,a.yg.index))||null!=b.yg||(b.yg=a.yg,b.WT=a.WT,b.ym=a.ym,b.yf=a.yf)}}e3(){const c=
new e.i.ab.Io,a=this.he(k.j.ga.Ia).Qa(),b=this.he(k.j.ga.Xa).Qa();var d=this.he(k.j.ga.Hs).Qa();c.rows=a.hierarchies;c.Ka=b.hierarchies;c.lb=d.hierarchies;c.Ea=[];d=this.ad.Ea;const g=this.ed();for(var l=0;l<g.length;l++){var m=g[l],n=m.Qa();n.caption=m.Ik;n.active=!0;e.i.B.F.dc&&(m=this.ad.Gk(m.A))&&m.filter.Xg&&!c.iya(m.A)&&(n.filter=m.filter.Qa());c.Ea.push(n)}for(l=0;l<d.length;l++){const p=d.ea(l);p.hidden&&!p.Ra||p.p_()||g.find(q=>q.A===p.A)||(n=p.Qa(),n.active=!1,c.Ea.push(n))}c.tj=a.sort;
c.hj=b.sort;c.Gc=this.Gc;c.Kv=this.axes.getItem(k.j.ga.Ia).K$;c.Jv=this.axes.getItem(k.j.ga.Xa).K$;c.cd=this.cd;c.Gv=this.axes.getItem(k.j.ga.Ia).x$;c.Fv=this.axes.getItem(k.j.ga.Xa).x$;c.Gg=this.Gg;c.Wh=this.caa();c.Uc=this.Uc;c.nj=this.nj;return c}caa(){if(e.w(this.Wh))return null;const c=[];for(var a=0;a<this.Wh.length;a++){var b=this.Wh[a];c.push({uniqueName:b.measure.A,sort:b.sort})}return c}Qa(){var c={};c.rows=[];for(var a=0;a<this.rows.length;a++){var b=this.rows.ea(a).Qa();c.rows[a]=b}c.columns=
[];for(a=0;a<this.Ka.length;a++)b=this.Ka.ea(a).Qa(),c.columns[a]=b;c.pages=[];for(a=0;a<this.lb.length;a++)b=this.lb.ea(a).Qa(),c.pages[a]=b;c.measures=[];for(a=0;a<this.ub.length;a++)this.ub[a].hidden||(b=this.ub[a].Qa(),c.measures[a]=b);return c}I1(){for(var c=0;c<this.nr.length;c++)this.nr.ea(c).I1()}flatten(c=!1,a=!1){const b=this.rc(!1);for(var d=0;d<this.ub.length;d++){if(this.ub[d].hidden)continue;const g=this.ub[d];if(a)g.type===k.j.Na.oc?b.Sb(g.A)||b.Ta(g.A,g):b.Ta(g.A,g);else{let l=this.Gk(g.A);
null!=l&&b.Ta(l.A,l);g.Ra&&c&&(l=new h.As(g.A,g.caption),b.Ta(g.A,l))}}c=new e.wb;for(a=0;a<this.Gg.length;a++)d=this.Gg[a],b.Sb(d)&&(c.Ta(d,b.getItem(d)),b.removeItem(d));for(a=0;a<b.length;a++)c.Ta(b.Ah(a),b.ea(a));return c}isEqual(c){if(null==c)return!1;var a=this.ed(),b=c.ed();if(this.lb.length!=c.lb.length||this.rows.length!=c.rows.length||this.Ka.length!=c.Ka.length||a.length!=b.length)return!1;for(var d=0;d<this.lb.length;d++)if(this.lb.Ah(d)!=c.lb.Ah(d))return!1;for(d=0;d<this.rows.length;d++)if(this.rows.Ah(d)!=
c.rows.Ah(d))return!1;for(d=0;d<this.Ka.length;d++)if(this.Ka.Ah(d)!=c.Ka.Ah(d))return!1;for(d=0;d<a.length;d++)if(a[d].A!=b[d].A||a[d].fa!=b[d].fa)return!1;return!0}Gk(c){return this.ad.Gk(c)}Ke(c){return this.ad.Ke(c)}get ib(){return 0==this.rc(!1).length&&0==this.ub.length}nza(){if(e.i.B.F.dc){this.rows=new e.wb;this.Ka=new e.wb;this.lb=new e.wb;for(var c=[],a=[],b=0;b<this.ad.Ea.length;b++){var d=this.ad.Ea.ea(b);a.push(d.A);d.type==k.j.Na.oc?(d=this.ad.Gk(d.A))&&this.rows.Ta(d.A,d):(d.index=
0,c.push(d))}this.II=a;this.ub=c}else{for(b=0;b<this.ad.Ea.length&&(d=this.ad.Ea.ea(b),d.type!=k.j.Na.kb?null==c&&(c=this.ad.Gk(d.A)):null==a&&(a=d),null==c||null==a);b++);null==a?a=this.ad.Ea.ea(0):null==c?(d=this.ad.Ea.ea(0),c=this.ad.Gk(d.A)):null==c&&null==a&&0<this.ad.Ea.length&&(a=this.ad.Ea.ea(0),c=this.ad.Gk(a.A));null!=c&&null!=a&&(this.lb=new e.wb,this.rows=new e.wb,this.Ka=new e.wb,this.rows.Ta(c.A,c),c=[],a.index=0,c.push(a),this.ub=c)}}get Gc(){return this.w7}set Gc(c){this.w7=c}get cd(){return this.hE}set cd(c){this.hE=
c}jra(){this.kc.pd=[];this.Xb.pd=[]}ira(){this.kc.Ze=[];this.Xb.Ze=[]}get Gg(){null==this.II&&(this.II=[]);return this.II}set Gg(c){this.II=c}get Wh(){null==this.UO&&(this.UO=[]);return this.UO}set Wh(c){this.UO=c}get Uc(){null==this.PO&&(this.PO=[]);return this.PO}set Uc(c){this.PO=c}get kc(){return this.axes.getItem(k.j.ga.Ia)}get Xb(){return this.axes.getItem(k.j.ga.Xa)}get vG(){return this.axes.getItem(k.j.ga.Hs)}s3(c){void 0===c&&(c=this.ub);const a=[];let b=null;for(let d=0;d<c.length;d++)if(b=
c[d],b.format=this.ad.Ea.getItem(b.A).format,a.push(b),b.Ra){let g=b.$Z(this.ad.Ea);if(g&&0<g.length)for(let l=0;l<g.length;l++){const m=g[l];let n=this.ad.Ea.getItem(m.A);if(null!=n){let p=c.find(q=>q.A===n.A);if(null==p||!p.Ra&&p.fa!=m.fa)p=n.clone(),p.fa=m.fa,p.hidden=!0,a.push(p)}}this.ad instanceof k.external.Kc.O.PM&&(b.Oe=b.iR(this.ad.Ea))}this.Ry(a)}Dza(c){e.w(c)||(this.Gc=c.Gc,this.cd=c.cd,f.T8(this,c)?(this.kc.pd=this.oQ(c.kc.pd,this.eR(this.kc.Va,c.kc.Va)),this.kc.Ze=this.oQ(c.kc.Ze,this.eR(this.kc.Va,
c.kc.Va)+2)):(this.kc.pd=this.VA(c.kc.pd),this.kc.Ze=this.VA(c.kc.Ze)),f.S8(this,c)?(this.Xb.pd=this.oQ(c.Xb.pd,this.eR(this.Xb.Va,c.Xb.Va)),this.Xb.Ze=this.oQ(c.Xb.Ze,this.eR(this.Xb.Va,c.Xb.Va)+2)):(this.Xb.pd=this.VA(c.Xb.pd),this.Xb.Ze=this.VA(c.Xb.Ze)))}Ly(c){for(var a=[],b=0;b<this.ub.length;b++)this.ub[b].A!=c&&a.push(this.ub[b]);this.ub=a}qd(c){for(var a=0;a<this.ub.length;a++)if(this.ub[a].A==c)return this.ub[a]}eR(c,a){for(var b=0,d=Math.min(c.length,a.length),g=0;g<d;g++){var l=c.ea(g);
if(l.A!=a.ea(g).A)break;l.cg||b++}return b}oQ(c,a){var b=[];if(1<a)for(var d=0;d<c.length;d++){var g=c[d];g.length<=a&&b.push(g.slice())}return b}VA(c){for(var a=[],b=0;b<c.length;b++)a.push(c[b].slice());return a}sY(c){return this.z9(c,this.Ab)}qY(c){return this.z9(c,this.Fb)}z9(c,a){var b=[];if(e.w(c))return b;for(var d=0;d<c.length;d++){var g=a.ea(d);e.w(g)||(g=g.ya(c[d]),e.w(g)||b.push(g.Qa()))}return b}qxa(){let c=this.rc();for(let a=0;a<c.length;a++)if(c.ea(a).Nf)return!0;return!1}}h.ir=f})(k.O||
(k.O={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{get oJ(){return!0}set oJ(b){}G8(){throw"Not Implemented";}vpa(b,d){e.w(this.bx)&&(this.bx=new e.wb);this.bx.Ta(b,d)}fba(b,d){return!e.w(this.bx)&&this.bx.Sb(b.A)?this.fQ(this.bx.getItem(b.A),d):this.IB(d)}fQ(b,d){if("boolean"===typeof b)return!0===b?this.IB(d):null;{let g=new a;g.rd=b.rd;e.w(b.query)||(g.query=!0===b.query?this.IB(d).query:b.query.slice());e.w(b.Sp)||(g.Sp=!0===b.Sp?this.IB(d).Sp:b.Sp.slice());return g}}IB(b){var d=new a;d.rd=!0;d.Sp=
k.j.pc.Tp;switch(b){case k.j.pb.dk:d.query=k.j.Cb.Tp;break;case k.j.pb.Pa:d.query=k.j.Ob.Tp;break;case k.j.pb.kb:d.query=k.j.jg.Tp;break;case k.j.pb.bc:d.query=k.j.fk.Tp}return d}}h.sU=f;class c{}h.Wma=c;class a{get sya(){return 1==this.rd}get gL(){return!e.w(this.query)&&0<this.query.length}get pca(){return!e.w(this.Sp)&&0<this.Sp.length}}h.Vma=a})(k.O||(k.O={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends h.Ds{isEqual(c){return c.Fa==k.j.sa.EMPTY}clone(){return new f}Qa(){return{}}}h.uz=f})(k.O||(k.O={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends k.O.Ds{constructor(){super(...arguments);this.requestPermission=this.Ld=!1;this.mapping=new k.O.Bo}isEqual(c){return super.isEqual(c)&&this.filename===c.filename&&!1===this.Ld&&!1===c.Ld&&this.mapping.isEqual(c.mapping)}}h.FN=f})(k.local||(k.local={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends k.O3{constructor(){super(...arguments);this.dh=[];this.hn=[];this.$V=[{value:"Chrome",PL:.76},{value:"Firefox",PL:.11},{value:"Safari",PL:.05},{value:"Edge/IE",PL:.06},{value:"Opera",PL:.02}]}bF(){super.bF();this.dh=[];this.hn=[]}ora(){this.dh=[];this.hn=[];this.values=[]}static clone(c){var a=new f(c.Aa);a.Og=c.Og.slice(0);a.bn=c.bn.slice(0);a.tb=c.tb.slice(0);a.zc=c.zc.slice(0);a.ta=c.ta.slice(0);a.ne=c.ne.slice(0);a.Tg=c.Tg.slice(0);a.Qf=c.Qf.slice(0);
a.vx=c.vx.slice(0);a.$B=c.$B.slice(0);return a}sta(c){var a=this.bn.indexOf(c);if(!e.w(c)&&-1<a){for(c=0;c<this.Tg.length;c++)void 0===this.dh[c]&&(this.dh[c]=[]),void 0!==this.zc[c]?(this.zc[c][a]=NaN,this.dh[c][a]={Zo:-this.zc[c][a],hs:-1}):this.dh[c][a]={Zo:0,hs:0};this.Og=e.gb.vGa(this.Og,this.Og.indexOf(a));this.bn[a]=null}}update(c,a,b){var d=this.bn.indexOf(b);if(!e.w(b)&&-1<d){for(b=0;b<this.Tg.length;b++)if(this.zc[b]&&this.zc[b][d]!==a[b]){var g=a[b]-this.zc[b][d];isNaN(g)||(null==this.dh[b]&&
(this.dh[b]=[]),this.dh[b][d]={Zo:g,hs:g/this.zc[b][d]})}for(b=0;b<a.length;b++)this.zc[b][d]=a[b];for(b=0;b<c.length;b++)this.tb[b][d]=c[b]}else{d=this.Aw;e.w(b)||(this.bn[d]=b);for(b=0;b<this.Tg.length;b++)g=a[b],isNaN(g)||(null==this.dh[b]&&(this.dh[b]=[]),this.dh[b][d]={Zo:g,hs:1});this.Og=e.gb.ws(this.Og,d);for(b=0;b<c.length;b++)this.tb[b]=e.gb.ws(this.tb[b],c[b]);for(b=0;b<a.length;b++)this.zc[b]=e.gb.ws(this.zc[b],a[b])}}insert(c,a,b){if(!(-1<c.indexOf(0))){var d;if(0===this.tb.length)for(d=
0;d<c.length;d++)this.tb[d]=[];this.Og=e.gb.ws(this.Og,this.Aw);e.w(b)||(this.bn[this.Aw]=b);for(d=0;d<c.length;d++)this.tb[d]=e.gb.ws(this.tb[d],c[d]);if(0===this.zc.length)for(d=0;d<a.length;d++)this.zc[d]=[];for(d=0;d<a.length;d++)this.zc[d]=e.gb.ws(this.zc[d],a[d])}}NZ(c,a,b,d,g){if(0!=c.length){var l;for(l=0;l<c.length;l++){var m=this.zc[b][c[l]];isNaN(m)||this.zc[b]instanceof Uint8Array&&0==m||g[m]||(d.push(m),g[m]=!0)}if(this.Li.length!=a.length)for(l=0;l<d.length;l++){m=a.slice(0);m.push(d[l]);
var n=this.Un(c,m,this.Li);this.NZ(n,m,b,d,g)}}}CEa(c,a,b,d){c=this.fb[c[0]];a=a[0];var g=[];this.dh=[];this.dh[c]=[];this.values=[];this.hn=[];if(null!=b){var l=b.NQ(d);var m=this.Yaa(b.ya(this.tb[a][c]),"string"==typeof d);if(null==l)if(1==this.C9(a,this.tb[a][c])){l=b.ya(this.tb[a][c]);var n=this.PZ(b,d);n.ordinal=l.ordinal;b.Bea(n)}else l=null!=b.Yb(d)?b.ic(new k.O.be({A:e.P.nK(),caption:d})):b.ic(new k.O.be({A:d,caption:d}));this.tb[a][c]=l.ordinal;n=null!=this.bn[c]?this.bn[c]:c;g.push({id:n,
field:b.A,value:d,oldValue:m});b=parseFloat(d)-this.zc[a][c];this.dh[c][a]={Zo:b,hs:b/this.zc[a][c]};this.zc[a][c]=parseFloat(d);0<g.length&&this.Aa.Mea(g);return l.ordinal}}Yaa(c,a){return null==c?"":a?c.caption:c.sc}save(c,a,b,d,g){var l=this.$c(c,this.Bd),m=this.$c(a,this.Td);g=(c.length*m[0][0].length<a.length*l[0][0].length?this.Un(m[0][0],c,this.ph):this.Un(l[0][0],a,this.Li))[g];c=[];a=this.Tg.indexOf(this.Aa.O.Ke(b.A).A);this.dh=[];this.dh[a]=[];l=parseFloat(d)-this.zc[a][g];this.dh[a][g]=
{Zo:l,hs:l/this.zc[a][g]};this.zc[a][g]=parseFloat(d);this.values=[];this.hn=[];if(null!=b){m=this.ne.indexOf(b.A);var n=this.C9(m,this.tb[m][g]);l=b.NQ(d);a=this.Yaa(b.ya(this.tb[m][g]),"string"==typeof d);null==l&&(1==n?(l=b.ya(this.tb[m][g]),n=this.PZ(b,d),n.ordinal=l.ordinal,b.Bea(n)):l=b.ic(this.PZ(b,d)));l.sc=d;this.tb[m][g]=l.ordinal;g=null!=this.bn[g]?this.bn[g]:g;c.push({id:g,field:b.A,value:d,oldValue:a});0<c.length&&this.Aa.Mea(c);return l.ordinal}}PZ(c,a){c=this.Aa.O.Ke(c.A);k.j.Na.Pa==
c.type?(c=e.P.Yy(a,e.i.B.F.Pn),a=new k.O.be({A:c,caption:c,sc:a})):k.j.Na.oc==c.type?a=new k.O.be({A:a.toString(),caption:a.toString()}):k.j.Na.bc==c.type?(c=e.P.Zy(a,e.i.B.F.Pp),a=new k.O.be({A:c,sc:a})):a=new k.O.be({A:a.toString(),caption:a.toString(),sc:a});return a}C9(c,a){for(var b=0,d=0;d<this.Aw;d++)this.tb[c][d]==a&&b++;return b}Uc(c,a){const b=[];b.push(this.ne);var d=this.$c(c,this.Bd);if(e.w(d)||e.w(d[0])||e.w(d[0][0]))return b;var g=this.$c(a,this.Td);if(e.w(g)||e.w(g[0])||e.w(g[0][0]))return b;
c=c.length*g[0][0].length<a.length*d[0][0].length?this.Un(g[0][0],c,this.ph):this.Un(d[0][0],a,this.Li);for(a=0;a<c.length;a++){d=[];for(g=0;g<this.tb.length;g++)d.push(this.tb[g][c[a]]);b.push(d)}return b}TB(c,a,b){c=this.Cr(c,a);a=b.Ra?this.slice.ed().findIndex(d=>d.A===b.A)+this.Tg.length:this.Tg.indexOf(b.A);return void 0==this.hn[c]?null:this.hn[c][a]}Oaa(c,a){if(a.Ra)return null;a=this.Tg.indexOf(a.A);return null==c?this.WX(this.fb,a):void 0==this.hn[c]?null:this.hn[c][a]}Mt(c){return null==
this.fb[c]||null==this.tb[0][this.fb[c]]||""==this.Aa.O.id?null:this.bn[this.fb[c]]}Owa(c,a){if(0==this.bn.length)return null;var b=this.$c(c,this.Bd);if(e.w(b)||e.w(b[0])||e.w(b[0][0]))return null;const d=this.$c(a,this.Td);if(e.w(d)||e.w(d[0])||e.w(d[0][0]))return null;c=c.length*d[0][0].length<a.length*b[0][0].length?this.Un(d[0][0],c,this.ph):this.Un(b[0][0],a,this.Li);a=[];for(b=0;b<c.length;b++)a.push(this.bn[c[b]]);return 0==a.length?null:a}kR(c,a,b,d,g){if(this.Aa.ha.bL)return 0===this.tb[0][c]&&
this.rva(c),this.tb[a][c];if(null==this.fb[c]||null==this.tb[0][this.fb[c]])return NaN;if(d)return!b.Ra&&this.dh.length&&(d=this.Tg.indexOf(b.A),null==this.hn[c]&&(this.hn[c]=[]),this.hn[c][d]=this.WX([this.fb[c]],d)),b.Ra?this.Qr([this.fb[c]],b.Oe,b.xk,0,null,null,b.Dn):this.zc[a][this.fb[c]];this.zc.length!=this.tb.length&&(a=this.ne.indexOf(this.Tg[a]),void 0!==g&&(a=this.ta[a][g]));return this.tb[a][this.fb[c]]}Ha(c,a,b){var d=this.Cr(c,a),g=this.Bh(b);if(e.w(this.values[g])||-1==g)this.values[g]=
[];g=this.values[g];if(!g[d]){var l=this.$c(c,this.Bd),m=this.$c(a,this.Td);if(null==l||null==l[0]||null==m||null==m[0])return NaN;var n=[],p=this.Tg.indexOf(b.A);0<m.length&&0<l.length&&c.length*m[0][0].length<a.length*l[0][0].length?n=this.Un(m[0][0],c,this.ph):0<l.length&&(n=this.Un(l[0][0],a,this.Li));c=b.Ra?this.Qr(n,b.Oe,b.xk,0,c,a,b.Dn):b.fa==k.j.ca.yj?b.type==k.j.Na.oc?this.OZ(n,b):this.Iaa(n,c,a,p):this.eA(n,p,b.fa);g[d]=c;0<this.dh.length&&(null==this.hn[d]&&(this.hn[d]=[]),this.hn[d][p]=
this.WX(n,p));return c}return g[d]}WX(c,a){if(void 0==this.dh[a])return null;for(var b=!1,d={Zo:0,hs:0},g=0;g<c.length;g++)this.dh[a][c[g]]&&0!=this.dh[a][c[g]].Zo&&!isNaN(this.dh[a][c[g]].Zo)&&(d.Zo+=this.dh[a][c[g]].Zo,d.hs+=this.dh[a][c[g]].hs,b=!0);return b?d:null}pack(){if(!this.Aa.ha.bL){var c=this.Aa.O.rc(!1);65536>this.Og.length?this.Og=new Uint16Array(this.Og):4294967296>this.Og.length&&(this.Og=new Uint32Array(this.Og));var a;for(a=0;a<c.length;a++){var b=c.ea(a),d=this.ne.indexOf(b.A);
-1===d&&(d=this.ne.indexOf(b.caption));for(var g=1;g<this.ta[d].length;g++)256>b.wh&&this.tb.hasOwnProperty(this.ta[d][g])?this.tb[this.ta[d][g]]=new Uint8Array(this.tb[this.ta[d][g]]):65536>b.wh&&this.tb.hasOwnProperty(this.ta[d][g])?this.tb[this.ta[d][g]]=new Uint16Array(this.tb[this.ta[d][g]]):4294967296>b.wh&&this.tb.hasOwnProperty(this.ta[d][g])&&(this.tb[this.ta[d][g]]=new Uint32Array(this.tb[this.ta[d][g]]))}for(a=0;a<this.Tg.length;a++)b=c.getItem(this.Tg[a]),null!=b&&(b=this.Aa.O.KF(b.A),
b!==k.j.input.qa.kb&&b!==k.j.input.qa.Uk&&b!==k.j.input.qa.Cc&&b!==k.j.input.qa.bc&&(this.zc[a]=new Uint8Array(this.zc[a])))}}filter(){this.Td=[];this.Bd=[];this.values=[];this.VO=[];this.pl=[];this.hn=[];this.jqa();this.pack();var c=e.i.B.F.dc&&e.i.B.F.Zd!=e.K.td.Bi,a=this.slice.rc(!1,!0,c),b=new e.wb,d=new e.wb,g,l,m=this.slice.ed();for(g=0;g<a.length;g++)(l=a.ea(g))&&l.filter.Xg&&(l.filter.Ch?(c?d.Ta(l.A,l):m.find(n=>n.A===l.filter.measure.A)&&!this.slice.lb.Sb(l.A)&&d.Ta(l.A,l),l.filter.jj&&b.Ta(l.A,
l)):b.Ta(l.A,l));this.$u(b,this.Og);for(g=0;g<d.length;g++)l=d.ea(g),!c||l.filter.gy&&l.filter.measure&&this.Aa.O.sq.Sb(l.filter.measure.A)?this.rqa(l):this.gqa(l);this.$u(d,this.fb)}$u(c,a){for(var b=[],d=[],g=0;g<c.length;g++){var l=c.ea(g),m=this.ne.indexOf(l.A);if(l.filter.Xg){b.push(m);d.push(l.pua().length/l.Cd.children.length);this.filters[m]=[];this.xw[m]=[];for(var n=0;n<l.fb.length;n++){var p=l.ya(l.fb[n]);1===p.level.xb?this.filters[m][p.ordinal]=!0:(void 0===this.xw[m][p.root.ordinal]&&
(this.xw[m][p.root.ordinal]=[]),void 0===this.xw[m][p.root.ordinal][p.level.xb]&&(this.xw[m][p.root.ordinal][p.level.xb]=[]),this.xw[m][p.root.ordinal][p.level.xb][p.ordinal]=!0)}}}d=e.gb.sort(d,e.gb.Mu|e.gb.oi);if(0<b.length)for(g=0;g<b.length;g++){c=b[d[g]];l=[];for(m=0;m<a.length;m++)if(n=this.tb[this.ta[c][1]][a[m]],!0===this.filters[c][n])l.push(a[m]);else if(void 0!==this.xw[c][n])for(p=2;p<this.ta[c].length;p++)if(void 0!==this.xw[c][n][p]&&!0===this.xw[c][n][p][this.tb[this.ta[c][p]][a[m]]]){l.push(a[m]);
break}a=l}this.fb=a}Una(c){var a=this.ne.indexOf(c.Zx.A),b=this.ne.indexOf(c.A);-1===a&&(a=this.Ul(c.Zx.A,c.A),this.ta[b].pop(),this.ta[b].splice(1,0,a));var d=[],g;for(g in c.groups)for(var l=c.Yb(c.Vl(g)),m=0;m<c.groups[g].length;m++){var n=c.ya(c.groups[g][m]);null!==n&&(d[n.ordinal]=l.ordinal)}c=c.Yb(c.Vl("Others"));void 0===this.tb[a]&&(this.tb[a]=[]);for(g=0;g<this.Aw;g++)n=this.tb[b][g],this.tb[a][g]=void 0!==d[n]?d[n]:c.ordinal}$na(c){var a=this.ne.indexOf(c.A);if(this.ta[a]&&this.ta[a].length>
c.ta.length)for(var b=0;b<this.ta[a].length;b++)if(!c.ta.Sb(this.ne[this.ta[a][b]])){this.ta[a].splice(b,1);break}}jqa(){var c,a,b=this.slice.rc(!1);for(c=0;c<b.length;c++)(a=b.ea(c))&&(null!=a.Zx?this.Una(a):this.$na(a))}gqa(c){if(c.filter.Ch){var a=this.Aa.O.Ea.getItem(c.filter.measure.A);if(void 0!==a){for(var b=[],d=[],g=this.Tg.indexOf(a.A),l=0;l<this.fb.length;l++)b.push(this.kR(l,g,a,!0)),d.push(this.kR(l,g,a,!1));c.filter.query.va==k.j.pc.Oh?c.fb=this.fqa(b,d,c.filter.query.value):c.filter.query.va==
k.j.pc.aj?c.fb=this.Ypa(b,d,c.filter.query.value):c.filter.query.va==k.j.pc.EQUAL?c.fb=this.Zpa(b,d,c.filter.query.value):c.filter.query.va==k.j.pc.Cf?c.fb=this.eqa(b,d,c.filter.query.value):c.filter.query.va==k.j.pc.GREATER?c.fb=this.aqa(b,d,c.filter.query.value):c.filter.query.va==k.j.pc.Wk?c.fb=this.$pa(b,d,c.filter.query.value):c.filter.query.va==k.j.pc.LESS?c.fb=this.cqa(b,d,c.filter.query.value):c.filter.query.va==k.j.pc.Xk?c.fb=this.bqa(b,d,c.filter.query.value):c.filter.query.va==k.j.pc.Kg?
c.fb=this.Xpa(b,d,Math.min(c.filter.query.value[0],c.filter.query.value[1]),Math.max(c.filter.query.value[0],c.filter.query.value[1])):c.filter.query.va==k.j.pc.Cg&&(c.fb=this.dqa(b,d,Math.min(c.filter.query.value[0],c.filter.query.value[1]),Math.max(c.filter.query.value[0],c.filter.query.value[1])))}}}fqa(c,a,b){var d=[];c=e.gb.sort(c,e.gb.yo|e.gb.Mu|e.gb.oi);b=Math.min(b,a.length);for(var g=0;g<b;g++)d.push(a[c[g]]);return d}Ypa(c,a,b){var d=[];c=e.gb.sort(c,e.gb.Mu|e.gb.oi);b=Math.min(b,a.length);
for(var g=0;g<b;g++)d.push(a[c[g]]);return d}Zpa(c,a,b){for(var d=[],g=a.length,l=0;l<g;l++)c[l]==b&&d.push(a[l]);return d}eqa(c,a,b){for(var d=[],g=a.length,l=0;l<g;l++)c[l]!=b&&d.push(a[l]);return d}aqa(c,a,b){for(var d=[],g=a.length,l=0;l<g;l++)c[l]>b&&d.push(a[l]);return d}$pa(c,a,b){for(var d=[],g=a.length,l=0;l<g;l++)c[l]>=b&&d.push(a[l]);return d}cqa(c,a,b){for(var d=[],g=a.length,l=0;l<g;l++)c[l]<b&&d.push(a[l]);return d}bqa(c,a,b){for(var d=[],g=a.length,l=0;l<g;l++)c[l]<=b&&d.push(a[l]);
return d}Xpa(c,a,b,d){for(var g=[],l=a.length,m=0;m<l;m++)c[m]>=b&&c[m]<=d&&g.push(a[m]);return g}dqa(c,a,b,d){for(var g=[],l=a.length,m=0;m<l;m++)(c[m]<b||c[m]>d)&&g.push(a[m]);return g}rqa(c){if(c.filter.Ch){var a=this.slice.Zh(c.filter.measure);if(void 0!==a){var b=[],d=[],g=[],l=this.ne.indexOf(c.A);l=this.ta[l][c.ec?c.ec.xb:1];if(this.pl[l])for(var m in this.pl[l])g.push(this.pl[l][m]);else g=[l];l=[];for(m=0;m<g.length;m++)for(var n=0;n<this.fb.length;n++){var p=this.tb[g[m]][this.fb[n]];null==
l[p]&&(l[p]=[]);l[p].push(this.fb[n])}g=this.Tg.indexOf(a.A);n=c.filter.jj?c.filter.ij():c.Ar;p=a.Ra;var q=c.ec?c.ec.xb:1;for(m=0;m<n.length;m++){var t=c.ya(n[m]);if(!t.Rb&&t.level.xb==q&&void 0!==l[t.ordinal]){if(p){var x=e.w(this.vx[g])?a.Oe:this.vx[g];var z=e.w(this.$B[g])?a.xk:this.$B[g];x=this.Qr(l[t.ordinal],x,z,0,null,null,a.Dn)}else x=this.eA(l[t.ordinal],g,a.fa);isNaN(x)&&(x=Number.MIN_VALUE);b.push(x);d.push(t.ordinal)}}c.filter.query.va==k.j.pc.Oh?c.fb=this.qqa(b,d,c.filter.query.value):
c.filter.query.va==k.j.pc.aj?c.fb=this.Upa(b,d,c.filter.query.value):c.filter.query.va==k.j.pc.EQUAL?c.fb=this.Vpa(b,d,c.filter.query.value):c.filter.query.va==k.j.pc.Cf?c.fb=this.oqa(b,d,c.filter.query.value):c.filter.query.va==k.j.pc.GREATER?c.fb=this.iqa(b,d,c.filter.query.value):c.filter.query.va==k.j.pc.Wk?c.fb=this.hqa(b,d,c.filter.query.value):c.filter.query.va==k.j.pc.LESS?c.fb=this.lqa(b,d,c.filter.query.value):c.filter.query.va==k.j.pc.Xk?c.fb=this.kqa(b,d,c.filter.query.value):c.filter.query.va==
k.j.pc.Kg?c.fb=this.Tpa(b,d,Math.min(c.filter.query.value[0],c.filter.query.value[1]),Math.max(c.filter.query.value[0],c.filter.query.value[1])):c.filter.query.va==k.j.pc.Cg&&(c.fb=this.nqa(b,d,Math.min(c.filter.query.value[0],c.filter.query.value[1]),Math.max(c.filter.query.value[0],c.filter.query.value[1])))}}}qqa(c,a,b){var d=[];c=e.gb.sort(c,e.gb.yo|e.gb.Mu|e.gb.oi);b=Math.min(b,a.length);for(var g=0;g<b;g++)d.push(a[c[g]]);return d}Upa(c,a,b){var d=[];c=e.gb.sort(c,e.gb.Mu|e.gb.oi);b=Math.min(b,
a.length);for(var g=0;g<b;g++)d.push(a[c[g]]);return d}Vpa(c,a,b){for(var d=[],g=a.length,l=0;l<g;l++)c[l]==b&&d.push(a[l]);return d}oqa(c,a,b){for(var d=[],g=a.length,l=0;l<g;l++)c[l]!=b&&d.push(a[l]);return d}iqa(c,a,b){for(var d=[],g=a.length,l=0;l<g;l++)c[l]>b&&d.push(a[l]);return d}hqa(c,a,b){for(var d=[],g=a.length,l=0;l<g;l++)c[l]>=b&&d.push(a[l]);return d}lqa(c,a,b){for(var d=[],g=a.length,l=0;l<g;l++)c[l]<b&&d.push(a[l]);return d}kqa(c,a,b){for(var d=[],g=a.length,l=0;l<g;l++)c[l]<=b&&d.push(a[l]);
return d}Tpa(c,a,b,d){for(var g=[],l=a.length,m=0;m<l;m++)c[m]>=b&&c[m]<=d&&g.push(a[m]);return g}nqa(c,a,b,d){for(var g=[],l=a.length,m=0;m<l;m++)(c[m]<b||c[m]>d)&&g.push(a[m]);return g}eA(c,a,b){return null===c||-1===a?NaN:0===c.length?b===k.j.ca.oc?0:NaN:b===k.j.ca.NONE?this.zc[a][c[0]]:b===k.j.ca.oc?this.Qva(c,a):b===k.j.ca.yj?this.Iaa(c,[],[],a):b===k.j.ca.fr?this.Iwa(c,a):b===k.j.ca.Nu?this.axa(c,a):b===k.j.ca.Ou?this.bxa(c,a):1===c.length?this.zc&&this.zc[a]?this.zc[a][c[0]]:NaN:b===k.j.ca.fq||
b===k.j.ca.Eo||b===k.j.ca.cq||b===k.j.ca.gr||b===k.j.ca.Fo||b===k.j.ca.ni||b===k.j.ca.mn||b===k.j.ca.nn||b===k.j.ca.tn||b===k.j.ca.un||b===k.j.ca.Hm||b===k.j.ca.wn?this.f_(c,a):b===k.j.ca.Is?this.Mwa(c,a):b===k.j.ca.Vp?this.waa(c,a):b===k.j.ca.Iu?this.vwa(c,a):b===k.j.ca.MAX?this.swa(c,a):b===k.j.ca.MIN?this.ywa(c,a):0}NK(){return this.tb}zG(){this.aY();for(var c,a=this.Aa.O.KZ(),b=0;b<a.length;b++){var d=a[b];c=this.Aa.O.GB(d);if(c instanceof h.O.M5)k.j.oz.Cz==c.type?(this.Ul(d+".Year"),this.Wm(this.Aa.O.Ke(d+
".Year")),this.Ul(d+".Month"),this.Wm(this.Aa.O.Ke(d+".Month")),this.Ul(d+".Day"),this.Wm(this.Aa.O.Ke(d+".Day"))):c.Va.Sb(d)&&(this.Ul(d),this.Wm(this.Aa.O.Ke(d)));else if(c instanceof h.O.HN)for(this.Ul(d),this.Wm(this.Aa.O.Ke(d)),d=2;d<c.ta.length;d++)this.Ul(c.ta.ea(d).A,c.A);else c instanceof h.O.oV&&(1===c.xb?(this.Ul(c.hierarchy.A),this.Wm(this.Aa.O.Ke(c.hierarchy.A))):this.Ul(c.A,c.hierarchy.A))}if(this.slice){for(b=0;b<this.Aa.O.Ea.length;b++)c=this.Aa.O.Ea.ea(b),this.Ul(c.A),this.Wm(c);
for(b=0;b<this.slice.hf.length;b++)c=this.slice.hf[b],this.Ul(c.A),this.Wm(c)}}Wm(c){c&&(this.BP(c),this.GA(c))}w8(c){for(var a=this.Aa.O.GB("Browser"),b=0;b<c.length;b++)a.ic(new k.O.be({A:c[b].value}))}rva(c){var a=this.Nda(c,{from:0,ro:500,ew:30})+1,b=this.Nda(c,{from:0,ro:30,ew:0})+1,d=.3>Math.abs(Math.sin(7*c))?1:0;this.tb[0][c]=this.EDa(5*c,this.$V)+1;this.tb[1][c]=a*(4>b?b:10>b?Math.round(b/3):Math.round(b/7));this.tb[2][c]=b;this.tb[3][c]=d}BZ(c){this.w8(this.$V);var a=w.Dd().lm?5E5:1E6;this.tb=
[];this.tb[0]=new Uint8Array(a);this.tb[1]=new Uint16Array(a);this.tb[2]=new Uint8Array(a);this.tb[3]=new Uint8Array(a);this.Og[a-1]=a;this.Bd=[];this.Bd=[[this.fb,[],[],void 0,void 0]];this.Td=[[this.fb,[],[],void 0,void 0]];this.w8(this.$V);c()}Nda(c,a){c=Math.abs(Math.sin(1.17*c))*(a.ro-a.from)+a.from;if(c>=a.ew){var b=(c-a.ew)/(5*(a.ro-a.ew));a=(c-a.ew)*b+a.ew}else b=(a.ew-c)/(5*(a.ew-a.from)),a=(a.ew-c)*b+a.from;return Math.round(a)}EDa(c,a){c=Math.abs(Math.sin(c));for(var b=0,d=0;d<a.length;d++)if(b+=
a[d].PL,b>c)return d;return a.length-1}}h.GN=f})(k.local||(k.local={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends k.O.As{constructor(a,b=""){super(a,b);a=new f.oV(a+".[(all)]","All",0);this.Ng(a);this.zq=this.gl="(all member)";a=new k.O.be({A:"(all member)",caption:"All",Rb:!0});super.ic(a)}ic(a,b){if(void 0===b)return super.ic(a);if(e.ia(a.value)||"null"===a.value||"undefined"===a.value)e.i.B.F.Aq?a.A=a.value+"":(a.A=void 0===a.parent?"":("["===a.parent.A.substr(0,1)?a.parent.A:"["+a.parent.A+"]")+".[]",a.caption=a.value=""),""===a.caption&&
(a.caption=e.i.C.u.Bj);if(b===k.j.input.qa.kb)b=this.Hpa(a);else if(b===k.j.input.qa.Sc||b===k.j.input.qa.Jm||b===k.j.input.qa.Ag)b=this.F8(a);else if(b===k.j.input.qa.Pa)b=this.jpa(a);else if(b===k.j.input.qa.Ue)b=this.Apa(a,a.level);else if(b===k.j.input.qa.Zp)b=this.z8(a,!1);else if(b===k.j.input.qa.Ao)b=this.z8(a,!0);else if(b===k.j.input.qa.Uk)b=this.lpa(a);else if(b===k.j.input.qa.Cc)b=this.npa(a);else if(b===k.j.input.qa.bc)b=this.Opa(a);else{if(b===k.j.input.qa.Mw||b===k.j.input.qa.z5||b===
k.j.input.qa.RD)return null;b=this.F8(a)}void 0!==a.De&&b.De.xpa(a.De);return b}OB(){return new f.lka(this)}Vl(a="(Total)"){return a.toLocaleLowerCase()}get interval(){return this.type===k.j.Ic.Pa?this.woa:null}set interval(a){this.woa=this.type===k.j.Ic.Pa?a:null}get inputType(){return this.voa}set inputType(a){this.voa=a}get Nd(){return!0}set Nd(a){}F8(a){var b=void 0===a.A?a.value+"":a.A,d=this.Yb(b);null===d&&(a.A=b,void 0===a.caption&&(a.caption=a.value+""),d=super.ic(a));return d}Hpa(a){var b=
void 0===a.A?a.value+"":a.A;if(!e.i.B.F.zg){var d=this.Yb(b);null===d&&(a.A=b,void 0===a.caption&&(a.caption=a.value+""),a.sc=e.i.B.F.Aq&&e.w(a.value)?a.value:e.P.d3(a.value),d=super.ic(a))}return d}npa(a){var b=new e.Uf(a.value,{mv:!1}),d=this.mapping.Ha(this.A,"format",e.i.B.F.Wo);b.Zi(w.Lh.mf(d));this instanceof k.external.Kc.O.NM||b.round(this.interval);d=b.format(d);b=b.getTime();let g=a.A;if(void 0===a.A||e.w(a.parent)&&e.w(a.Hh))g=""+b;var l=this.Yb(g);null===l&&(a.A=g,a.caption=d,a.sc=b,l=
super.ic(a));return l}Opa(a){var b=parseFloat(a.value),d=this.mapping.Ha(this.A,"format",e.i.B.F.Pp);d=isNaN(b)||0===b||""===String(a.value).trim()?"":e.P.Zy(b,d);var g=this.Yb(d);null===g&&(a.A=d,a.caption=d,a.sc=b,g=super.ic(a));return g}lpa(a){var b=new e.Uf(a.value,{mv:!1}),d=this.mapping.Ha(this.A,"format",e.i.B.F.Pn);b.Zi(w.Lh.mf(d));this instanceof k.external.Kc.O.NM||b.round(this.interval);var g=b.getTime();b=b.format(d);d=g;let l=a.A;if(void 0===a.A||e.w(a.parent)&&e.w(a.Hh))l=""+g;!e.i.B.F.Aq||
null!==a.value&&"null"!==a.value||(b=e.i.C.u.EU,l="null",d=null);g=this.Yb(l);null===g&&(a.A=l,a.caption=b,a.sc=d,g=super.ic(a));return g}z8(a,b){var d=new e.Uf(a.value,{mv:!1});e.w(e.i.B.F.kF)||d.Zi(e.i.B.F.kF);var g="";if(null!=d&&!isNaN(d.getTime())&&d.dg()){var l=e.i.C.u.v6[Math.floor(d.getMonth()/3)];var m=e.i.C.u.er[d.getMonth()];var n=d.getDate().toString();var p=d.getFullYear().toString();d=d.getTime()}else return n=e.i.C.u.Bm,p=this.Yb(n),null===p&&(a.A=n,a.caption=n,p=super.ic(a)),p;var q=
""+p,t=p;p=this.Yb(q);null===p&&(a.A=q,a.caption=t,p=super.ic(a));b&&(b=`[${q}].[${l}]`,t=l,g=p,p=this.Yb(b),null===p&&(a.A=b,a.caption=t,a.parent=g,p=super.ic(a)),g=`.[${l}]`);l=m;m=`[${q}]${g}.[${m}]`;g=p;p=this.Yb(m);null===p&&(a.A=m,a.caption=l,a.parent=g,p=super.ic(a));l=n;n=`${m}.[${n}]`;g=p;p=this.Yb(n);null===p&&(a.A=n,a.caption=l,a.parent=g,a.sc=d,p=super.ic(a));return p}jpa(a){var b=[],d=new e.Uf(a.value,{mv:!1});e.w(e.i.B.F.kF)||d.Zi(e.i.B.F.kF);if(null!==d&&!isNaN(d.getTime())&&d.dg()){var g=
e.i.C.u.er[d.getMonth()];var l=d.getDate().toString();var m=d.getFullYear().toString();var n=d.getTime()}else{l=e.i.C.u.Bm;for(n=0;3>n;n++){a=this.Uh.Va.ea(n);var p=a.Yb(l);null===p&&(p=a.ic(new k.O.be({A:l})));b.push(p)}return b}a=this.Uh.Va.ea(0);var q=this.aU(m);p=a.Yb(q);null===p&&(p=a.ic(new k.O.be({A:m,caption:q,sc:d.getFullYear()})));b.push(p);a=this.Uh.Va.ea(1);m=this.aU(g);p=a.Yb(m);null===p&&(p=a.ic(new k.O.be({A:g,caption:m})));b.push(p);a=this.Uh.Va.ea(2);g=this.aU(l);p=a.Yb(g);null===
p&&(p=a.ic(new k.O.be({A:l,caption:g,sc:n})));b.push(p);return b}aU(a){return a&&0<a.length&&"NaN"!=a?a:e.i.C.u.Bm}Apa(a,b){var d=void 0===a.parent?this.Yb(a.Hh):a.parent;null===d&&void 0!==a.Hh&&(d=this.NQ(a.Hh));var g=void 0===a.A||void 0!==a.Hh&&"["===a.Hh.substr(0,1)||void 0!==a.A&&"["===a.A.substr(0,1)?a.value+"":a.A;if(1<b.xb){var l=b.hierarchy.ta.ea(b.xb-1);null===d&&(d=b.hierarchy.Yb(e.i.C.u.Bj),null===d&&(d=l.hierarchy.ic(new k.O.be({A:e.i.C.u.Bj,caption:e.i.C.u.Bj}))));g=1===l.xb?`[${d.A}].[${g}]`:
`${d.A}.[${g}]`}l=b.hierarchy.Yb(g);null===l&&(a.A=g,a.caption=e.w(a.caption)?a.value:a.caption,a.parent=1<b.xb?d:void 0,l=this.ic(a,k.j.rb.OG(b.type)));return l}Rk(){const a=super.Rk();a.type=this.inputType;return a}}f.HN=c})(h.O||(h.O={}))})(k.local||(k.local={}))})(e.v||(e.v={}))})(u||(u={}));(function(e){(function(k){(function(h){(function(f){class c extends k.O.Bs{constructor(a,b="",d=0){super(a,b,d)}}f.oV=c})(h.O||(h.O={}))})(k.local||(k.local={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends k.O.gH{Qa(){var a=super.Qa();a.uniqueName=this.fm;this.parent&&(a.parentMember=this.parent.fm);return a}}f.lka=c})(h.O||(h.O={}))})(k.local||(k.local={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends k.O.Zq{constructor(a,b=""){super(a,b)}get ac(){return e.i.Vb.valid(this.nc)?this.nc:e.i.Vb.Mc(this.nc)}get caption(){if(!1===e.i.B.F.vw||this.Ra)return this.ac;switch(this.fa){case k.j.ca.oc:return e.P.bind(e.i.C.u.VM,this.ac);case k.j.ca.Is:return e.P.bind(e.i.C.u.ZN,this.ac);case k.j.ca.yj:return e.P.bind(e.i.C.u.cN,this.ac);case k.j.ca.Vp:return e.P.bind(e.i.C.u.RM,this.ac);case k.j.ca.Iu:return e.P.bind(e.i.C.u.qV,this.ac);case k.j.ca.Nu:return e.P.bind(e.i.C.u.hO,
this.ac);case k.j.ca.Ou:return e.P.bind(e.i.C.u.iO,this.ac);case k.j.ca.MAX:return e.P.bind(e.i.C.u.LN,this.ac);case k.j.ca.MIN:return e.P.bind(e.i.C.u.TN,this.ac);case k.j.ca.fr:return e.P.bind(e.i.C.u.iI,this.ac);case k.j.ca.Eo:return e.P.bind(e.i.C.u.cI,this.ac);case k.j.ca.cq:return e.P.bind(e.i.C.u.hI,this.ac);case k.j.ca.gr:return e.P.bind(e.i.C.u.fI,this.ac);case k.j.ca.Fo:return e.P.bind(e.i.C.u.gI,this.ac);case k.j.ca.ni:return e.P.bind(e.i.C.u.MH,this.ac);case k.j.ca.Hm:return e.P.bind(e.i.C.u.aO,
this.ac);case k.j.ca.wn:return e.P.bind(e.i.C.u.cO,this.ac);case k.j.ca.mn:return e.P.bind(e.i.C.u.pH,this.ac);case k.j.ca.nn:return e.P.bind(e.i.C.u.qH,this.ac);case k.j.ca.tn:return e.P.bind(e.i.C.u.dI,this.ac);case k.j.ca.un:return e.P.bind(e.i.C.u.eI,this.ac);case k.j.ca.NONE:return this.ac}return e.P.bind(e.i.C.u.nI,this.ac)}set caption(a){this.nc=a}get Ik(){return this.nc}set Ik(a){}clone(){var a=new c(this.A);this.MJ(a);return a}Rk(){const a=super.Rk(),b=k.Sa.V().O.Gk(this.A);e.w(b)?a.type=
k.j.input.qa.kb:a.type=b.inputType;return a}}f.N5=c})(h.O||(h.O={}))})(k.local||(k.local={}))})(e.v||(e.v={}))})(u||(u={}));(function(e){(function(k){(function(h){(function(f){class c extends k.O.fz{constructor(a,b=""){super(a,b)}}f.M5=c})(h.O||(h.O={}))})(k.local||(k.local={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends k.O.uU{constructor(){super();this.id=this.qQ="";this.ta=[];this.o_=!1;this.qA={};this.hA={};this.yX();this.$e=new e.wb;this.jk=new e.wb;this.types={};this.De=[];this.id=this.qQ=""}clear(){this.qA={};this.hA={};this.$e=new e.wb;this.jk=new e.wb;this.types={};this.id=this.qQ="";super.clear()}$n(a,b){return new f.HN(a,b)}Vaa(a,b){return new f.N5(a,b)}tl(a,b,d){return new f.oV(a,b,d)}Gk(a){return this.qA[a]}Ke(a){return this.hA[a]}KF(a){return this.types[a]}Daa(a){return this.De[a]}GB(a){return this.$e.getItem(a)}KZ(){return this.$e.Lc(!0)}jJ(a,
b){e.i.B.F.zg||(this.qA[a]=this.Fg(b),this.hA[b]=this.qd(a))}Jo(a,b,d,g){b=this.Vaa(a,b);b.type=d;g.hasOwnProperty("supportedAggregations")&&(b.vj=g.supportedAggregations);b.Kd=g.availableAggregations;this.Kj(b);this.jJ(b.A,a);return b}E8(a,b,d){var g=b.uniqueName,l=e.ia(b.caption)?d:b.caption,m=this.$n(g,l);m.type=k.j.Ic.zu;void 0!==b.folder&&(m.Xc=b.folder);a.Rh(m);a=this.tl(m.caption==e.i.C.u.Bj?g+".[]":g,m.caption,1);a.type=k.j.rb.Sc;m.Ng(a);e.i.B.F.zg||this.Jo(g,l,k.j.Na.oc,b);this.$e.Ta(d,m);
this.jk.Ta(d,m);m.inputType=b.type}tpa(a,b,d){var g=b.uniqueName,l=e.ia(b.caption)?d:b.caption;a.type=k.j.oz.Cz;var m=this.$n(g,l);m.type=k.j.Ic.Pa;void 0!==b.folder&&(m.Xc=b.folder);a.Rh(m);var n=g+".Year";a=this.tl(n,e.i.C.u.bl,m.ta.length);a.type=k.j.rb.bl;m.Ng(a);this.jk.Ta(n,a);b.type==k.j.input.qa.Ao&&(n=g+".Quarter",a=this.tl(n,e.i.C.u.Js,m.ta.length),a.type=k.j.rb.Js,m.Ng(a),this.jk.Ta(n,a));n=g+".Month";a=this.tl(n,e.i.C.u.Ag,m.ta.length);a.type=k.j.rb.Ag;m.Ng(a);this.jk.Ta(n,a);n=g+".Day";
a=this.tl(n,e.i.C.u.Cm,m.ta.length);a.type=k.j.rb.Cm;m.Ng(a);this.jk.Ta(n,a);e.i.B.F.zg||this.Jo(g,l,k.j.Na.oc,b);e.w(b.interval)?m.interval=this.mapping.Ha(g,"interval","1d"):m.interval=b.interval;this.$e.Ta(d,m);m.inputType=b.type}A8(a,b,d){var g=b.hasOwnProperty("hierarchy")?b.hierarchy:b.uniqueName,l=a.Fg(g);void 0===l&&(l=this.$n(g,g),void 0!==b.folder&&(l.Xc=b.folder),a.Rh(l));var m=0;if(b.hasOwnProperty("parent")){m=l.It(b.parent);void 0===m&&(m=l.It(b.parent.toLowerCase()));if(void 0===m){void 0===
this.ta[l.A]&&(this.ta[l.A]=[]);this.ta[l.A][b.parent]=[b,d];return}m=l.ta.indexOf(m.A)}else l.type=k.j.Ic.zZ(b.levelType);var n=b.hasOwnProperty("caption")?b.caption:b.hasOwnProperty("level")?b.level:d;m=this.tl(d,n,m+1);m.type=k.j.rb.zZ(b.levelType);l.Ng(m);e.i.B.F.zg||e.w(this.qd(g))&&this.Jo(g,g,k.j.Na.oc,b);this.$e.Ta(d,m);this.jk.Ta(d,m);this.ta[l.A]&&this.ta[l.A][d]&&this.A8(a,this.ta[l.A][d][0],this.ta[l.A][d][1]);e.w(l.inputType)&&(l.inputType=b.type)}ipa(a,b,d){var g=b.uniqueName,l=e.ia(b.caption)?
d:b.caption;a.type=k.j.oz.Cz;var m=g+".Year",n=l+"."+e.i.C.u.bl;var p=this.$n(m,n);p.type=k.j.Ic.Pa;void 0!==b.folder&&(p.Xc=b.folder);e.w(b.interval)?p.interval=this.mapping.Ha(g,"interval","1d"):p.interval=b.interval;a.Rh(p);var q=this.tl(m+"."+n,n,1);q.type=k.j.rb.bl;p.Ng(q);this.jk.Ta(m,q);e.i.B.F.zg||this.Jo(m,n,k.j.Na.oc,b);p.inputType=b.type;m=g+".Month";n=l+"."+e.i.C.u.Ag;p=this.$n(m,n);void 0!==b.folder&&(p.Xc=b.folder);e.w(b.interval)?p.interval=this.mapping.Ha(g,"interval","1d"):p.interval=
b.interval;a.Rh(p);var t=this.tl(m+"."+n,n,1);t.type=k.j.rb.Ag;p.Ng(t);this.jk.Ta(m,q);e.i.B.F.zg||this.Jo(m,n,k.j.Na.oc,b);p.inputType=b.type;m=g+".Day";l=l+"."+e.i.C.u.Cm;p=this.$n(m,l);void 0!==b.folder&&(p.Xc=b.folder);e.w(b.interval)?p.interval=this.mapping.Ha(g,"interval","1d"):p.interval=b.interval;a.Rh(p);g=this.tl(m+"."+l,l,1);g.type=k.j.rb.Cm;p.Ng(g);this.jk.Ta(m,q);e.i.B.F.zg||this.Jo(m,l,k.j.Na.oc,b);p.inputType=b.type;this.$e.Ta(d,a)}Gpa(a,b,d,g){var l=b.uniqueName;const m=e.ia(b.caption)?
d:b.caption;e.i.B.F.zg?g?(l=this.Jo(l,m,k.j.Na.kb,b),e.ia(b.dimensionCaption)?e.ia(b.dimensionUniqueName)||(l.$h=b.dimensionUniqueName):l.$h=b.dimensionCaption,this.$e.Ta(d,l)):(g=this.$n(l,m),g.type=k.j.Ic.$p,void 0!==b.folder&&(g.Xc=b.folder),a.Rh(g),l=this.tl(l,m,1),l.type=k.j.rb.kb,g.Ng(l),this.$e.Ta(d,g),this.jk.Ta(d,g),g.inputType=b.type):(g=this.$n(l,m),g.type=k.j.Ic.$p,void 0!==b.folder&&(g.Xc=b.folder),a.Rh(g),a=this.tl(l,m,1),a.type=k.j.rb.kb,g.Ng(a),this.Jo(l,m,k.j.Na.kb,b),this.$e.Ta(d,
g),this.jk.Ta(d,g),g.inputType=b.type)}Epa(a,b,d){var g=b.uniqueName,l=e.ia(b.caption)?d:b.caption,m=this.$n(g,l);m.type=k.j.Ic.Pa;void 0!==b.folder&&(m.Xc=b.folder);a.Rh(m);a=this.tl(g,l,1);a.type=k.j.rb.Ag;m.Ng(a);e.i.B.F.zg||this.Jo(g,l,k.j.Na.oc,b);this.$e.Ta(d,m);this.jk.Ta(d,m);m.inputType=b.type}Qpa(a,b,d){var g=b.uniqueName,l=e.ia(b.caption)?d:b.caption,m=this.$n(g,l);m.type=k.j.Ic.zu;void 0!==b.folder&&(m.Xc=b.folder);a.Rh(m);a=this.tl(g,l,1);a.type=k.j.rb.Cm;m.Ng(a);e.i.B.F.zg||this.Jo(g,
l,k.j.Na.oc,b);this.$e.Ta(d,m);this.jk.Ta(d,m);m.inputType=b.type}kpa(a,b,d){var g=b.uniqueName,l=e.ia(b.caption)?d:b.caption,m=this.$n(g,l);m.type=k.j.Ic.Pa;void 0!==b.folder&&(m.Xc=b.folder);a.Rh(m);a=this.tl(g,l,1);a.type=k.j.rb.Pa;m.Ng(a);e.i.B.F.zg||this.Jo(g,l,k.j.Na.Pa,b);e.w(b.interval)?m.interval=this.mapping.Ha(g,"interval","1d"):m.interval=b.interval;this.$e.Ta(d,m);this.jk.Ta(d,m);m.inputType=b.type}Npa(a,b,d){var g=b.uniqueName,l=e.ia(b.caption)?d:b.caption,m=this.$n(g,l);m.type=k.j.Ic.$p;
void 0!==b.folder&&(m.Xc=b.folder);a.Rh(m);a=this.tl(g,l,1);a.type=k.j.rb.bc;m.Ng(a);e.i.B.F.zg||this.Jo(g,l,k.j.Na.bc,b);this.$e.Ta(d,m);this.jk.Ta(d,m);m.inputType=b.type}mpa(a,b,d){var g=b.uniqueName,l=e.ia(b.caption)?d:b.caption,m=this.$n(g,l);m.type=k.j.Ic.Pa;a.Rh(m);a=this.tl(g,l,1);a.type=k.j.rb.Cc;m.Ng(a);e.i.B.F.zg||this.Jo(g,l,k.j.Na.Cc,b);e.w(b.interval)?m.interval=this.mapping.Ha(g,"interval","1s"):m.interval=b.interval;this.$e.Ta(d,m);this.jk.Ta(d,m);m.inputType=b.type}yP(a){var b;for(b in a)if("string"===
typeof a[b]||"number"===typeof a[b]){var d=k.j.input.qa.uGa(a[b]);d==k.j.input.qa.Pa&&(d=e.i.B.F.VJ);this.xP(b,d)}else if(e.w(a[b]))this.xP(b,k.j.input.qa.Sc);else if(a[b]instanceof Date)this.xP(b,e.i.B.F.VJ);else if(Array.isArray(a[b]))this.xP(b,k.j.input.qa.Dga);else if(a[b].hasOwnProperty("formula"))e.ia(a[b].formula)||this.it(a[b],b);else{var g=k.j.input.qa.Sc;a[b].hasOwnProperty("type")&&(d=String(a[b].type).trim().toLowerCase(),k.j.input.qa.valid(d),g=k.Se.type(d));var l=!1;a[b].hasOwnProperty("isMeasure")&&
(l=e.P.Rc(String(a[b].isMeasure).trim()));d={};for(var m in a[b])d[m]=a[b][m];d.type=g;this.LE(d,b,l)}this.Nd=!0}it(a,b){b=new k.O.Zq(b,void 0==a.caption?b:a.caption);b.je=a.formula;b.Dn=void 0==a.calculateNaN?b.Dn:a.calculateNaN;a.hasOwnProperty("grandTotalCaption")&&(b.hp=a.grandTotalCaption);e.i.B.F.FM&&(a=w.uN.NP(b.je,b.A),0==a.Wv&&e.Wa(a.errorMessage));e.i.Ua.V().it(b)}xP(a,b){this.LE({A:a,caption:a,WJ:a,type:b},a,!1)}LE(a,b="",d=!1){var g={},l;for(l in a)g[l]=a[l];g.hasOwnProperty("uniqueName")||
(g.uniqueName=b);g=this.mapping.x0(b,g);""===b?b=g.uniqueName:g.hasOwnProperty("uniqueName")&&b!=g.uniqueName&&(b=g.uniqueName);"[Measures]"===b.substr(0,10)&&(k.Se.hD=!1);e.w(g.hierarchy)||g.type===k.j.input.qa.RD||(g.levelType=g.type===k.j.input.qa.Ue?k.j.input.qa.Sc:g.type,g.type=k.j.input.qa.Ue);g.type===k.j.input.qa.Ue&&!1===k.external.Kc.O.Up.TK&&(g.type=k.j.input.qa.Sc,g.hasOwnProperty("level")&&(g.caption=g.level),delete g.hierarchy,delete g.level,delete g.parent);a=g.type;var m;g.hasOwnProperty("dimensionUniqueName")?
m=this.bp(g.dimensionUniqueName):a===k.j.input.qa.Ue&&g.hasOwnProperty("hierarchy")&&(m=this.bp(g.hierarchy));e.i.B.F.zg&&d||void 0!==m||(m=k.O.fz.yb(g),g.uniqueName=k.Se.pg(g.uniqueName,g.caption),g.hasOwnProperty("dimensionUniqueName")&&(m.caption=m.A=g.dimensionUniqueName),g.hasOwnProperty("dimensionCaption")&&(m.caption=g.dimensionCaption),a===k.j.input.qa.Ue&&g.hasOwnProperty("hierarchy")&&!g.hasOwnProperty("dimensionUniqueName")&&(m.A=g.hierarchy),this.jt(m));this.types[b]=a;switch(a){case k.j.input.qa.Sc:this.E8(m,
g,b);break;case k.j.input.qa.kb:this.Gpa(m,g,b,d);break;case k.j.input.qa.Ag:this.Epa(m,g,b);break;case k.j.input.qa.Jm:this.Qpa(m,g,b);break;case k.j.input.qa.Pa:this.ipa(m,g,b);break;case k.j.input.qa.Cc:this.mpa(m,g,b);break;case k.j.input.qa.bc:this.Npa(m,g,b);break;case k.j.input.qa.Ue:this.A8(m,g,b);break;case k.j.input.qa.Zp:case k.j.input.qa.Ao:this.tpa(m,g,b);break;case k.j.input.qa.Uk:this.kpa(m,g,b);break;case k.j.input.qa.Mw:this.id=b;this.$e.Ta(b,null);break;case k.j.input.qa.C4:this.qQ=
b;break;case k.j.input.qa.z5:break;case k.j.input.qa.RD:this.hpa(g,b);break;default:this.E8(m,g,b)}}ic(a,b,d,g,l){if(e.i.B.F.zg&&d===k.j.input.qa.kb)l.push(e.P.d3(a.value));else{var m=b=this.GB(b);if(!e.w(m)){if(d!==k.j.input.qa.Pa&&d!==k.j.input.qa.Ue)var n=m.ic(a,d);else if(d===k.j.input.qa.Pa){m=b.Va.ea(0);var p=m.ic(a,d)}else d===k.j.input.qa.Ue&&(n=b.hierarchy.ta.ea(b.xb-1),0<n.xb&&void 0===a.parent&&void 0===a.Hh&&(a.parent=b.hierarchy.ya(g[this.jk.indexOf(n.A)])),a.level=b,n=b.hierarchy.ic(a,
d));switch(d){case k.j.input.qa.kb:e.i.B.F.zg||g.push(n.ordinal);l.push(e.P.d3(a.value));break;case k.j.input.qa.Cc:case k.j.input.qa.Uk:g.push(n.ordinal);e.i.B.F.zg||l.push(n.sc);break;case k.j.input.qa.Zp:1===n.level.xb?(g.push(n.ordinal),g.push(NaN),g.push(NaN)):(g.push(n.parent.parent.ordinal),g.push(n.parent.ordinal),g.push(n.ordinal));e.i.B.F.zg||l.push(1);break;case k.j.input.qa.Ao:1===n.level.xb?(g.push(n.ordinal),g.push(NaN),g.push(NaN),g.push(NaN)):(g.push(n.parent.parent.parent.ordinal),
g.push(n.parent.parent.ordinal),g.push(n.parent.ordinal),g.push(n.ordinal));e.i.B.F.zg||l.push(1);break;case k.j.input.qa.Pa:for(a=0;a<p.length;a++)g.push(p[a].ordinal),e.i.B.F.zg||l.push(1);break;case k.j.input.qa.bc:g.push(n.ordinal);e.i.B.F.zg||l.push(n.sc);break;case k.j.input.qa.Ue:g.push(n.ordinal);e.i.B.F.zg||1===n.level.xb&&l.push(1);break;default:g.push(n.ordinal),e.i.B.F.zg||(e.ia(a.value)?l.push(NaN):l.push(1))}}}}hpa(a,b){this.o_=!0;a=a.hierarchy;e.w(this.De[a])&&(this.De[a]=[]);this.$e.Ta(b,
null);this.De[a].push(b)}}f.O5=c})(h.O||(h.O={}))})(k.local||(k.local={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){this.iH=1048576;this.cS=!1;this.qx=this.Ki=this.xJ=0;this.encoding="UTF-8";this.Mfa=()=>this.ICa();this.$i=()=>this.zp()}mM(c,a){this.timer=new w.Ns(100,1E5);this.timer.N(w.Ve.Zk,this.Mfa);this.timer.N(w.Ve.$k,this.$i);this.timer.start();this.na=new y.U6;this.na.responseType="blob";this.na.N(r.da.zD,()=>this.tAa());this.na.N(r.da.ge,b=>this.Joa(b));this.na.N(r.da.Dc,()=>this.Hoa());this.na.N(r.da.Ca,b=>this.Ioa(b));this.Xi(this.na,a);this.na.load(c)}Joa(c){const a=
c.data;404==a.target.status?this.d1(c):(this.Ki=a.loaded,this.xJ=a.total,this.EBa(a))}Hoa(){if(!e.w(this.na)&&!e.w(this.na.response)){this.cS=!0;this.qx=0;this.xJ=this.na.response.size;this.encoding=this.na.Ova();var c=new FileReader;c.addEventListener("loadend",()=>b());var a=null,b=()=>{this.jCa(c.result,()=>{this.qx+=a.size;d()},a.size==this.xJ)},d=()=>{this.qx>=this.xJ?this.iCa():(a=this.na.response.slice(this.qx,this.qx+this.iH),c.readAsText(a,this.encoding))};d()}}Ioa(c){this.cf();this.d1(c)}Xi(c,
a){if(!e.w(a))for(var b in a)a.hasOwnProperty(b)&&c.wc.push(new y.V6(b,a[b]))}ICa(){0<this.Ki||this.cS?this.cf():null!=this.timer&&e.wa(!0,e.i.C.u.Bf,e.P.bind(e.i.C.u.Gs,w.Ub.format(this.timer.zv/10,new e.i.cc.X.ef,!1,!1,1)))}zp(){this.timer.Mk&&this.cf()}cf(){this.timer&&this.timer.Mk&&(this.timer.stop(),this.timer.qb(w.Ve.Zk,this.Mfa),this.timer.qb(w.Ve.$k,this.$i))}}h.Sma=f})(k.local||(k.local={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends h.FN{constructor(){super();this.Ae=null;this.fn="";this.tm="\n";this.kp=!0;this.Fa=k.j.sa.qh}get ib(){return e.ia(this.filename)&&(null==this.Ld||0==this.Ld)}set ib(a){}get Wt(){return!e.w(this.data)}set Wt(a){}isEqual(a){return a==this?!0:super.isEqual(a)}static yb(a){var b=new c;e.w(a.browseForFile)||(b.Ld=a.browseForFile);e.w(a.requestPermission)||(b.requestPermission=a.requestPermission);e.w(a.filename)||""==a.filename||(b.filename=
a.filename);e.w(a.fieldSeparator)||(b.Ae=a.fieldSeparator);e.w(a.thousandSeparator)||(b.fn=a.thousandSeparator);e.w(a.recordsetDelimiter)||(b.tm=a.recordsetDelimiter);e.w(a.requestHeaders)||(b.wc=a.requestHeaders);e.w(a.ignoreQuotedLineBreaks)||(b.kp=a.ignoreQuotedLineBreaks);e.w(a.mapping)||(b.mapping=a.mapping instanceof k.O.Bo?a.mapping:new k.O.Bo(a.mapping));e.w(a.withCredentials)||(b.withCredentials=a.withCredentials);return b}static Pj(a){var b=new c,d=a.find("params");0!=d.find("param[name=ignoreQuotedLineBreaks]").length&&
(b.kp=e.P.Rc(d.find("param[name=ignoreQuotedLineBreaks]").text()));a=a.find("dataSource");0!=a.find("browseForFile").length&&(b.Ld=e.P.Rc(a.find("browseForFile").text()));0!=a.find("filename").length&&(b.filename=a.find("filename").text());0!=a.find("fieldSeparator").length&&(b.Ae=a.find("fieldSeparator").text());0!=a.find("thousandSeparator").length&&(b.fn=a.find("thousandSeparator").text());0!=a.find("recordsetDelimiter").length&&(b.tm=a.find("recordsetDelimiter").text());0!=a.find("ignoreQuotedLineBreaks").length&&
(b.kp=e.P.Rc(a.find("ignoreQuotedLineBreaks").text()));return b}so(a=!1){var b=y.aa.create("<dataSource/>");b.attr("type",this.Fa);(a||this.Ld)&&b.append(y.aa.create("<browseForFile/>").text(this.Ld));this.filename&&b.append(y.aa.create("<filename/>").append(y.aa.th(this.filename)));this.Ae&&b.append(y.aa.create("<fieldSeparator/>").append(y.aa.th(this.Ae)));this.fn&&b.append(y.aa.create("<thousandSeparator/>").append(y.aa.th(this.fn)));this.tm&&"\n"!=this.tm&&b.append(y.aa.create("<recordsetDelimiter/>").append(y.aa.th(this.tm)));
(a||0==this.kp)&&b.append(y.aa.create("<ignoreQuotedLineBreaks/>").text(this.kp));return b}Qa(a=!1){var b={};b.type=this.Fa;if(a||this.Ld)b.browseForFile=this.Ld;this.filename&&(b.filename=this.filename);this.Ae&&(b.fieldSeparator=this.Ae);this.fn&&(b.thousandSeparator=this.fn);this.tm&&"\n"!=this.tm&&(b.recordsetDelimiter=this.tm);if(a||0==this.kp)b.ignoreQuotedLineBreaks=this.kp;if(!this.mapping.ib||this.mapping.mp)b.mapping=this.mapping.Qa(!0);if(a||this.withCredentials)b.withCredentials=this.withCredentials;
return b}clone(){var a=new c;a.Fa=this.Fa;this.Ld&&(a.Ld=this.Ld);this.filename&&(a.filename=this.filename);this.Ae&&(a.Ae=this.Ae);this.fn&&(a.fn=this.fn);this.tm&&"\n"!=this.tm&&(a.tm=this.tm);0==this.kp&&(a.kp=this.kp);if(!this.mapping.ib||this.mapping.mp)a.mapping=this.mapping.clone(this.Fa);this.withCredentials&&(a.withCredentials=this.withCredentials);return a}}f.WM=c})(h.csv||(h.csv={}))})(k.local||(k.local={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends h.FN{constructor(){super();this.dca=this.Mj=!1;this.dZ=0;this.Fa=k.j.sa.aq}get ib(){return e.ia(this.filename)&&(null==this.Ld||0==this.Ld)&&(null==this.Mj||0==this.Mj)}set ib(a){}get Wt(){return this.Mj}set Wt(a){}isEqual(a){return super.isEqual(a)&&0==this.Mj&&0==a.Mj}static yb(a){var b=new c;e.w(a.browseForFile)||(b.Ld=a.browseForFile);e.w(a.filename)||""==a.filename||(b.filename=a.filename);e.w(a.requestHeaders)||(b.wc=a.requestHeaders);
e.w(a.embedded)||(b.Mj=a.embedded);e.w(a.embeddedDataOffset)||(b.dZ=a.embeddedDataOffset);e.w(a.embeddedDataToLoad)||(b.B$=a.embeddedDataToLoad);e.w(a.isOCSV2Data)||(b.dca=a.isOCSV2Data);e.w(a.mapping)||(b.mapping=a.mapping instanceof k.O.Bo?a.mapping:new k.O.Bo(a.mapping));return b}so(a=!1){var b=y.aa.create("<dataSource/>");b.attr("type",this.Fa);(a||this.Ld)&&b.append(y.aa.create("<browseForFile/>").text(this.Ld));this.filename&&b.append(y.aa.create("<filename/>").append(y.aa.th(this.filename)));
this.Mj&&b.append(y.aa.create("<embedded/>").text(this.Mj));return b}static Pj(a){var b=new c;0!=a.find("browseForFile").length&&(b.Ld=e.P.Rc(a.find("browseForFile").text()));0!=a.find("filename").length&&(b.filename=a.find("filename").text());0!=a.find("embedded").length&&(b.Mj=e.P.Rc(a.find("embedded").text()));return b}Qa(a=!1){var b={};b.type=this.Fa;if(a||this.Ld)b.browseForFile=this.Ld;this.filename&&(b.filename=this.filename);this.Mj&&(b.embedded=this.Mj);return b}clone(){var a=new c;a.Fa=
this.Fa;this.Ld&&(a.Ld=this.Ld);this.filename&&(a.filename=this.filename);this.Mj&&(a.Mj=this.Mj);return a}}f.PD=c})(h.csv||(h.csv={}))})(k.local||(k.local={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(){this.fn="";this.pZ=[".csv"];this.Cta=/""/g;this.Aqa=()=>this.j7();this.Qk=()=>this.fs();this.$i=()=>this.zp();this.Gh=0;this.$t=!1;this.c3=null;this.Tda=0;this.Aa=k.Sa.V();this.pZ=[".csv"]}clear(){this.data=[];this.rv=this.Gh=this.gB=this.Ki=0;this.tm="\n";this.FQ='"';this.eF=[];this.cg=[];this.WK=this.dL=this.lp=this.bS=!1;this.ee="";this.mb=0;this.Yq=100;null!=this.na&&(this.na.fe(),this.na.dispose(),this.na=null);this.cf();
e.wa(!1)}load(b,d,g,l,m){try{this.clear(),this.filename=b.filename,this.Hb=d,this.Ma=g,this.ye=l,this.VE=m,this.Ae=b.Ae,this.fn=b.fn,this.kp=b.kp,b.bL?this.BZ():(void 0!==this.filename&&""!=this.filename&&"()"!=this.filename.substr(-2)||!1!==b.Ld?this.filename=w.Vw.WF(this.filename,!e.i.B.F.GP):this.zl(),!0===b.Ld?this.a9(b):(e.wa(!0,e.i.C.u.Bf),this.p0(this.filename,b.wc,b.withCredentials)))}catch(n){console.error(n.stack),this.zl()}}BZ(){this.ps();this.Ae=",";this.CC("Browser, Duration, Page Views, New Session",
"Chrome, 100, 3, true",new k.O.Bo({Browser:{type:"string"},Duration:{type:"time"},"Page Views":{type:"number"},"New Session":{type:"number"}}));this.bS=!0;this.Aa.ra.BZ(()=>{this.Cy()})}requestPermission(){e.Wa(e.i.C.u.fla,e.i.C.u.Oga,e.Bb.xN,[e.i.C.u.Ml,e.i.C.u.Pga],[this.Aqa])}a9(b){!0===b.requestPermission?this.requestPermission():this.j7()}j7(){this.Lv=new y.q5;this.Lv.N(r.da.eq,()=>this.WAa());this.Lv.N(r.da.Dc,()=>this.zL());this.Lv.N(r.da.ge,b=>this.AL(b));this.Lv.N(r.da.wU,()=>this.UAa());
this.Lv.N(r.da.Ca,()=>this.zl());this.Lv.Z8(this.pZ)}WAa(){e.wa(!0,e.i.C.u.Bf,"",!0,!0);this.na=this.Lv;this.Lv.load();this.Lv=null}p0(b,d=null,g=!1){this.timer=new w.Ns(100,1E5);this.timer.N(w.Ve.Zk,this.Qk);this.timer.N(w.Ve.$k,this.$i);this.timer.start();var l=new y.Ej;l.dataType=y.nz.Qz;l.N(r.da.Dc,()=>this.zL());l.N(r.da.zD,()=>this.N0());l.N(r.da.ge,m=>this.AL(m));l.N(r.da.Ca,m=>this.zl(m));l.Xi(d);l.withCredentials=g;l.load(b);this.na=l}fs(){0<this.Ki||this.lp||this.dL?this.cf():null!=this.timer&&
e.wa(!0,e.i.C.u.Bf,e.P.bind(e.i.C.u.Gs,w.Ub.format(this.timer.zv/10,new e.i.cc.X.ef,!1,!1,1)))}zp(){this.timer.Mk&&this.cf()}cf(){this.timer&&this.timer.Mk&&(this.timer.stop(),this.timer.qb(w.Ve.Zk,this.Qk),this.timer.qb(w.Ve.$k,this.$i))}UAa(){null!=this.VE&&(this.VE(),this.VE=null);this.clear()}zl(b=null){e.wa(!1);var d="",g="";null!=b&&null!=b.target&&null!=b.target.response&&""!=b.target.response&&(g=e.i.Vb.Mc(b.target.response),d=g=700<g.length?g.substr(0,700):g,g=e.P.bind(e.i.C.u.PN,g).replace(/'/g,
""));0==this.dL&&(this.dL=!0,b=e.i.Vb.valid(this.filename)?this.filename:e.i.Vb.Mc(this.filename),e.Wa(e.P.bind(e.i.C.u.VH,b)+g,e.i.C.u.Ca,e.Bb.Ca));null!=this.Ma&&(this.Ma(d),this.Ma=null);this.cf()}R0(){e.wa(!1);e.Wa(e.P.bind(e.i.C.u.W5),e.i.C.u.Ca,e.Bb.Ca)}AL(b){var d=b.data;if(404==d.target.status)this.zl(b);else if(!e.w(this.na))try{var g=this.na.response;if(null!=g&&0!=g.length&&(this.Ki!=d.loaded||this.gB!=g.length)&&(this.WK=0<d.total&&d.lengthComputable,this.gB=g.length,this.Ki=d.loaded,
1E4<g.length-this.Gh||d.loaded==d.total))if(this.Ki>e.i.ua.rn.IN)e.Wa(e.i.ua.pa.J(e.i.ua.pa.dD),e.i.ua.pa.J(e.i.ua.pa.fo)),e.wa(!1),null!=this.Ma&&(this.Ma(),this.Ma=null),this.cf();else{this.lp=d.loaded==d.total&&d.loaded>=this.na.response.length;void 0===g||w.Dd().Si||this.Nq(g.substring(this.Gh,g.length));this.Gh=g.length;var l=0==d.total?e.P.bind(e.i.C.u.Nl,w.Ub.og(d.loaded)):e.P.bind(e.i.C.u.MD,w.Ub.og(d.loaded),w.Ub.og(d.total),(d.loaded/d.total*100).toFixed(0));e.wa(!0,e.i.C.u.Bf,l)}}catch(m){console.error(m.stack),
this.zl()}}N0(){e.wa(!0,e.i.C.u.Bf,"")}ps(){null!=this.ye&&(this.ye(),this.ye=null)}zL(){if(!e.w(this.na)){try{if(0==this.Gh||!this.WK||w.Dd().Si||this.Gh<=this.na.response.length){var b=this.na.response;e.ia(b)&&!this.$t?this.Cy():b.length>e.i.ua.rn.IN?(e.Wa(e.i.ua.pa.J(e.i.ua.pa.dD),e.i.ua.pa.J(e.i.ua.pa.fo)),e.wa(!1),null!=this.Ma&&(this.Ma(),this.Ma=null),this.clear()):(this.lp=!0,this.$t)?this.WK||(this.Gh<b.length?(this.Nq(b.substring(this.Gh,b.length)),this.Gh=b.length):this.data.push(this.ee)):
this.Nq(b)}}catch(d){console.error(d.stack),this.zl()}this.na=null}}static Hba(b){b=b.toLowerCase();return-1!=b.indexOf("<html>")||-1!=b.indexOf("<config>")||0==b.trim().length||-1!=b.indexOf("<!doctype")?(e.Wa(e.i.C.u.cla,e.i.C.u.Ca,e.Bb.Ca),!1):!0}Nq(b){this.$t=!0;this.ps();0===this.rv&&-1===b.indexOf("\n")&&-1!=b.indexOf("\r")&&(this.tm="\r");e.w(this.Ae)&&(this.Ae=this.ara(-1==b.indexOf("\n")&&-1==b.indexOf("\r")?b:b.substring(0,b.indexOf(this.tm))));this.appendData(b);!1===this.bS&&(1<this.data.length||
e.i.B.F.$C)&&(this.CC(this.data.shift(),this.data[0],this.Aa.ha.mapping),this.Aa.ra.zG(),this.bS=!0);0!==this.Gh&&!w.Dd().Si||this.dL||w.al.Cn({po:()=>this.lu(),Je:()=>this.Cy()})}Cy(){e.wa(!1);this.bS?null!=this.Hb&&this.Hb():(e.i.B.F.$C||e.Wa(e.i.C.u.ND,e.i.C.u.Ca,e.Bb.Tk),null!=this.Ma&&(this.Ma(),this.Ma=null));this.clear()}CC(b,d,g){if("string"==typeof b&&!c.Hba(b)||"object"==typeof b&&!c.Hba(b.toString()))this.zl();else try{e.w(this.Ae)&&(this.Ae=",");var l="string"==typeof b?c.Afa(b,this.Ae):
b,m="string"==typeof d?c.Afa(d,this.Ae):e.w(d)?[]:d;this.Jn=[];for(b=0;b<l.length;b++){var n=this.dR(m[b]),p=this.Ov(l[b],n,0==m.length),q=this.WZ(l[b],n,0==m.length),t=this.tK(l[b]),x=this.sK(t),z={type:p,uniqueName:t,caption:this.Lva(l[b])||x,isMeasure:q};void 0!==g&&(z=g.x0(t,z),e.w(g.Ha(t,"hierarchy"))||z.type===k.j.input.qa.RD||(z.type="level"));if(!z.hasOwnProperty("visible")||!1!==z.visible){this.eF[b]=z.type;this.cg[b]=z.isMeasure;this.Jn[b]=t;if(p===k.j.input.qa.Ue){var A=t.split(":");z.hierarchy=
A[0];z.level=A.pop();z.parent=A.join(":")}this.Aa.O.LE(z,t,q)}}}catch(B){console.error(B.stack),this.R0()}}dR(b){void 0!==b&&null!==b&&"string"==typeof b&&(this.fn&&0<this.fn.length&&(e.w(this.c3)&&(this.c3=new RegExp(this.fn,"g")),b=b.replace(this.c3,"")),b=b.replace(",","."));return b}sK(b){var d=b.split(a.aH);if(1<d.length)return d[1];this.ey(b)&&(d=b.split(":"));return d[d.length-1]}tK(b){b=b.trim().split(a.aH)[0];b=this.Y1(b);if(-1<this.Jn.indexOf(b)){for(var d=1,g=b;-1<this.Jn.indexOf(g);)g=
b+d,d++;b=g}return b}Lva(b){b=b.split(a.aH);return 1<b.length?b[1]:null}Y1(b){return b.replace(/^(\+|dt\+|t\+|n\+|-|ds\+|d\+|m\+|w\+|D\+|D4\+|url\+|img\+|id\+)/,"")}Ov(b,d,g){var l=k.j.input.qa.kb;b=b.trim();if(e.w(d)&&!g)return k.j.input.qa.Sc;"+"===b.charAt(0)?l=k.j.input.qa.Sc:"t+"===b.substr(0,2)?l=k.j.input.qa.bc:"dt+"===b.substr(0,3)?l=k.j.input.qa.Cc:"n+"===b.substr(0,2)?l=k.j.input.qa.kb:"-"===b.charAt(0)?l=k.j.input.qa.kb:"ds+"===b.substr(0,3)?l=k.j.input.qa.Uk:"d+"===b.substr(0,2)?l=k.j.input.qa.Pa:
"m+"===b.substr(0,2)?l=k.j.input.qa.Ag:"w+"===b.substr(0,2)?l=k.j.input.qa.Jm:"D+"===b.substr(0,2)?l=k.j.input.qa.Zp:"D4+"===b.substr(0,3)?l=k.j.input.qa.Ao:"id+"===b.substr(0,3)?l=k.j.input.qa.Mw:""===d||void 0===d?l=k.j.input.qa.Sc:isNaN(Number(d))&&(l=e.P.H_(d)?e.i.B.F.VJ:k.j.input.qa.Sc);l===k.j.input.qa.Sc&&this.ey(b)&&(l=k.j.input.qa.Ue);return l}WZ(b,d,g){return!e.i.B.F.zg||e.w(d)&&!g?!1:"-"===b.trim().charAt(0)}ey(b){"+"===b.charAt(0)&&(b=b.substr(1));return 1<b.split(":").length&&-1<this.Jn.indexOf(b.split(":")[0].trim())}lu(){if(this.mb>=
this.data.length)return this.lp;var b=this.data[this.mb];if(!e.ia(b)&&this.Jn){b=e.P.trim(b,this.Ae);if(b.split(this.Ae).length<this.Jn.length)for(var d=b.split(this.Ae).length;d<this.Jn.length;d++)b=b.concat(this.Ae);b+=" ";var g=!1,l="",m=0,n=[],p=[],q;for(d=0;d<b.length;d++){var t=b.charAt(d);d===b.length-1||t===this.Ae&&!g?(d===b.length-1&&(l+=t),l=l.trim(),l=l.replace("\r",""),l.charAt(0)===this.FQ&&l.charAt(l.length-1)===this.FQ&&(l=l.slice(1,l.length-1),l=l.replace(this.Cta,'"')),this.eF[m]===
k.j.input.qa.Mw&&(q=l),void 0!==this.Jn[m]&&(this.eF[m]===k.j.input.qa.kb&&(l=this.dR(l)),g=new k.O.be({value:l}),this.Aa.O.ic(g,this.Jn[m],this.eF[m],n,p)),g=!1,l="",m++):t===this.FQ?(l+=t,g=!g):l+=t}this.Aa.ra.insert(n,p,q);0===this.mb%1E3&&this.lp&&200<w.nf()-this.Tda&&(b=e.i.C.u.NN,d=(this.mb/this.data.length*100).toFixed(0),d=e.P.bind(e.i.C.u.ON,w.Ub.Qx(this.mb.toFixed(0)),w.Ub.Qx(this.data.length.toFixed(0)),d),e.wa(!0,b,d),this.Tda=w.nf())}this.mb++;return this.lp&&this.mb>=this.data.length}appendData(b){void 0!==
this.ee&&0<this.ee.length&&(b=this.ee+b);b=this.LFa(b);for(var d=0;d<b.length;d++)this.data.push(b[d]);1!=this.lp&&(this.ee=this.data.pop())}LFa(b){var d=!1;b=b.split(this.tm);if(0==this.kp)for(var g=0;g<b.length;g++)d?(this.hca(b[g])&&(d=!1),b[g-1]+="<br/>"+b[g],b.splice(g,1),g--):this.hca(b[g])&&(d=!0);return b}hca(b){return 1==this.xsa(b,this.FQ)%2}xsa(b,d){var g=0;if(b)for(var l=0;l<b.length;l++)b.charAt(l)==d&&g++;return g}ara(b){if(void 0==this.Ae)return b.split(",").length>b.split(";").length?
",":";"}static Afa(b,d){if(null===b)return[];for(var g="",l=!1,m=!1,n=[],p=0;p<b.length;p++){var q=b.charAt(p);p===b.length-1||q===d&&!l?(p===b.length-1&&q===d?(n.push(g),g=""):p===b.length-1&&(g+=q),g=g.trim(),'"'===g.charAt(0)&&'"'===g.charAt(g.length-1)&&(g=g.slice(1,g.length-1)),l=m=!1,n.push(g),g=""):'"'===q?(m||(g+=q),l=!l,m=!0):(g+=q,m=!1)}return n}static aU(b){return b&&0<b.length?b:e.i.C.u.Bm}Ek(){}Dk(){}uy(){}Hp(){}NA(){return!1}cancel(){this.clear();this.ye=this.Ma=this.Hb=null}}f.BU=c;
class a{}a.CJa="N";a.FLOAT="F";a.zHa="|";a.DJa="\n";a.aH="+T+";f.y4=a})(h.csv||(h.csv={}))})(k.local||(k.local={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(){this.rW=!1;this.o7=0;this.xH=",";this.EV="\n";this.Ef=k.Sa.V();this.mq=0;this.Q7=this.P7=!1;this.loa="\x3c!--";this.moa="--\x3e";this.sW="/**----**";this.koa="**--!--**/";this.JO=this.sr="";this.b8=0;this.Qk=()=>this.fs();this.$i=()=>this.zp();this.YDa=/%d%/g;this.$Da=/%q%/g;this.ZDa=/%n%/g}load(a,b,d,g,l){try{this.clear(),this.zb=a,this.iX=b,this.ye=g,this.VE=l,this.RO=d,this.kE=this.zb.filename,this.rW=this.zb.Mj,this.o7=
this.zb.dZ,this.p7=this.zb.B$,this.v7=!1,0==this.rW&&(this.kE=w.Vw.WF(this.kE,!e.i.B.F.GP)),this.rW&&null!=this.p7?this.bza(this.p7):(e.wa(!0,e.i.C.u.Bf),this.p0(this.kE,this.zb.wc))}catch(m){console.error(m.stack),this.zl(null,m.message?"Error: "+m.message:"")}}p0(a,b){this.Tl=new w.Ns(100,1E5);this.Tl.N(w.Ve.Zk,this.Qk);this.Tl.N(w.Ve.$k,this.$i);this.Tl.start();var d=new y.Ej;d.dataType=y.nz.Qz;d.N(r.da.Dc,()=>this.zL());d.N(r.da.zD,()=>this.N0());d.N(r.da.ge,g=>this.AL(g));d.N(r.da.Ca,g=>this.zl(g));
d.Xi(b);d.load(a);this.Sl=d}zp(){this.Tl.Mk&&this.cf()}cf(){this.Tl&&this.Tl.Mk&&(this.Tl.stop(),this.Tl.qb(w.Ve.Zk,this.Qk),this.Tl.qb(w.Ve.$k,this.$i))}e$(a){this.sr=-1<a.indexOf(this.sW)?this.sW:this.loa;this.JO=this.sr==this.sW?this.koa:this.moa}bza(a){this.Yq=100;this.Qh=0;try{var b=new e.br(a,this.o7,e.br.eH),d=b.byteLength>this.Yq?this.Yq:b.byteLength,g=b.lT(d);this.e$(g);g.substr(0,this.sr.length)==this.sr&&(this.FI="",this.FI+=g.substring(this.sr.length),this.Qh+=d,this.AI=b.byteLength,this.Qh<
this.AI?w.al.Cn({po:()=>this.Yya(b),Je:()=>this.Iq(),NX:b}):this.Iq())}catch(l){console.error(l.stack),this.zl(null,l.message?"Parsing error: "+l.message:"")}}Yya(a){var b=this.AI-this.Qh>this.Yq?this.Yq:this.AI-this.Qh;a=a.lT(b);this.Qh+=b;this.FI+=a;this.J2(this.Qh,this.AI);return this.Qh>=this.AI}J2(a,b){a=e.P.bind(e.i.C.u.R5,(a/b*100).toFixed(0));e.wa(!0,e.i.C.u.LD,a)}Iq(){e.wa(!1);this.gx=!0;this.RDa(this.FI)}ps(){null!=this.ye&&(this.ye(),this.ye=null)}RDa(a){a=e.P.trimLeft(a);this.j9(a)||this.Nq(a)}fs(){if(0<
this.Qh||this.gx||this.DW)this.cf();else{var a=this.Tl.zv/10;this.AW?(196<a&&(a=196),a=w.Ub.format(a/2,new e.i.cc.X.ef,!1,!1,1)+"%"):a=e.P.bind(e.i.C.u.Gs,w.Ub.format(a,new e.i.cc.X.ef,!1,!1,1));e.wa(!0,e.i.C.u.Bf,a)}}zl(a=null,b=""){e.wa(!1);var d="";""==b&&null!=a&&null!=a.target&&null!=a.target.response&&""!=a.target.response&&(d=e.i.Vb.Mc(a.target.response),b=d=700<d.length?d.substr(0,700):d,d=e.P.bind(e.i.C.u.PN,d).replace(/'/g,""));0==this.DW&&(this.DW=!0,a=e.i.Vb.valid(this.kE)?this.kE:e.i.Vb.Mc(this.kE),
e.Wa(e.P.bind(e.i.C.u.VH,a)+d,e.i.C.u.Ca,e.Bb.Ca));null!=this.Ma&&(this.Ma(b),this.Ma=null);this.clear()}j9(a){if(0==this.Q7&&22<a.length){if(this.uya(a)){if(0==this.Qxa(a.substr(0,a.indexOf(this.EV))))return this.rAa(),!0;this.Q7=!0;return!1}this.Lxa(a)?(w.al.cancel(),null!=this.Sl&&(this.Sl.fe(),this.Sl.dispose(),this.Sl=null),e.Wa("OCSV data format is deprecated. Please contact the support team for more information."),this.clear()):(this.clear(),(new f.BU).load(this.zb,this.iX,this.RO,this.ye,
null));return!0}return!1}AL(a){if(null!=this.Sl&&!(null!=a.data&&a.data.target&&400<=a.data.target.status)){a=a.data;try{var b=this.Sl.response;if(this.Qh!=a.loaded&&null!=b&&0!=b.length){this.zW=0<a.total&&a.lengthComputable;this.Qh=a.loaded;""==this.sr&&this.e$(b);var d=0;if(-1<(d=b.indexOf(this.sr)))b=b.substring(d+this.sr.length+1),this.v7=!0;else if(this.zb.dca&&!this.v7)return;b=e.P.trimLeft(b);if(!this.j9(b)&&(1E4<b.length-this.mq||a.loaded==a.total))if(this.Qh>e.i.ua.rn.KN)e.Wa(e.i.ua.pa.J(e.i.ua.pa.dD),
e.i.ua.pa.J(e.i.ua.pa.fo)),e.wa(!1),null!=this.Ma&&(this.Ma(),this.Ma=null),this.clear();else{this.gx=a.loaded==a.total&&a.loaded>=this.Sl.response.length;void 0===b||w.Dd().K_||this.Nq(b.substring(this.mq,b.length));this.mq=b.length;var g=0==a.total?e.P.bind(e.i.C.u.Nl,w.Ub.og(a.loaded)):e.P.bind(e.i.C.u.MD,w.Ub.og(a.loaded),w.Ub.og(a.total));e.wa(!0,e.i.C.u.Bf,g)}}}catch(l){console.error(l.stack),this.zl(null,l.message?"File loading error: "+l.message:"")}}}N0(){this.AW=!0;e.wa(!0,e.i.C.u.Bf,"")}zL(){if(null!=
this.Sl)try{if(0==this.mq||!this.zW||w.Dd().K_||this.mq<=this.Sl.response.length){var a=this.Sl.response,b=0;-1<(b=a.indexOf(this.sr))&&(a=a.substring(b+this.sr.length+1));if(this.Sl.response instanceof ArrayBuffer){var d=new e.br(this.Sl.response,0,e.br.eH);a=d.lT(d.byteLength)}this.AW=!0;a.length>e.i.ua.rn.KN?(e.Wa(e.i.ua.pa.J(e.i.ua.pa.dD),e.i.ua.pa.J(e.i.ua.pa.fo)),e.wa(!1),null!=this.Ma&&(this.Ma(),this.Ma=null),this.clear()):(this.gx=!0,this.P7)?this.zW?this.mq<a.length&&(this.Nq(a.substring(this.mq,
a.length)),this.mq=a.length):this.mq<a.length?(this.Nq(a.substring(this.mq,a.length)),this.mq=a.length):this.hk.push(this.hx):this.Nq(a)}}catch(g){console.error(g.stack),this.zl(null,g.message?"ERROR: "+g.message:"")}}Nq(a){this.P7=!0;this.ps();this.appendData(a);0==this.FW&&1<this.hk.length&&(this.hk.shift(),this.CC(this.hk.shift()),this.FW=!0,w.al.Cn({po:()=>this.lu(),Je:()=>this.Cy()}))}uya(a){return"string"==typeof a&&"___ocsv2___"==a.substr(0,11)}Lxa(a){try{if("string"==typeof a)for(var b=0;b<
a.length;b++){if(10>a.charCodeAt(b)||255<a.charCodeAt(b))return!0;if(50<b)return!1}if(a instanceof ArrayBuffer)return 1600085871!=(new e.br(a,0,e.br.eH)).hea();if(a instanceof e.br)return 1600085871!=a.hea()}catch(d){}return!1}appendData(a){void 0!==this.hx&&0<this.hx.length&&(a=this.hx+a);a=0<=a.indexOf(this.EV)?a.split(this.EV):[];for(var b=0;b<a.length;b++)e.ia(a[b])||this.hk.push(a[b]);1!=this.gx&&(this.hx=e.ia(a[a.length-1])?a.pop():this.hk.pop(),this.hx=this.hx==this.JO?this.hk.pop():this.hx)}Qxa(a){this.gW=
a.replace("___ocsv2___","").split("/")[1];return void 0!=this.gW&&1==e.P.$P(this.gW,e.Mh.Fw)?!1:!0}CC(a){a=a.split(this.xH);this.rr=[];for(var b=0;b<a.length;b++){var d=this.Ov(a[b]),g=this.tK(a[b]),l=this.sK(g);this.Ss[b]=d;this.rr.push(g);l={type:d,caption:l,A:g};d===k.j.input.qa.Ue&&(d=g.split(":"),l.hierarchy=d[0],l.level=d.pop(),l.parent=d.join(":"));this.Ef.O.LE(l,g)}this.Ef.ra.zG()}Ov(a){var b=k.j.input.qa.Oua(a);b===k.j.input.qa.Sc&&this.ey(a)&&(b=k.j.input.qa.Ue);return b}sK(a){var b=a.split(f.y4.aH);
if(1<b.length)return b[1];this.ey(a)&&(b=a.split(":"));return b[b.length-1]}ey(a){"+"==a.charAt(0)&&(a=a.substr(1));return 1<a.split(":").length&&-1<this.rr.indexOf(a.split(":")[0].trim())}tK(a){a=a.trim().split(f.y4.aH)[0];a=this.Y1(a);a=this.X9(a);if(-1<this.rr.indexOf(a)){for(var b=1,d=a;-1<this.rr.indexOf(d);)d=a+b,b++;a=d}return a}Y1(a){return a.replace(/^(\+|dt\+|t\+|n\+|-|ds\+|d\+|m\+|w\+|D\+|D4\+|url\+|img\+|id\+)/,"")}lu(){if(this.gf>=this.hk.length)return this.gx;var a=this.hk[this.gf];
if(!e.ia(a)&&void 0!==this.rr){if(a==this.JO)return!0;if(a.split(this.xH).length<this.rr.length)for(var b=a.split(this.xH).length;b<this.rr.length;b++)a=a.concat(this.xH);var d=[],g=[];a=a.split(this.xH);for(b=0;b<this.rr.length;b++)this.cDa(a[b],b,d,g);this.Ef.ra.insert(d,g)}this.gx&&200<w.nf()-this.b8&&(b=e.i.C.u.NN,d=(this.gf/this.hk.length*100).toFixed(0),d=e.P.bind(e.i.C.u.ON,w.Ub.Qx(this.gf.toFixed(0)),w.Ub.Qx(this.hk.length.toFixed(0)),d),e.wa(!0,b,d),this.b8=w.nf());this.hk[this.gf]="";this.gf++;
return this.gx&&this.gf>=this.hk.length}cDa(a,b,d,g){var l=!0,m=this.Ef.O.GB(this.rr[b]);if(null!==this.rr[b]){if(this.Ss[b]===k.j.input.qa.Sc||this.Ss[b]===k.j.input.qa.Jm||this.Ss[b]===k.j.input.qa.Ag){if("^"===a.charAt(0)){var n=parseInt(a.substring(1));!1===isNaN(n)&&(m=m.ya(n+1),null!=m&&(a=m.caption==e.i.C.u.Bj?"":m.caption,l=!1))}}else if(this.Ss[b]==k.j.input.qa.Ue)"^"===a.charAt(0)&&(n=parseInt(a.substring(1)),!1===isNaN(n)&&(m=m.hierarchy.ya(n+1),null!=m&&(a=m.caption==e.i.C.u.Bj?"":m.caption,
l=!1)));else if(this.Ss[b]===k.j.input.qa.Pa||this.Ss[b]===k.j.input.qa.Uk||this.Ss[b]===k.j.input.qa.Zp||this.Ss[b]===k.j.input.qa.Ao)a=1E3*parseInt(a),l=!1;l&&(a=this.X9(a));a=new k.O.be({value:a});this.Ef.O.ic(a,this.rr[b],this.Ss[b],d,g)}}X9(a){return a.replace(this.YDa,",").replace(this.$Da,'"').replace(this.ZDa,"\n")}Cy(){e.wa(!1);this.FW?this.Hb():(e.Wa(e.i.C.u.ND,e.i.C.u.Ca,e.Bb.Tk),this.Ma(),this.RO=null);this.clear()}rAa(){e.wa(!1);e.Wa(e.P.bind(e.i.C.u.dla,this.gW),e.i.C.u.Ca,e.Bb.Ca);
this.Ma();this.clear()}clear(){e.wa(!1);this.hk=[];this.JO=this.sr="";this.Qh=0;this.AW=!1;this.mq=0;this.Ss=[];this.zW=this.DW=this.gx=this.FW=!1;this.hx="";this.gf=0;this.Yq=100;null!=this.Sl&&(this.Sl.fe(),this.Sl.dispose(),this.Sl=null);this.cf()}Hb(){null!=this.iX&&this.iX()}Ma(a){null!=this.RO&&this.RO(a)}Ek(){}Dk(){}uy(){}Hp(){}NA(){return!1}cancel(){this.clear();this.ye=this.Ma=this.Hb=null}}f.Dla=c})(h.csv||(h.csv={}))})(k.local||(k.local={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends h.FN{constructor(){super();this.UG=this.Zqa=!1;this.Fa=k.j.sa.JSON}get ib(){return e.ia(this.filename)&&(null==this.Ld||0==this.Ld)&&e.w(this.data)}set ib(a){}get Wt(){return!e.w(this.data)}set Wt(a){}isEqual(a){return a==this?!0:super.isEqual(a)&&e.w(a.data)}static yb(a){var b=new c;e.w(a.browseForFile)||(b.Ld=a.browseForFile);e.w(a.requestPermission)||(b.requestPermission=a.requestPermission);e.ia(a.filename)||(b.filename=a.filename);
e.w(a.data)||(b.data=a.data);e.w(a.checkUpdates)||(b.Zqa=a.checkUpdates);e.w(a.requestHeaders)||(b.wc=a.requestHeaders);e.w(a.mapping)||(b.mapping=a.mapping instanceof k.O.Bo?a.mapping:new k.O.Bo(a.mapping));e.w(a.useStreamLoader)||(b.UG=a.useStreamLoader);e.w(a.withCredentials)||(b.withCredentials=a.withCredentials);return b}static Pj(a){var b=new c;0!=a.find("browseForFile").length&&(b.Ld=e.P.Rc(a.find("browseForFile").text()));0!=a.find("filename").length&&(b.filename=a.find("filename").text());
return b}so(a=!1){var b=y.aa.create("<dataSource/>");b.attr("type",this.Fa);(a||this.Ld)&&b.append(y.aa.create("<browseForFile/>").text(this.Ld));this.filename&&b.append(y.aa.create("<filename/>").append(y.aa.th(this.filename)));return b}Qa(a=!1){var b={};b.type=this.Fa;if(a||this.Ld)b.browseForFile=this.Ld;this.filename&&(b.filename=this.filename);e.w(this.data)||(b.data=this.data);if(!this.mapping.ib||this.mapping.mp)b.mapping=this.mapping.Qa(!0);if(a||this.UG)b.useStreamLoader=this.UG;if(a||this.withCredentials)b.withCredentials=
this.withCredentials;return b}clone(){var a=new c;a.Fa=this.Fa;this.Ld&&(a.Ld=this.Ld);this.filename&&(a.filename=this.filename);e.w(this.data)||(a.data=this.data);if(!this.mapping.ib||this.mapping.mp)a.mapping=this.mapping.clone(this.Fa);this.withCredentials&&(a.withCredentials=this.withCredentials);a.UG=this.UG;return a}}f.zN=c})(h.json||(h.json={}))})(k.local||(k.local={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends h.csv.BU{constructor(){super();this.iH=6553600;this.py=!0;this.N1=()=>this.aCa();this.isArray=!1;this.cT=this.xi=this.ML=0;this.pZ=[".js",".json"]}load(a,b,d,g,l){this.clear();this.jF=this.am=null;this.cT=this.xi=0;this.py=!0;this.Hb=b;this.Ma=d;this.ye=g;this.VE=l;!0===a.Ld?this.a9(a):void 0!==a.filename&&""!=a.filename&&"()"!=a.filename.substr(-2)?super.load(a,b,d,g,l):(this.lp=!0,this.wP(a.data))}aCa(){if(!(e.w(this.na)||e.w(this.na.response)||
!this.py&&this.na.response.length<this.iH/100)){var a=this.na.response.substr(this.Gh,this.iH);this.Nq(a);this.Gh+=a.length}}AL(a){var b=a.data;if(404==b.target.status)this.zl(a);else if(!e.w(this.na)&&!e.w(this.na.response))try{if(0!==this.na.response.length&&(this.Ki!=b.loaded||this.gB!=this.na.response.length))if(this.WK=0<b.total&&b.lengthComputable,this.gB=this.na.response.length,this.Ki=b.loaded,this.Ki>e.i.ua.rn.Hu)e.Wa(e.i.ua.pa.J(e.i.ua.pa.dD),e.i.ua.pa.J(e.i.ua.pa.fo)),e.wa(!1),null!=this.Ma&&
(this.Ma(),this.Ma=null),this.cf();else{this.lp=b.loaded==b.total;var d=0==b.total?e.P.bind(e.i.C.u.Nl,w.Ub.og(b.loaded)):e.P.bind(e.i.C.u.MD,w.Ub.og(b.loaded),w.Ub.og(b.total),(b.loaded/b.total*100).toFixed(0));e.wa(!0,e.i.C.u.Bf,d);this.WK&&b.total<5*this.iH||w.Dd().Si?this.py=!0:this.$t||(this.py=!1,this.N1())}}catch(g){console.error(g.stack),this.zl()}}zL(){if(!e.w(this.na)&&!e.w(this.na.response))try{if(this.lp=!0,0==this.Gh||!this.$t||this.py){var a=this.na.response;e.ia(a)&&!this.$t?this.MS():
a.length>e.i.ua.rn.Hu?this.DL():this.Nq(a);this.na=null}}catch(b){console.error(b.stack),this.zl()}}Nq(a){try{if(!this.py){if(0==a.length){e.Be(this.N1,10);return}a=this.JX(a)}var b=JSON.parse(a);e.w(b.items)||(b=b.items);if(e.w(b.length)){this.BL();return}}catch(d){this.BL();return}this.wP(b)}JX(a){void 0!==this.ee&&0<this.ee.length&&(a=this.ee+a);a=a.replace(/^\s+/,"");if("["==a[0]){a=a.substr(1).replace(/^\s+/,"");var b=a[0];a="["!=b&&"{"!=b?"["+a:a}else b=a.replace(/\s+$/,""),"]"==b[b.length-
1]&&(b=b.substr(0,b.length-1).replace(/\s+$/,""),a=b[b.length-1],a="]"!=a&&"}"!=a?b+"]":b);b=a.lastIndexOf("},");var d=a.lastIndexOf("],");e.ia(this.ee)&&-1===b&&-1===d?a="["+a:(b=b<d?d:b,this.ee=a.substr(b+2),a="["+a.substr(0,b+1)+"]");return a}wP(a){e.w(a.items)||(a=a.items);if((e.w(a)||1>a.length)&&!e.i.B.F.$C)!this.$t&&this.lp&&this.MS();else if(Array.isArray(a)){if(this.$t)this.data=this.data.concat(a.slice());else{this.$t=!0;this.ps();this.isArray=!e.w(a[1])&&Array.isArray(a[1]);var b=this.Aa.ha;
b.mapping.ib?a[0]&&Array.isArray(a[0])?this.CC(a[0],a[1]):this.Aa.O.yP(a[0]):this.Aa.O.yP(b.mapping.Qa());this.data=a.slice();(k.O.Bo.Xba(a[0])||this.isArray)&&this.data.shift()}0==this.data.length?this.py?this.sG():this.Cy(!0):this.py?w.al.Cn({po:()=>this.lu(),Je:()=>this.sG()}):this.dL||w.al.Cn({po:()=>this.lu(),Je:()=>this.Cy()})}else e.Wa(e.i.C.u.QN,e.i.C.u.Ca)}Cy(a=!1){a||e.w(this.na)||!(this.na.response.length>this.Gh)&&this.lp?(this.$t?(e.ia(this.ee)||("]"==this.ee.substr(-1)&&(this.ee=this.ee.substr(0,
this.ee.length-1).trim(),a=this.ee.substr(this.ee.length-1),this.ee="]"!=a&&"}"!=a?this.ee+"]":this.ee),a=JSON.parse(this.ee),this.data.push(a),this.lu()),null!=this.Hb&&(this.clear(),this.Hb())):(e.Wa(e.i.C.u.ND,e.i.C.u.Ca,e.Bb.Tk),null!=this.Ma&&(this.Ma(),this.Ma=null)),this.clear()):e.Be(this.N1,1)}Hd(a){if(!(e.w(a)||1>a.length))if(JSON.stringify(a).length>e.i.ua.rn.Hu)this.DL();else{this.Aa.ra.ora();for(var b=1<a.length?a[1]&&Array.isArray(a[1]):a[0]&&Array.isArray(a[0]),d=0;d<a.length;d++)this.insertData(a[d],
!0,b)}}sG(){this.data=null;e.wa(!1);e.rf(this.Hb)&&this.Hb();this.clear()}b_(){return w.Dd().Si?0==this.data.length?e.P.bind(e.i.C.u.wV,this.xi):e.P.bind(e.i.C.u.ON,this.xi,this.data.length,(this.xi/this.data.length*100).toFixed(0)):0!=this.Ki?e.P.bind(e.i.C.u.MD,w.Ub.og(this.Gh),w.Ub.og(this.Ki),(this.Gh/this.Ki*100).toFixed(0)):0==this.Ki&&0<this.data.length?e.P.bind(e.i.C.u.ON,this.xi,this.data.length,(this.xi/this.data.length*100).toFixed(0)):e.P.bind(e.i.C.u.Nl,w.Ub.og(this.Gh))}lu(){if(0===
this.xi%100&&200<w.nf()-this.ML){var a=e.i.C.u.NN,b=this.b_();1==this.lp&&e.wa(!0,a,b);this.ML=w.nf()}if(this.xi>=this.data.length)return!0;if(!e.w(this.data[this.xi])){if(e.i.ua.rn.Hu!=e.i.ua.rn.qI&&(this.cT+=JSON.stringify(this.data[this.xi]).length,this.cT>e.i.ua.rn.Hu&&15649632E5<Date.now()))return this.DL(),!0;this.insertData(this.data[this.xi],!1,this.isArray)}this.xi++;return this.xi>=this.data.length}p2(){this.am=this.Aa.O.KZ();this.jF=[];for(var a=0;a<this.am.length;a++)this.jF[a]=this.Aa.O.KF(this.am[a]);
this.Aa.ra.zG()}insertData(a,b,d){null===this.am&&this.p2();var g=[],l=[],m=!1;if(b){var n=this.Aa.O.qQ;""!==n&&(d?(m=this.am.indexOf(n),m=!e.w(a[m])):m=!e.w(a[n]))}for(var p=0;p<this.am.length;p++){n=this.am[p];var q=this.jF[p];if(d){var t=a.hasOwnProperty(""+p);var x=a[p]}else t=a.hasOwnProperty(n),x=a[n];if(q!==k.j.input.qa.RD)if(q===k.j.input.qa.Mw)var z=x;else if(!m){var A=void 0;this.Aa.O.o_&&(A=this.SZ(a,n,d));if(t){t=String(x);if(e.w(x)){var B=e.i.cc.bk.$f("");""!==B.ds&&(x=t=B.ds)}x=new k.O.be({De:A,
value:x,caption:t})}else x=new k.O.be({De:A});q===k.j.input.qa.Ue&&(A=this.Aa.O.GB(n),x.Hh=a[A.hierarchy.ta.ea(A.xb-1).A]);this.Aa.O.ic(x,n,q,g,l)}}b?m?this.Aa.ra.sta(z):this.Aa.ra.update(g,l,z):this.Aa.ra.insert(g,l,z)}SZ(a,b,d=!1){var g=void 0;(b=this.Aa.O.Daa(b))&&0<b.length&&b.forEach(l=>{var m=d?a[this.am.indexOf(l)]:a[l];e.w(m)||(e.w(g)&&(g={}),g[l]=m)});return g}DL(){e.Wa(e.i.ua.pa.J(e.i.ua.pa.dD),e.i.ua.pa.J(e.i.ua.pa.fo));e.wa(!1);e.rf(this.Ma)&&this.Ma();this.Hb=this.Ma=null;this.clear()}BL(){e.Wa(e.i.C.u.QN,
e.i.C.u.Ca);e.wa(!1);e.rf(this.Ma)&&this.Ma();this.Hb=this.Ma=null;this.clear()}MS(){e.i.B.F.$C||e.Wa(e.i.C.u.ND,e.i.C.u.Ca,e.Bb.Tk);e.wa(!1);e.rf(this.Ma)&&this.Ma();this.Hb=this.Ma=null;this.clear()}}f.Qja=c})(h.json||(h.json={}))})(k.local||(k.local={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(){this.NW=null;this.gf=0;this.lr=this.LO=this.hk=null;this.We=0}getData(b){this.k7=b;e.wa(!0,e.i.C.u.c6);this.MDa();this.aQ()}MDa(){this.lr=k.Sa.V().O.rc();this.NW={};this.Rl=[];for(this.We=0;this.We<this.lr.length;){var b=this.lr.ea(this.We);var d=k.Sa.V().O.Ke(b.A).type;d!=k.j.Na.oc&&d!=k.j.Na.Pa?this.QDa(k.Sa.V().O.Ke(b.A)):this.ODa(b);this.We++}this.xra(this.Rl)}xra(b){for(var d,g=0;g<b.length;g++)d={},b[g].type!=k.j.input.qa.Ue&&
(d.caption=b[g].caption),d.type=b[g].type,b[g].type==k.j.input.qa.Ue&&this.qDa(b[g],d),this.NW[b[g].A]=d}qDa(b,d){var g=b.A.split(":");1==g.length?(d.hierarchy=g[0],d.level=g[0]):(d.hierarchy=g[0],d.level=g[g.length-1],d.parent=g[g.length-2],b.A=d.level)}aQ(){this.gf=0;this.hk=[];this.hk.push(this.NW);this.Bn=k.Sa.V().ra.NK();w.al.Cn({po:()=>this.Xra(),Je:()=>this.AAa()})}Xra(){var b=w.nf();this.LO=[];this.Gj=this.We=0;for(var d=this.Bn&&this.Bn[0]?this.Bn[0].length:0;this.gf<d;){for(this.LO=[];this.We+
this.Gj<this.Bn.length&&this.We<this.Rl.length;)this.ic(this.Zra()),this.We++;this.gf++;this.hk.push(this.LO);this.Gj=this.We=0;if(100<w.nf()-b)break}this.BFa(this.gf,d);return this.gf>=d}ODa(b){var d=b.inputType;(d==k.j.input.qa.Ue||2<b.ta.length)&&d!=k.j.input.qa.Zp&&d!=k.j.input.qa.Ao?this.PDa(b):d==k.j.input.qa.Pa?(this.Rl.push(this.gQ(d,b.Uh.caption,!1,b.Uh.A)),this.We+=2):this.Rl.push(this.gQ(d,b.caption,!1,b.A))}PDa(b){b=b.ta;for(var d,g,l,m=1;m<b.length;m++){l=m;d=b.getItem(b.Ah(m));for(g=
d.caption;1<l;)l--,g=b.getItem(b.Ah(l)).A+":"+g;this.Rl.push(this.gQ(k.j.input.qa.Ue,d.caption,!1,g))}}ic(b){this.LO.push(b)}Zra(){var b=this.Rl[this.We].type;if(b!=k.j.input.qa.Pa)var d=this.lr.getItem(this.Rl[this.We].A).ya(this.Bn[this.We+this.Gj][this.gf]).caption;if(b==k.j.input.qa.kb)return null!=d?parseFloat(d):"";if(b==k.j.input.qa.Sc||b==k.j.input.qa.Jm||b==k.j.input.qa.Ag)return null!=d&&d!=e.i.C.u.Bj?d.toString():"";if(b==k.j.input.qa.Ue){b=this.lr.getItem(this.Rl[this.We].caption);for(var g=
0;g<b.ta.length-2;g++)this.ic(d),this.Rl[this.We],this.We++,d=null==this.Bn[this.We+this.Gj][this.gf]||""==this.Bn[this.We+this.Gj][this.gf]+""?"":b.ya(this.Bn[this.We+this.Gj][this.gf]).caption}else{if(b==k.j.input.qa.Uk)return this.lr.getItem(this.Rl[this.We].caption).ya(this.Bn[this.We+this.Gj][this.gf]).sc;if(b==k.j.input.qa.Pa)return d="",b=this.lr.getItem(this.Rl[this.We].caption+".Year").ya(this.Bn[this.We+this.Gj][this.gf]),d+=b.caption+"-",this.Gj++,b=this.lr.getItem(this.Rl[this.We].caption+
".Month").ya(this.Bn[this.We+this.Gj][this.gf]),d+=e.i.C.u.er.indexOf(b.caption)+1+"-",this.Gj++,b=this.lr.getItem(this.Rl[this.We].caption+".Day").ya(this.Bn[this.We+this.Gj][this.gf]),d+=b.caption;if(b==k.j.input.qa.Zp||b==k.j.input.qa.Ao)return this.Qra(b);if(b==k.j.input.qa.Cc||b==k.j.input.qa.bc)return this.lr.getItem(this.Rl[this.We].A).ya(this.Bn[this.We+this.Gj][this.gf]).sc}return d}AAa(){e.wa(!1);null!=this.k7&&this.k7(this.hk)}Qra(b){this.Gj+=2;this.Gj=b==k.j.input.qa.Ao?this.Gj+1:this.Gj;
return this.lr.getItem(this.Rl[this.We].caption).nR(this.Bn[this.We+this.Gj][this.gf])}QDa(b){this.Rl.push(this.gQ(k.j.Na.OG(b.type),b.Ik,!0,b.A))}BFa(b,d){b=e.P.bind(e.i.C.u.R5,(b/d*100).toFixed(0));e.wa(!0,e.i.C.u.c6,b)}gQ(b,d,g=!1,l){var m=new a;m.caption=d;m.type=b;m.sg=g;m.A=l;return m}}f.kV=c;class a{constructor(){}get type(){return this.lg}set type(b){this.lg=b}get caption(){return this.nc}get sg(){return this.zoa}set sg(b){this.zoa=b}set caption(b){this.nc=b}get A(){return this.cJ}set A(b){this.cJ=
b}}f.vHa=a})(h.json||(h.json={}))})(k.local||(k.local={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends h.Sma{constructor(){super(...arguments);this.xi=this.ML=0;this.am=null;this.isArray=this.Q_=this.gS=!1}load(a,b,d,g,l){this.clear();this.Hb=b;this.Ma=d;this.ye=g;this.VE=l;this.ma=a;this.filename=a.filename;!e.ia(this.filename)&&"()"!=this.filename.substr(-2)||!1!==a.Ld?(this.filename=w.Vw.WF(this.filename,!e.i.B.F.GP),e.wa(!0,e.i.C.u.Bf),this.mM(this.filename,a.wc)):this.d1()}tAa(){e.wa(!0,e.i.C.u.Bf,"")}EBa(a){a=0==a.total?e.P.bind(e.i.C.u.Nl,
w.Ub.og(a.loaded)):e.P.bind(e.i.C.u.MD,w.Ub.og(a.loaded),w.Ub.og(a.total),(a.loaded/a.total*100).toFixed(0));e.wa(!0,e.i.C.u.Bf,a)}d1(a=null){e.wa(!1);var b="",d="";null!=a&&null!=a.target&&null!=a.target.response&&""!=a.target.response&&(d=e.i.Vb.Mc(a.target.response),b=d=700<d.length?d.substr(0,700):d,d=e.P.bind(e.i.C.u.PN,d).replace(/'/g,""));0==this.Q_&&(this.Q_=!0,a=e.i.Vb.valid(this.filename)?this.filename:e.i.Vb.Mc(this.filename),e.Wa(e.P.bind(e.i.C.u.VH,a)+d,e.i.C.u.Ca,e.Bb.Ca));null!=this.Ma&&
(this.Ma(b),this.Ma=null);this.cf()}jCa(a,b,d){try{const g=d?JSON.parse(a):JSON.parse(this.JX(a));Array.isArray(g)?(this.wP(g),w.al.Cn({po:()=>this.lu(),Je:b})):this.BL()}catch(g){this.BL()}}JX(a){void 0!==this.ee&&0<this.ee.length&&(a=this.ee+a);a=a.replace(/^\s+/,"");if("["==a[0]){a=a.substr(1).replace(/^\s+/,"");var b=a[0];a="["!=b&&"{"!=b?"["+a:a}else b=a.replace(/\s+$/,""),"]"==b[b.length-1]&&(b=b.substr(0,b.length-1).replace(/\s+$/,""),a=b[b.length-1],a="]"!=a&&"}"!=a?b+"]":b);b=a.lastIndexOf("},");
var d=a.lastIndexOf("],");b=b<d?d:b;this.ee=a.substr(b+2);return a="["+a.substr(0,b+1)+"]"}wP(a){e.w(a.items)||(a=a.items);(e.w(a)||1>a.length)&&!e.i.B.F.$C?!this.gS&&this.cS&&this.MS():Array.isArray(a)?(this.gS?this.data=this.data.concat(a.slice()):(this.gS=!0,this.ps(),this.Sd=k.Sa.V().O,this.ra=k.Sa.V().ra,this.isArray=a[1]&&Array.isArray(a[1]),this.ma.mapping.ib?a[0]&&Array.isArray(a[0])?this.CC(a[0],a[1]):this.Sd.yP(a[0]):this.Sd.yP(this.ma.mapping.Qa()),this.data=a.slice(),(k.O.Bo.Xba(a[0])||
this.isArray)&&this.data.shift()),0==this.data.length&&this.sG()):e.Wa(e.i.C.u.QN,e.i.C.u.Ca)}CC(a,b){try{var d=e.w(b)?[]:b;this.Jn=[];for(b=0;b<a.length;b++){var g=this.dR(d[b]),l=this.Ov(a[b],g,0==d.length),m=this.WZ(a[b],g,0==d.length),n=this.tK(a[b]),p=this.sK(n),q={type:l,uniqueName:n,caption:p,isMeasure:m};if(!q.hasOwnProperty("visible")||!1!==q.visible){this.eF[b]=q.type;this.cg[b]=q.isMeasure;this.Jn[b]=n;if(l===k.j.input.qa.Ue){var t=n.split(":");q.hierarchy=t[0];q.level=t.pop();q.parent=
t.join(":")}this.Sd.LE(q,n,m)}}}catch(x){console.error(x.stack),this.R0()}}R0(){e.wa(!1);e.Wa(e.P.bind(e.i.C.u.W5),e.i.C.u.Ca,e.Bb.Ca)}dR(a){void 0!==a&&null!==a&&"string"==typeof a&&(a=a.replace(",","."));return a}tK(a){a=a.trim();if(-1<this.Jn.indexOf(a)){for(var b=1,d=a;-1<this.Jn.indexOf(d);)d=a+b,b++;a=d}return a}sK(a){return this.ey(a)?(a=a.split(":"),a[a.length-1]):a}WZ(a,b,d){return!e.i.B.F.zg||e.w(b)&&!d?!1:"-"===a.trim().charAt(0)}Ov(a,b,d){var g=k.j.input.qa.kb;a=a.trim();if(e.w(b)&&!d)return k.j.input.qa.Sc;
"+"===a.charAt(0)?g=k.j.input.qa.Sc:"t+"===a.substr(0,2)?g=k.j.input.qa.bc:"dt+"===a.substr(0,3)?g=k.j.input.qa.Cc:"n+"===a.substr(0,2)?g=k.j.input.qa.kb:"-"===a.charAt(0)?g=k.j.input.qa.kb:"ds+"===a.substr(0,3)?g=k.j.input.qa.Uk:"d+"===a.substr(0,2)?g=k.j.input.qa.Pa:"m+"===a.substr(0,2)?g=k.j.input.qa.Ag:"w+"===a.substr(0,2)?g=k.j.input.qa.Jm:"D+"===a.substr(0,2)?g=k.j.input.qa.Zp:"D4+"===a.substr(0,3)?g=k.j.input.qa.Ao:"id+"===a.substr(0,3)?g=k.j.input.qa.Mw:""==b||void 0===b?g=k.j.input.qa.Sc:
isNaN(Number(b))&&(g=e.P.H_(b)?e.i.B.F.VJ:k.j.input.qa.Sc);g===k.j.input.qa.Sc&&this.ey(a)&&(g=k.j.input.qa.Ue);return g}ey(a){"+"===a.charAt(0)&&(a=a.substr(1));return 1<a.split(":").length&&-1<this.Jn.indexOf(a.split(":")[0].trim())}lu(){if(0===this.xi%100&&200<w.nf()-this.ML){var a=e.i.C.u.NN,b=this.b_();1==this.cS&&e.wa(!0,a,b);this.ML=w.nf()}if(this.xi>=this.data.length)return!0;if(!e.w(this.data[this.xi])){if(e.i.ua.rn.Hu!=e.i.ua.rn.qI&&this.qx>e.i.ua.rn.Hu)return this.DL(),!0;this.insertData(this.data[this.xi],
this.isArray)}this.data[this.xi]=void 0;this.xi++;return this.xi>=this.data.length}p2(){this.am=this.Sd.KZ();this.jF=[];for(var a=0;a<this.am.length;a++)this.jF[a]=this.Sd.KF(this.am[a]);this.ra.zG()}insertData(a,b){null===this.am&&this.p2();for(var d,g,l=[],m=[],n,p,q,t=0;t<this.am.length;t++)if(d=this.am[t],g=this.jF[t],b?(q=a.hasOwnProperty(""+t),p=a[t]):(q=a.hasOwnProperty(d),p=a[d]),g!==k.j.input.qa.RD)if(g===k.j.input.qa.Mw)n=p;else{var x=void 0;this.Sd.o_&&(x=this.SZ(a,d,b));if(q){q=String(p);
if(e.w(p)){var z=e.i.cc.bk.$f("");""!==z.ds&&(p=q=z.ds)}p=new k.O.be({De:x,value:p,caption:q})}else p=new k.O.be({De:x});g===k.j.input.qa.Ue&&(x=this.Sd.GB(d),p.Hh=a[x.hierarchy.ta.ea(x.xb-1).A]);this.Sd.ic(p,d,g,l,m)}this.ra.insert(l,m,n)}SZ(a,b,d=!1){var g=void 0;(b=this.Sd.Daa(b))&&0<b.length&&b.forEach(l=>{var m=d?a[this.am.indexOf(l)]:a[l];e.w(m)||(e.w(g)&&(g={}),g[l]=m)});return g}b_(){return e.P.bind(e.i.C.u.Pka,w.Ub.Qx(this.xi.toString()),(this.qx/this.xJ*100).toFixed(0))}DL(){e.Wa(e.i.ua.pa.J(e.i.ua.pa.dD),
e.i.ua.pa.J(e.i.ua.pa.fo));e.wa(!1);e.rf(this.Ma)&&this.Ma();this.Hb=this.Ma=null;this.clear()}sG(){this.data=null;e.wa(!1);e.rf(this.Hb)&&this.Hb();this.clear()}ps(){null!=this.ye&&(this.ye(),this.ye=null)}iCa(){e.wa(!1);if(this.gS){if(!e.ia(this.ee)){if("]"==this.ee.substr(-1)){this.ee=this.ee.substr(0,this.ee.length-1).trim();var a=this.ee.substr(this.ee.length-1);this.ee="]"!=a&&"}"!=a?this.ee+"]":this.ee}a=JSON.parse(this.ee);this.data.push(a);this.lu()}null!=this.Hb&&(this.clear(),this.Hb())}else e.Wa(e.i.C.u.ND,
e.i.C.u.Ca,e.Bb.Tk),null!=this.Ma&&(this.Ma(),this.Ma=null);this.clear()}BL(){e.Wa(e.i.C.u.QN,e.i.C.u.Ca);e.wa(!1);e.rf(this.Ma)&&this.Ma();this.Hb=this.Ma=null;this.clear()}MS(){e.i.B.F.$C||e.Wa(e.i.C.u.ND,e.i.C.u.Ca,e.Bb.Tk);e.wa(!1);e.rf(this.Ma)&&this.Ma();this.Hb=this.Ma=null;this.clear()}clear(){this.data=[];this.Ki=0;this.eF=[];this.cg=[];this.Q_=!1;this.ee="";null!=this.na&&(this.na.fe(),this.na.dispose(),this.na=null);this.cf()}cancel(){this.clear();this.ye=this.Ma=this.Hb=null}Ek(){throw Error("Method not implemented.");
}Dk(){throw Error("Method not implemented.");}uy(){throw Error("Method not implemented.");}Hp(){throw Error("Method not implemented.");}NA(){throw Error("Method not implemented.");}}f.Rja=c})(h.json||(h.json={}))})(k.local||(k.local={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends k.O3{zG(){this.aY();for(var c=[],a=this.slice.rc(!1),b=0;b<a.length;b++){var d=a.ea(b);this.Ul(d.A,d.A);e.i.B.F.dc&&this.Wm(this.Aa.O.Ke(d.A));for(var g=1;g<d.ta.length;g++)this.Ul(d.ta.ea(g).A,d.A)}a=e.v.j.sa.Nc===this.Aa.ha.Fa?this.tua(this.slice.hf):this.slice.hf;for(b=0;b<a.length;b++)this.Wm(a[b],c);this.slice.Ry(c)}tua(c){const a=[],b={};if(void 0!==c){let l,m,n;for(var d=0;d<c.length;d++){var g=c[d].fa;l=c[d].A;m=c[d].hidden;void 0===b[l+
"_"+g]?(n=a.length,b[l+"_"+g]={qC:n,Uba:m},a.push(c[d])):(g=b[l+"_"+g],g.Uba&&!m&&(a.splice(g.qC,1),g.qC=a.length,g.Uba=c[d].hidden,a.push(c[d])))}}return a}Bh(c,a,b){let d,g;"string"!==typeof c?(d=c.A,g=k.j.ca.iL(c.fa)?c.fa:c.Oo):d=c;e.w(a)||(g=a);return super.Bh(d,g,b)}Wm(c,a){c&&(e.v.j.sa.Nc===this.Aa.ha.Fa&&c.Ra||(this.GA(c.A,c.Oo),k.j.ca.iL(c.fa)&&this.GA(c.A,c.fa),this.BP(c)),c.Ra&&this.r8(c,this.slice.ad.Ea,a),void 0!==a&&a.push(c))}r8(c,a,b){if((a=c.$Z(a))&&0<a.length)for(let l=0;l<a.length;l++){var d=
a[l],g=this.Aa.O.qd(d.A);if(null!=g){let m=this.slice.Zh(d);if(null==m){m=g.clone();m.fa=d.fa;d=m.hidden=!0;if(void 0!==b)for(g=0;g<b.length;g++)b[g].A===m.A&&(m.fa===k.j.ca.NONE||b[g].fa===c.fa&&b[g].Oo===c.Oo)&&(d=!1);d&&(b.push(m),this.BP(m),this.GA(m.A,m.Oo),k.j.ca.iL(m.fa)&&this.GA(m.A,m.fa))}}}}HA(c){return this.Aa.ha.Fa==k.j.sa.Af&&c&&0==this.Aa.ha.mapping.Ha(c.A,"min_doc_count")}PE(c){return this.Aa.ha.Fa==k.j.sa.Af&&c&&0==this.Aa.ha.mapping.Ha(c.A,"min_doc_count")}}h.SU=f})(k.external||(k.external=
{}))})(e.v||(e.v={}))})(u||(u={}));var Oa=u||(u={}),Pa=Oa.v||(Oa.v={}),Qa=Pa.external||(Pa.external={});{var Ra=Qa.Db||(Qa.Db={});class e{}e.NONE=0;e.AU=1;e.HV=2;e.MV=3;e.hH=4;e.IU=5;Ra.bj=e}(function(e){(function(k){(function(h){(function(f){class c extends k.O.Bo{constructor(a=null){super(a)}}f.VN=c})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends k.O.Ds{constructor(){super(...arguments);this.Xm=!1;this.Oi=this.Ui=this.Yj=this.Pe=this.Ee=this.Ef=this.l7=this.xh="";this.mapping=new f.VN;this.Xu="";this.version=0}get qe(){return this.l7}set qe(a){a=a.replace("[","");this.l7=a=a.replace("]","")}get Aa(){return this.Ef}set Aa(a){a=a.replace("[","");this.Ef=a=a.replace("]","")}get Zl(){return this.Fa!=k.j.sa.Nc?"":""==this.Xu&&null!=this.credentials&&this.credentials.km?"credentials="+
this.credentials.hash:this.Xu}set Zl(a){this.Xu=a}get dG(){return this.Xm}get ib(){return e.ia(this.Pe)}set ib(a){}get Wt(){return!1}set Wt(a){}get bG(){return!1}get YR(){return this.Fa!=k.j.sa.ae||this.dG?!0:!1}get XR(){return this.Fa==k.j.sa.Nc&&this.dG}isEqual(a){return super.isEqual(a)&&this.Pe===a.Pe&&this.qe===a.qe&&this.Aa===a.Aa&&this.xh===a.xh&&this.Xm===a.Xm&&this.Ee===a.Ee&&this.mapping.isEqual(a.mapping)&&(this.Fa!=k.j.sa.ae?this.Ee===a.Ee:!0)&&(this.Fa===k.j.sa.Nc?this.Ui===a.Ui:!0)&&
(this.Fa===k.j.sa.Nc?this.Oi===a.Oi:!0)&&(this.Fa===k.j.sa.Nc?this.Zl===a.Zl:!0)}static yb(a){var b=new c;e.w(a.dataSourceType)||(b.Fa=a.dataSourceType);e.w(a.dataSourceInfo)||(b.xh=a.dataSourceInfo);e.w(a.catalog)||(b.qe=a.catalog);e.w(a.cube)||(b.Aa=a.cube);e.w(a.roles)||(b.Yj=a.roles);e.w(a.proxyUrl)||(b.Pe=a.proxyUrl);e.w(a.localeIdentifier)||(b.Ui=a.localeIdentifier);e.w(a.subquery)||(b.Ee=a.subquery);e.w(a.effectiveUserName)||(b.Oi=a.effectiveUserName);e.w(a.customData)||(b.Zl=a.customData);
e.w(a.binary)||(b.Xm=a.binary);e.w(a.requestHeaders)||(b.wc=a.requestHeaders);e.w(a.mapping)||(b.mapping=a.mapping instanceof f.VN?a.mapping:new f.VN(a.mapping));b.credentials=f.Ai.a7.yb(a);e.w(a.withCredentials)||(b.withCredentials=a.withCredentials);return b}static Pj(a){var b=new c;a=a.find("dataSource");var d=a.attr("type");void 0!==d&&(d=d.toLowerCase());"msolap"==d&&(d=k.j.sa.Nc);d&&-1<d.indexOf("pentaho")&&(d=k.j.sa.ae);if(!k.j.sa.valid(d)){var g=a.find("proxyUrl");0<g.length&&0<g.text().length&&
(d=k.j.sa.Nc)}b.Fa=d;0!=a.find("dataSourceInfo").length&&(b.xh=a.find("dataSourceInfo").text());0!=a.find("catalog").length&&(b.qe=a.find("catalog").text());0!=a.find("cube").length&&(b.Aa=a.find("cube").text());0!=a.find("subquery").length&&(b.Ee=a.find("subquery").text());0!=a.find("roles").length&&(b.Yj=a.find("roles").text());0!=a.find("proxyUrl").length&&(b.Pe=a.find("proxyUrl").text());0!=a.find("localeIdentifier").length&&(b.Ui=a.find("localeIdentifier").text());0!=a.find("effectiveUserName").length&&
(b.Oi=a.find("effectiveUserName").text());0!=a.find("customData").length&&(b.Zl=a.find("customData").text());0!=a.find("binary").length&&(b.Xm=e.P.Rc(a.find("binary").text()));0!=a.find("credentials").length&&(d={},0!=a.find("credentials").find("hash").length&&(d.hash=a.find("credentials").find("hash").text()),0!=a.find("credentials").find("username").length&&(d.username=a.find("credentials").find("username").text()),0!=a.find("credentials").find("password").length&&(d.password=a.find("credentials").find("password").text()),
b.credentials=f.Ai.a7.yb(d));return b}so(a=!1){var b=y.aa.create("<dataSource/>");b.attr("type",this.Fa);switch(this.Fa){case k.j.sa.Nc:(a||""!=this.Ui)&&b.append(y.aa.create("<localeIdentifier/>").text(this.Ui)),(a||""!=this.Oi)&&b.append(y.aa.create("<effectiveUserName/>").text(this.Oi)),(a||""!=this.Xu)&&b.append(y.aa.create("<customData/>").text(this.Xu));case k.j.sa.ae:b.append(y.aa.create("<proxyUrl/>").append(y.aa.th(this.Pe))),(a||""!=this.xh)&&b.append(y.aa.create("<dataSourceInfo/>").text(this.xh)),
b.append(y.aa.create("<catalog/>").text(this.qe)),b.append(y.aa.create("<cube/>").text(this.Aa)),b.append(y.aa.create("<binary/>").text(this.Xm)),(a||""!=this.Yj)&&b.append(y.aa.create("<roles/>").text(this.Yj)),this.credentials&&this.credentials.km&&(a=y.aa.create("<hash/>").text(this.credentials.hash),b.append(y.aa.create("<credentials/>").append(a)))}return b}Qa(a=!1){var b={};b.type=this.Fa;switch(this.Fa){case k.j.sa.Nc:if(a||""!=this.Ui)b.localeIdentifier=this.Ui;if(a||""!=this.Oi)b.effectiveUserName=
this.Oi;if(a||""!=this.Xu)b.customData=this.Xu;if(a||this.withCredentials)b.withCredentials=this.withCredentials;case k.j.sa.ae:b.proxyUrl=this.Pe;if(a||""!=this.xh)b.dataSourceInfo=this.xh;b.catalog=this.qe;b.cube=this.Aa;b.binary=this.Xm;if(a||""!=this.Yj)b.roles=this.Yj;this.credentials&&this.credentials.km&&(b.credentials={hash:this.credentials.hash})}if(!this.mapping.ib||this.mapping.mp)b.mapping=this.mapping.Qa(!0);return b}clone(){var a=new c;a.Fa=this.Fa;switch(this.Fa){case k.j.sa.Nc:""!==
this.Ui&&(a.Ui=this.Ui),""!==this.Oi&&(a.Oi=this.Oi),""!==this.Xu&&(a.Zl=this.Xu),this.withCredentials&&(a.withCredentials=this.withCredentials);case k.j.sa.ae:a.Pe=this.Pe,""!==this.xh&&(a.xh=this.xh),a.qe=this.qe,a.Aa=this.Aa,a.Xm=this.Xm,""!==this.Yj&&(a.Yj=this.Yj),this.credentials&&this.credentials.km&&(a.credentials={hash:this.credentials.hash})}if(!this.mapping.ib||this.mapping.mp)a.mapping=this.mapping.clone(this.Fa);return a}}c.sessionId=0;f.Do=c})(h.Db||(h.Db={}))})(k.external||(k.external=
{}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends h.SU{RR(a,b,d,g,l,m){for(var n=[],p=[],q=0;q<a.length;q++){if(-1===a[q][1])return;p[q]=a[q][1];n[this.ta[this.ph[q]][a[q][0]]]=p[q]}a=[];for(q=0;q<b.length;q++){if(-1===b[q][1])return;a[q]=b[q][1];n[this.ta[this.Li[q]][b[q][0]]]=a[q]}b=this.Cr(p,a);p=this.tb.length;void 0!==this.values[b]?p=this.Dua(n):(this.Og.push(p),this.tb.push(n));0<g.length&&(n=l===k.j.ga.Ia?this.$c(g,this.Bd):this.$c(g,this.Td),-1===n[0][0].indexOf(p)&&n[0][0].push(p),
m===k.j.Jd.GU&&(g=g.slice(0,-1),l=l===k.j.ga.Ia?this.$c(g,this.Bd):this.$c(g,this.Td),-1===l[0][0].indexOf(p)&&l[0][0].push(p)));this.values[b]=d}Dua(a){for(var b,d=0;d<this.tb.length;d++)if(a.length===this.tb[d].length){b=!0;for(var g=0;g<a.length;g++)if(a[g]!==this.tb[d][g]){b=!1;break}if(b)return d}return this.tb.length}Ha(a,b,d){var g=this.Cr(a,b),l=this.Bh(d);void 0===this.values[g]&&(this.values[g]=[]);if(!e.i.B.F.pt||!d.Ra)return e.w(this.values[g][l])?NaN:this.values[g][l];if(void 0==this.values[g][l]){var m=
this.$c(a,this.Bd),n=this.$c(b,this.Td);if(void 0===m||void 0===m[0]||void 0===n||void 0===n[0])return NaN;this.values[g][l]=this.Qr([g],d.Oe,d.xk,0,a,b,d.Dn)}return e.w(this.values[g][l])?NaN:this.values[g][l]}bA(a,b,d){if(void 0!==a){var g=a[0][0];if(0<g.length&&!isNaN(b))for(var l=0;l<g.length;l++){var m=this.tb[g[l]][this.ta[b][1]];0!==m&&void 0!==m&&(void 0===a[m]?(a[m]=[[[g[l]],[],[],void 0,void 0,!1]],a[0][1].push(m)):a[0][5]||a[m][0][0].push(g[l]))}void 0===a[0][3]&&(a[0][3]=[]);void 0===
d?a[0][3][this.Qf.length]=!0:a[0][3][this.Bh(d)]=!0;a[0][5]=!0}}OO(a,b,d,g,l){var m=b[0][0];if(0<m.length&&!isNaN(g))for(var n=0;n<m.length;n++){var p=this.tb[m[n]][g];0!==p&&void 0!==p&&(void 0===a[p]?(a[p]=[[[m[n]],[],[],void 0,void 0]],b[0][2].push(p),this.pl[d][p]=g):-1===a[p][0][0].indexOf(m[n])&&a[p][0][0].push(m[n]))}void 0===b[0][4]&&(b[0][4]=[]);void 0===l?b[0][4][this.Qf.length]=!0:b[0][4][this.Bh(l)]=!0}Un(a,b,d){for(var g=0;g<b.length;g++){var l=b[g],m=d[g];if(e.i.B.F.ER){var n=this.slice.rc().getItem(this.ne[m]),
p=n.ya(l);e.w(n.Zx)||e.w(this.ta)||e.w(d[g])||e.w(this.ta[d[g]])||(m=this.ta[d[g]][p.level.xb])}m=e.w(this.pl[m])||e.w(this.pl[m][l])?m:this.pl[m][l];n=[];for(p=0;p<a.length;p++)this.tb[a[p]][m]===l&&n.push(a[p]);a=n}return a}Wm(a,b){a&&super.Wm(a,b)}r8(a,b,d){a=a.$Z(b);for(var g=0;g<a.length;g++){var l=this.Aa.O.qd(a[g].A);null==l||b.Sb(l.A)||(l.hidden=!0,d.push(l),this.BP(l),this.GA(l.A,l.Oo),k.j.ca.iL(l.fa)&&this.GA(l.A,l.fa))}}}f.Ela=c})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||
(e.v={}))})(u||(u={}));(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.O.Tga{constructor(b,d){super(b,d)}}c.m6=a})(f.O||(f.O={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.O.Zq{constructor(b,d=""){super(b,d)}get vj(){return this.Ra||this.Ri?[]:k.j.ca.E3}set vj(b){}get fa(){return""==this.Fj?this.Kd[0]:this.Fj}set fa(b){b&&b.toLowerCase()!=this.Fj?(b=b.toLowerCase(),k.j.ca.jB(b)&&(b=k.j.ca.wB(b)),k.j.ca.KGa(b)||this.Ra&&b==k.j.ca.NONE?(this.bv=void 0,this.Fj=b,-1==this.Kd.indexOf(b)&&(this.Fj=this.Kd[0])):this.tT()):""==b&&this.tT()}get ac(){return e.i.Vb.valid(this.nc)?this.nc:e.i.Vb.Mc(this.nc)}get caption(){if(0==
e.i.B.F.vw)return this.ac;switch(this.fa){case k.j.ca.fr:return e.P.bind(e.i.C.u.iI,this.ac);case k.j.ca.Eo:return e.P.bind(e.i.C.u.cI,this.ac);case k.j.ca.cq:return e.P.bind(e.i.C.u.hI,this.ac);case k.j.ca.gr:return e.P.bind(e.i.C.u.fI,this.ac);case k.j.ca.Fo:return e.P.bind(e.i.C.u.gI,this.ac);case k.j.ca.ni:return e.P.bind(e.i.C.u.MH,this.ac);case k.j.ca.mn:return e.P.bind(e.i.C.u.pH,this.ac);case k.j.ca.nn:return e.P.bind(e.i.C.u.qH,this.ac);case k.j.ca.tn:return e.P.bind(e.i.C.u.dI,this.ac);
case k.j.ca.un:return e.P.bind(e.i.C.u.eI,this.ac)}return this.ac}set caption(b){""==b.trim()?this.nc=e.i.C.u.Bj:this.nc=b}get Ik(){return this.ac}set Ik(b){}clone(){var b=new a(this.A);this.MJ(b);return b}}c.Gz=a})(f.O||(f.O={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.O.gH{get caption(){return this.hierarchy.NB(this.ordinal)}set caption(b){}get ai(){return this.level.Xt?!0:this.hierarchy.hL||this.hierarchy.Tr||this.level.Xt?(this.qg||!this.qf)&&0==this.children.length:!1}set ai(b){}get fm(){return this.A}}c.n6=a})(f.O||(f.O={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.O.Bs{constructor(b,d="",g=0){super(b,d,g)}}c.Hla=a})(f.O||(f.O={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.O.As{constructor(b,d=""){super(b,d);this.e8=0}get sm(){return this.e8}set sm(b){this.mh||(b+=1);this.e8=b}ic(b){b.A==this.mr&&(b.Rb=!0);return super.ic(b)}set gl(b){""!=b&&!e.w(b)||this.cg?this.mr=b:(this.mr=this.A+".[(All)]",this.Ng(new k.O.Bs(this.A,this.caption+" (All)")),this.ic(new k.O.be({A:this.mr,caption:this.caption+" (All)",Rb:!0})),this.gA=!1)}get gl(){return this.mr}Vl(b="(Total)"){if(this.mh)return this.gl+
".["+b+"]";var d=this.zq.split("].");d.pop();d.push("["+b+"]");return d.join("].")}UT(b,d){var g=this.Rfa(b.children);g=e.rf(this.cw)?this.wfa(g):this.eX(g);for(var l=[],m=0;m<g.length;m++)if(l.push(g[m].ordinal),d&&!b.ai){var n=this.uj(g[m],d);0<n.length&&(l=l.concat(n))}return l}eX(b){this.xf===k.j.Ba.gc&&e.gb.sort(b,e.gb.oi,d=>d.sc);this.xf===k.j.Ba.Ec&&e.gb.sort(b,e.gb.yo|e.gb.oi,d=>d.sc);return b}NQ(b){b=this.Uu.find(b);return this.ya(b)}OB(){return new c.n6(this)}}c.zV=a})(f.O||(f.O={}))})(h.Db||
(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.O.fz{constructor(b,d=""){super(b,d)}}c.Fla=a})(f.O||(f.O={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.O.uU{constructor(){super();this.DF=new c.Gla}wX(b,d){this.b0.Ta(b.A,b);if(0==e.ia(b.value)){var g=new c.Gz(b.value,this.Wx(b.value,b.caption,e.i.C.u.F5,d));g.$h=e.i.C.u.Nw;g.Xc=b.caption;g.type=k.j.Na.kb;g.Hq=b.A;this.Kj(g)}0==e.ia(b.Tv)&&(g=new c.Gz(b.Tv,this.Wx(b.Tv,b.caption,e.i.C.u.B5,d)),g.$h=e.i.C.u.Nw,g.Xc=b.caption,g.type=k.j.Na.kb,g.Hq=b.A,this.Kj(g));0==e.ia(b.status)&&(g=new c.Gz(b.status,this.Wx(b.status,
b.caption,e.i.C.u.D5,d)),g.$h=e.i.C.u.Nw,g.Xc=b.caption,g.type=k.j.Na.kb,g.Hq=b.A,g.ly=!0,this.Kj(g));0==e.ia(b.zw)&&(d=new c.Gz(b.zw,this.Wx(b.zw,b.caption,e.i.C.u.E5,d)),d.$h=e.i.C.u.Nw,d.Xc=b.caption,d.type=k.j.Na.kb,d.Hq=b.A,d.my=!0,this.Kj(d))}aw(b,d=null,g=!1){var l=d?d:new c.Gz(b.uniqueName);return super.aw(b,l,e.w(d)||g)}}c.Ila=a})(f.O||(f.O={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.O.sU{IB(b){var d=super.IB(b);b!=k.j.pb.NONE&&(d.Sp=[k.j.pc.Oh,k.j.pc.aj]);return d}}c.Gla=a})(f.O||(f.O={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a{constructor(){this.Tw=20;this.hma=/<Tuple>(.|\n|\r)*?<\/Tuple>/gi;this.fma=/<Cell (.|\n|\r)*?<\/Cell>/gi;this.gma=/<row>(.|\n|\r)*?<\/row>/g;this.y6=/<soap:Fault(.|\n|\r)*?<\/soap:Fault>/gi;this.x6=/<SOAP-ENV:Fault(.|\n|\r)*?<\/SOAP-ENV:Fault>/gi;this.ja=k.Sa.V();this.l3=!0;this.kA=!1;this.Qk=()=>this.fs();this.$i=()=>this.zp();this.O$=()=>this.VAa();this.Hy=b=>this.yp(b);this.Ma=()=>this.Tb()}load(b,d,g){this.ha=b;this.Ij=d;
this.Jb=g;this.kA=!1;this.Zv()}Uc(b,d,g,l,m,n){this.ha=b;this.Ij=d;this.Jb=n;this.kA=!0;this.Zv()}Zv(){e.wa(!0,e.i.C.u.Bf,e.P.bind(e.i.C.u.Gs,"0.5"));this.Xi();this.ZK();c.Df.zb=this.ha;this.na.data=y.aa.Bc(c.Df.wv(this.Ij.body));this.na.load(this.ha.Pe);this.timer=new w.Ns(500,1E5);this.timer.N(w.Ve.Zk,this.Qk);this.timer.N(w.Ve.$k,this.$i);this.timer.start()}dK(){e.w(this.ha.withCredentials)||(this.na.withCredentials=this.ha.withCredentials)}Xi(){this.na=new y.Ej;this.na.bea=100;this.na.contentType=
y.mz.nO;this.na.dataType=y.nz.aa;this.na.Pq=y.Os.Ku;const b=JSON.parse(JSON.stringify(e.w(this.ha.wc)?{}:this.ha.wc));this.l3&&(b.Accept="application/xml");this.dK();this.ha.credentials&&this.ha.credentials.km&&(b.Authorization="Basic "+this.ha.credentials.hash,this.na.withCredentials=!0);this.na.Xi(b)}fs(){null!=this.timer&&e.wa(!0,e.i.C.u.Bf,e.P.bind(e.i.C.u.Gs,w.Ub.format(this.timer.zv/2,new e.i.cc.X.ef,!1,!1,1)))}zp(){this.timer.Mk&&e.Wa("Can't connect to data source!",e.i.C.u.Ca)}cf(){this.timer&&
this.timer.Mk&&(this.timer.stop(),this.timer.qb(w.Ve.Zk,this.Qk),this.timer.qb(w.Ve.$k,this.$i))}ZK(){this.na.N(r.da.Dc,this.O$);this.na.N(r.da.ge,this.Hy);this.na.N(r.da.Ca,this.Ma);this.qj=f.bj.NONE;this.Ud=[];this.Ac=[];this.PA=[];this.pB=[];this.oB=[];this.uF=[];this.LW="";this.gP=0;this.Ka=[];this.rows=[];this.Ea=[];this.rc=this.ja.O.rc();this.hf=this.ja.za.Oq;this.vW=this.EE=!1;this.HC=this.GC=-1;this.zc=[]}VAa(){var b=y.aa.Bc(y.aa.create(this.na.response));this.vW=!0;this.Koa(b)}yp(b){b=b.data;
b.loaded!==this.Ki&&(this.cf(),this.Ki=b.loaded,this.J2(b.loaded))}Koa(b){this.Hd(b);!this.EE&&this.qj>f.bj.NONE&&this.QFa()}Hd(b){if(0!=b.length&&this.gP!=b.length){var d=this.LW+b.substring(this.gP);if(this.qj===f.bj.NONE){if(this.ha.Fa==k.j.sa.Nc){if(this.y6.test(d)){this.jDa(d.match(this.y6)[0]);this.Iq();return}}else if(this.ha.Fa==k.j.sa.ae&&this.x6.test(d)){this.kDa(d.match(this.x6)[0]);this.Iq();return}var g=this.iU(d);-1<g&&(d=d.substr(g))}this.qj==f.bj.IU&&(g=this.iU(d),0>g&&(g=d.lastIndexOf("</row>")+
6),5!=g&&(this.CGa(d.substring(0,g),this.pB),d=d.substr(g)));this.qj==f.bj.AU&&(g=this.iU(d),0>g&&(g=d.lastIndexOf("</Tuple>")+8),7!=g&&(this.fga(d.substring(0,g),this.Ud),d=d.substr(g)));this.qj==f.bj.HV&&(g=this.iU(d),0>g&&(g=d.lastIndexOf("</Tuple>")+8),7!=g&&(this.fga(d.substring(0,g),this.Ac),d=d.substr(g)));this.qj==f.bj.MV&&(g=d.indexOf("<CellData>"),-1<g&&(this.qj=f.bj.hH,d=d.substr(g)));this.qj==f.bj.hH&&(g=d.indexOf("</CellData>"),0>g&&(g=d.lastIndexOf("</Cell>")+7),6!=g&&(this.AGa(d.substring(0,
g),this.PA),d=d.substr(g)));this.gP=b.length;this.LW=d}}kDa(b){b=b.replace(/SOAP-ENV:Fault/gi,"Fault");b=b.replace(/XA:error/gi,"error");b=y.aa.create(b);null!=b.find("faultstring")&&(b=b.find("faultstring").text(),e.Wa(b,e.i.C.u.Ca,e.Bb.Ca))}jDa(b){b=b.replace(/soap:Fault/gi,"Fault");b=y.aa.create(b);null!=b.find("faultstring")&&(b=b.find("faultstring").text(),e.Wa(b,e.i.C.u.Ca,e.Bb.Ca))}iU(b){var d=-1;if(this.kA&&this.qj<f.bj.IU){d=b.indexOf("<row>");this.qj=f.bj.IU;if(-1<d)return d;e.Wa("No data received from the server.",
e.i.C.u.Ca)}if(this.qj<f.bj.AU&&(d=b.indexOf('<Axis name="Axis0">'),-1<d))return this.qj=f.bj.AU,d;if(this.qj<f.bj.HV&&(d=b.indexOf('<Axis name="Axis1">'),-1<d))return this.qj=f.bj.HV,d;if(this.qj<f.bj.MV&&(d=b.indexOf('<Axis name="SlicerAxis">'),-1<d))return this.qj=f.bj.MV,d;this.qj<f.bj.hH&&(d=b.indexOf("<CellData>"),-1<d&&(this.qj=f.bj.hH));return d}CGa(b,d){b=b.match(this.gma);for(var g=0;g<b.length;g++){var l=b[g].replace(/xsi:/g,"");l=l.replace(/xsd:/g,"");d.push(y.aa.create(l))}}fga(b,d){b=
b.match(this.hma);if(!e.w(d)&&!e.w(b))for(var g=0;g<b.length;g++){var l=b[g].replace(/xsi:/g,"");d.push(y.aa.create(l))}}AGa(b,d){b=b.match(this.fma);if(!e.w(b)&&!e.w(d))for(var g=0;g<b.length;g++)e.w(b[g])||e.ia(b[g])||d.push(b[g])}QFa(){this.EE=!0;w.al.Cn({po:()=>this.parse(),Je:()=>this.Iq()})}parse(){0<this.Ud.length&&this.$S();0<this.Ac.length&&this.bT();this.qj==f.bj.hH&&(0==this.Ka.length&&(this.Ka=[[[0,0]]]),0==this.rows.length&&(this.rows=[[]]));0<this.PA.length&&this.$Ca();0<this.pB.length&&
this.fDa();return this.vW&&0==this.Ud.length&&0==this.Ac.length&&0==this.PA.length&&0==this.pB.length}$Ca(){for(var b,d,g,l,m,n=this.Tw>this.PA.length?this.PA.length:this.Tw,p=this.PA.splice(0,n),q=e.i.B.F.Qp&&this.ha.Fa===k.j.sa.Nc,t=0;t<n;t++)b=p[t],g=null===b.match(/<Value.*>(.*)<\/Value>/)?0:parseFloat(b.match(/<Value.*>(.*)<\/Value>/)[1]),q&&(l=b.match(/<FmtValue.*>(.*)<\/FmtValue>/),l=null!=l&&1<l.length?l[1]:""),d=parseInt(b.match(/CellOrdinal="(.*)"/)[1]),b=this.QB(d),d=this.FB(d),m=this.Ea[d],
b==this.HC&&this.Ka[this.GC].toString()==this.Ka[d].toString()||-1==this.HC||-1==this.GC||(this.ja.ra.RR(this.rows[this.HC],this.Ka[this.GC],this.zc,this.Ij.zf,this.Ij.nv,this.Ij.type),this.zc=[]),this.zc[m]=q&&this.hf[m].fa==k.j.ca.NONE?k.YH.V().Ty(l,g):g,this.HC=b,this.GC=d;-1!=this.HC&&-1!=this.GC&&this.ja.ra.RR(this.rows[this.HC],this.Ka[this.GC],this.zc,this.Ij.zf,this.Ij.nv,this.Ij.type)}fDa(){for(var b,d,g=this.Tw>this.pB.length?this.pB.length:this.Tw;0<g;){b=this.pB.shift();d=[];for(var l=
0;l<b.getChildren().length;l++)this.hDa(b.getChildren()[l],d,l);this.oB.push(d);g--}}hDa(b,d,g){d[b.localName]=b.text();0>this.uF.indexOf(b.localName)&&this.uF.splice(g,0,b.localName)}FDa(){for(var b=[],d=0;d<this.uF.length;d++)b[this.uF[d]]=d;for(d=0;d<this.oB.length;d++){var g=this.oB[d],l=[],m;for(m in g)l[b[m]]=g[m];this.oB[d]=l}b=this.uF.map(n=>this.gDa(n));this.oB.unshift(b)}gDa(b){b=b.replace(/_x005B_/g,"[");b=b.replace(/_x005D_/g,"]");b=b.replace(/_x0020_/g," ");b=b.replace(/_x0024_/g,"");
var d=this.rc.getItem(b);if(null!=d)return d.caption;d=this.hf.find(g=>g.A===b);if(null!=d)return d.caption;d=b.split("].[");1<d.length&&(b=d[d.length-1].substr(0,d[d.length-1].length-1));return b}FB(b){return b%this.Ka.length}QB(b){return Math.floor(b/this.Ka.length)}bT(){for(var b,d,g=this.Tw>this.Ac.length?this.Ac.length:this.Tw;0<g;){this.rowIndex=0;d=[];b=this.Ac.shift();var l=b.find("Member");for(b=0;b<l.length;b++)this.yDa(l[b],d);this.rows.push(d);g--}}yDa(b,d){var g=b.find("HIERARCHY_UNIQUE_NAME").text();
g=this.rc.getItem(g);null!=g&&(b=this.Yb(b,g),d.push([b.level.xb,b.ordinal]),this.rowIndex++)}$S(){for(var b,d,g=this.Tw>this.Ud.length?this.Ud.length:this.Tw;0<g;){this.vra=0;b=[];d=this.Ud.shift();d=d.find("Member");for(var l=0;l<d.length;l++)this.bDa(d[l],b);this.Ka.push(b);g--}}bDa(b,d){var g=b.find("HIERARCHY_UNIQUE_NAME").text();if("Measures"!=g&&"[Measures]"!=g){var l=this.rc.getItem(g);null==l&&(l=this.rc.getItem("["+g+"]"));null!=l&&(b=this.Yb(b,l),d.push([b.level.xb,b.ordinal]),this.vra++)}else{var m=
b.find("UName").text();d=this.hf.findIndex(n=>n.A===m);this.Ea.push(d)}}Yb(b,d){var g=b.find("UName").text(),l=d.Yb(g);if(e.w(l)){var m=b.find("Caption").text();-1<m.indexOf("(Total")&&(d.mh?g=g.substring(0,g.lastIndexOf(".[(")):(g=g.substring(0,g.lastIndexOf(".[("))+".[(All)]",null==d.Yb(g)&&(g=g.substring(0,g.length-8))),l=d.Yb(g))}e.w(l)&&(m=b.find("Caption").text(),b=b.find("PARENT_UNIQUE_NAME").text(),l=d.ic(new k.O.be({A:g,caption:m,qf:!0,Hh:b})));return l}J2(b){b=w.Ub.og(b);e.wa(!0,e.i.C.u.Bf,
e.P.bind(e.i.C.u.Nl,b))}Iq(){e.wa(!1);this.Jb&&(this.kA?(this.FDa(),this.Jb(this.oB)):this.Jb());this.clear()}Tb(){}clear(){this.na&&(this.na.qb(r.da.Dc,this.O$),this.na.qb(r.da.ge,this.Hy),this.na.qb(r.da.Ca,this.Ma),this.na.close(),this.na=null);this.timer&&this.timer.Mk&&this.timer.stop();this.qj=0;this.Ud=[];this.Ac=[];this.PA=[];this.pB=[];this.oB=[];this.uF=[];this.gP=0;this.LW="";this.Ka=[];this.rows=[];this.Ea=[];this.hf=this.rc=null;this.vW=this.EE=!1;this.HC=this.GC=-1;this.zc=[]}cancel(){this.clear();
this.Jb=null}}c.b7=a})(f.Ai||(f.Ai={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a{constructor(b){this.vl=this.Hk=this.qG=0;this.tq=5E3;this.Uca=1E3;this.state=k.Co.JD;this.ue="";this.fu=!1;this.vca="";this.A9=()=>this.vAa();this.D9=()=>this.xAa();this.Hca=()=>this.gi();this.Hy=d=>this.yp(d);this.Gea=()=>this.wCa();this.Hea=d=>this.xCa(d);this.Eea=()=>this.sCa();this.B9=d=>this.wAa(d);this.Vh=d=>this.Tb(d);c.Df.zb=this.ha=b}im(){this.na=new y.Ej;this.na.contentType=y.mz.nO;this.na.dataType=y.nz.aa;this.na.Pq=
y.Os.Ku;this.dK();const b=JSON.parse(JSON.stringify(e.w(this.ha.wc)?{}:this.ha.wc));this.ha.credentials&&this.ha.credentials.km&&(b.Authorization="Basic "+this.ha.credentials.hash,this.na.withCredentials=!0);this.na.Xi(b)}dK(){e.w(this.ha.withCredentials)||(this.na.withCredentials=this.ha.withCredentials)}eG(){return e.ia(this.hierarchy.Gf)?this.hierarchy.sm<this.Uca:this.hierarchy.sm<10*this.Uca}Ln(){return e.ia(this.ha.Ee)?"["+this.ha.Aa+"]":"("+this.ha.Ee+")"}wsa(b,d){this.ysa=b;this.Ma=d;b=this.Ln();
b=e.P.bind("with member [Measures].[CountAllMembers] as Count({0}.allmembers) select NON EMPTY {[Measures].[CountAllMembers]} ON columns FROM {1}",this.hierarchy.A,b);this.im();this.na.data=y.aa.Bc(c.Df.wv(b));this.na.N(r.da.Dc,this.A9);this.na.N(r.da.Ca,this.Vh);this.na.load(this.ha.Pe)}vAa(){var b=y.aa.create(this.na.response);this.cz(b)&&(this.hierarchy.sm=parseInt(b.find("root CellData Cell Value").text()));this.ysa()}cz(b){return 0==b.length?(e.Wa(e.i.C.u.KD,"",e.Bb.Ca),e.wa(!1),!1):0<b.find("root Fault").length?
(e.Wa(y.aa.Bc(b.find("root Fault faultstring")),"Query error!",e.Bb.Ca),!1):!0}load(b,d,g){this.ue="";this.OC&&(this.OC.length=0);this.vl=this.Hk=this.qG=0;this.Jb=d;this.Ma=g;this.Mb=b;this.eG()?this.Ek():this.count()}count(){var b=this.Ln();b=null==this.Mb?e.P.bind("with member [Measures].[CountMembers] as Count({0}.levels(1).allmembers) select  NON EMPTY {[Measures].[CountMembers]} ON columns FROM {1}",this.hierarchy.A,b):e.P.bind("with member [Measures].[CountMembers] as Count({0}.children) select NON EMPTY {[Measures].[CountMembers]} ON columns FROM {1}",
this.Mb.A,b);this.im();this.na.data=y.aa.Bc(c.Df.wv(b));this.na.N(r.da.Dc,this.D9);this.na.N(r.da.Ca,this.Vh);this.na.load(this.ha.Pe)}xAa(){var b=y.aa.create(this.na.response);this.cz(b)&&(this.qG=parseInt(b.find("root CellData Cell Value").text()),this.Ek())}$A(){return""}kY(){return""}Ek(){var b=this.kY();this.state=k.Co.JD;this.im();this.na.data=y.aa.Bc(c.Df.wv(b));this.na.N(r.da.Dc,this.Hca);this.na.N(r.da.ge,this.Hy);this.na.N(r.da.Ca,this.Vh);this.na.load(this.ha.Pe)}gi(){this.vl+=this.na.Qh;
var b=y.aa.create(this.na.response);this.na.close();this.na=null;this.cz(b)&&this.DC(b);this.Hk+=this.tq;this.Hk<this.qG&&!this.eG()?this.Ek():this.GS()}DC(b){var d=b.find("root");if(0<d.find("Fault").length)e.Wa(y.aa.Bc(d.find("Fault faultstring")),"Query error!",e.Bb.Ca);else{b=[];d=d.find('Axes Axis[name="Axis0"] Tuples Tuple Member');for(var g=this.hierarchy.wh,l=0;l<d.length;l++)b.push(this.aT(d[l],l+g));return b}}aT(){return null}GS(){e.wa(!1);this.Jb(this.hierarchy)}yp(b){b=w.Ub.og(b.data.loaded+
this.vl);e.wa(!0,e.i.C.u.sn,this.hierarchy.caption+", "+e.P.bind(e.i.C.u.Nl,b))}Tb(b){e.Wa(b.message,"Error",e.Bb.Ca);null!=this.Ma&&(this.Ma(),this.Ma=null)}OX(b,d,g,l,m){this.Jb=l;this.Ma=m;this.fu=g;this.hierarchy=b;this.state=k.Co.D3;b=[];for(g=0;g<d.length;g++)b.push(e.P.bind("Ascendants({0})",d[g]));d="{"+b.join(", ")+"}";this.vl=0;this.im();b=this.Ln();d=e.P.bind("SELECT Hierarchize(Distinct({0})) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {1}",d,b);this.na.data=y.aa.Bc(c.Df.wv(d));
this.na.N(r.da.Dc,()=>this.E0());this.na.N(r.da.ge,this.Hy);this.na.N(r.da.Ca,this.Vh);this.na.load(this.ha.Pe)}E0(){this.vl+=this.na.Qh;var b=y.aa.create(this.na.response);this.na.close();this.na=null;if(this.cz(b)){b=this.DC(b);for(var d=0;d<b.length;d++)this.hierarchy.ya(b[d]).qf=!0;this.fu?this.L2(b,this.Ma):this.hierarchy.vv()}this.fu||this.Jb(this.hierarchy)}Ix(b,d,g,l,m){this.Jb=l;this.Ma=m;this.hierarchy=b;this.vca=g;this.state=k.Co.Yha;this.vl=0;this.im();b=this.Ln();d=e.P.bind("SELECT Hierarchize(Distinct(Descendants({0}, {1}, SELF_AND_BEFORE))) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {2}",
d.A,g,b);this.na.data=y.aa.Bc(c.Df.wv(d));this.na.N(r.da.Dc,()=>this.JAa());this.na.N(r.da.ge,this.Hy);this.na.N(r.da.Ca,this.Vh);this.na.load(this.ha.Pe)}JAa(){this.vl+=this.na.Qh;var b=y.aa.create(this.na.response);this.na.close();this.na=null;if(this.cz(b)){b=this.DC(b);for(var d=0;d<b.length;d++){var g=this.hierarchy.ya(b[d]);g.level.A==this.vca?g.qf=!0:this.hierarchy.Lx(g)}}this.Jb(this.hierarchy)}L2(b,d){this.Ma=d;d=[];for(var g=0;g<b.length;g++)d.push(e.P.bind("{0}.Siblings",this.hierarchy.ya(b[g]).A));
b="{"+d.join(", ")+"}";this.state=k.Co.H6;this.vl=0;this.im();d=this.Ln();b=e.P.bind("SELECT Hierarchize(Distinct({0})) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {1}",b,d);this.na.data=y.aa.Bc(c.Df.wv(b));this.na.N(r.da.Dc,()=>this.B1());this.na.N(r.da.ge,this.Hy);this.na.N(r.da.Ca,this.Vh);this.na.load(this.ha.Pe)}B1(){this.vl+=this.na.Qh;var b=y.aa.create(this.na.response);this.na.close();this.na=null;this.fu=!1;if(this.cz(b)){b=this.DC(b);for(var d=0;d<b.length;d++)this.hierarchy.ya(b[d]).qf=
!0;this.hierarchy.vv()}this.Jb(this.hierarchy)}search(b,d,g){this.ue=b.toLowerCase().replace(/"/g,'""').replace(/'/g,"''");this.Jb=d;this.Ma=g;this.vl=this.Hk=this.qG=0;this.state=k.Co.IV;this.OC&&0<this.OC.length?this.OC.length=0:this.OC=[];this.Bsa()}mY(){var b=e.P.bind("SET [SearchMembersSet] AS 'FILTER(EXCEPT({0}.allmembers, {1}), (INSTR(1, {0}.CurrentMember.member_caption, {2}) > 0))'",this.hierarchy.A,this.hierarchy.gl,'"'+this.ue+'"');var d=e.P.bind("SET [SearchParentsSet] AS 'EXCEPT(GENERATE([SearchMembersSet], ASCENDANTS([SearchMembersSet].Current)), {0})'",
this.hierarchy.gl);return b+"\n"+d+"\nSET [SearchSet] AS 'HIERARCHIZE(DISTINCT({[SearchMembersSet], [SearchParentsSet]}))'"}Bsa(){var b=this.Ln(),d="MEMBER [Measures].[CountSearchSet] AS 'COUNT([SearchSet])'\nSELECT NON EMPTY {[Measures].[CountSearchSet]} ON COLUMNS FROM {0}";d="WITH "+this.mY()+"\n"+e.P.bind(d,b);this.im();this.na.data=y.aa.Bc(c.Df.wv(d));this.na.N(r.da.Dc,this.Eea);this.na.N(r.da.ge,this.B9);this.na.N(r.da.Ca,this.Vh);this.na.load(this.ha.Pe)}sCa(){var b=y.aa.create(this.na.response);
this.cz(b)&&(this.qG=parseInt(b.find("root CellData Cell Value").text()),this.Hp())}wAa(b){e.wa(!0,"Counting members...",this.hierarchy.caption+", "+Math.round(b.data.loaded/1E3)+"K loaded")}Hp(){var b=this.Ln(),d="SELECT SUBSET([SearchSet], {0}, {1}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME ON COLUMNS FROM {2}";d="WITH "+this.mY()+"\n"+e.P.bind(d,this.Hk,this.tq,b);this.im();this.na.data=y.aa.Bc(c.Df.wv(d));this.na.N(r.da.Dc,this.Gea);this.na.N(r.da.ge,this.Hea);this.na.N(r.da.Ca,this.Vh);this.na.load(this.ha.Pe)}xCa(b){b=
w.Ub.og(b.data.loaded+this.vl);e.wa(!0,e.i.C.u.sn,this.hierarchy.caption+", "+e.P.bind(e.i.C.u.Nl,b))}wCa(){this.vl+=this.na.Qh;var b=y.aa.create(this.na.response);this.na.close();this.na=null;this.cz(b)&&this.ADa(b);this.Hk+=this.tq;this.Hk<this.qG?this.Hp():this.xC()}ADa(b){b=b.find("root");if(0<b.find("Fault").length)e.Wa(y.aa.Bc(b.find("Fault faultstring")),"Query error!",e.Bb.Ca);else{b=b.find('Axes Axis[name="Axis0"] Tuples Tuple Member');for(var d=0;d<b.length;d++)this.zDa(b[d])}}zDa(b){var d=
b.find("PARENT_UNIQUE_NAME").text();var g=b.find("Caption").text(),l=b.find("UName").text(),m=parseInt(b.find("MEMBER_ORDINAL").text()),n=this.hierarchy.Yb(l);if(null==n&&(n=this.hierarchy.ic(new k.O.be({A:l,caption:g,sc:m,Hh:d})),n.level&&0<n.level.De.length))for(g=0;g<n.level.De.length;g++)d=n.level.De.ea(g),n.setProperty(d.A,b.find(d.EM).text());n.parent&&!n.parent.Rb&&(n.parent.qf=!0);this.OC.push(n.ordinal)}xC(){e.wa(!1);this.Jb(this.OC)}cancel(){this.na&&(this.na.qb(r.da.Dc,this.A9),this.na.qb(r.da.Dc,
this.D9),this.na.qb(r.da.Dc,this.Hca),this.na.qb(r.da.ge,this.Hy),this.na.qb(r.da.Dc,this.Gea),this.na.qb(r.da.ge,this.Hea),this.na.qb(r.da.Dc,this.Eea),this.na.qb(r.da.ge,this.B9),this.na.qb(r.da.Ca,this.Vh),this.na.close());this.Ma=this.na=null}}c.c7=a})(f.Ai||(f.Ai={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a{constructor(b){this.Aa=k.Sa.V();this.l3=!0;this.i$=()=>this.JS();this.j$=d=>this.KAa(d);this.wza=()=>this.MBa();this.yza=d=>this.OBa(d);this.Vh=d=>this.Tb(d);this.vba=()=>this.S0();this.wba=d=>this.mBa(d);this.xca=()=>this.$0();this.yca=d=>this.yBa(d);this.cea=()=>this.fCa();this.dea=d=>this.hCa(d);this.Oca=()=>this.g1();this.Pca=d=>this.QBa(d);this.G5=()=>this.X0();this.H5=d=>this.tBa(d);this.ha=b;this.nl=new y.Ej;this.pC=new y.Ej;
this.jp=new y.Ej;this.sp=new y.Ej;this.np=new y.Ej;this.qp=new y.Ej;this.Cp=new y.Ej}ep(b){return b.find("row")}load(b,d,g,l){this.Hb=d;this.Ma=g;this.ye=l;this.n0(this.H0)}im(b){this.dK(b);this.Xi(b)}dK(b){e.w(this.ha.withCredentials)||(b.withCredentials=this.ha.withCredentials)}Xi(b){b.contentType=y.mz.nO;b.dataType=y.nz.aa;b.Pq=y.Os.Ku;const d=JSON.parse(JSON.stringify(e.w(this.ha.wc)?{}:this.ha.wc));this.l3&&(d.Accept="application/xml");this.ha.credentials&&this.ha.credentials.km&&(d.Authorization=
"Basic "+this.ha.credentials.hash,b.withCredentials=!0);b.Xi(d);return b}Tb(b){this.nl.fe(r.da.Ca);this.nl.fe(r.da.Dc);this.nl.fe(r.da.ge);b=b.target.url.trim();b=e.i.C.u.Zka.replace("{0}",'<u><a href="'+b+'">'+b+"</a></u>");e.Wa(b,"",e.Bb.Ca);this.Ma()}ps(){null!=this.ye&&(this.ye(),this.ye=null)}n0(b){e.wa(!0,e.i.C.u.UH);this.pF=b;this.im(this.nl);c.Df.zb=this.ha;this.nl.data=y.aa.Bc(c.Df.Jra());this.nl.N(r.da.Dc,this.i$);this.nl.N(r.da.ge,this.j$);this.nl.N(r.da.Ca,this.Vh);this.nl.load(this.ha.Pe)}KAa(b){b=
w.Ub.og(b.data.loaded);e.wa(!0,e.i.C.u.UH,e.P.bind(e.i.C.u.Nl,b))}JS(){this.ps();var b=y.aa.create(this.nl.response);b=this.ep(b);if(0<b.length){for(var d=0;d<b.length;d++)this.Fda(b[d]);this.pF()}else e.Wa(e.i.C.u.KD,"",e.Bb.Ca),e.wa(!1)}Fda(b){var d=b.find("DIMENSION_UNIQUE_NAME").text(),g=this.ha.mapping.Ha(d,"caption",b.find("DIMENSION_CAPTION").text());b=parseInt(b.find("DIMENSION_TYPE").text());d=new k.O.fz(d,g);d.type=b;this.Aa.O.jt(d)}H0(){this.ha.Fa==k.j.sa.Nc?this.gza(this.NBa):this.tS(this.RS)}gza(b){e.wa(!0,
e.i.C.u.UH);this.xza=b;this.im(this.pC);c.Df.zb=this.ha;this.pC.data=y.aa.Bc(c.Df.Yra());this.pC.N(r.da.Dc,this.wza);this.pC.N(r.da.ge,this.yza);this.pC.N(r.da.Ca,this.Vh);this.pC.load(this.ha.Pe)}OBa(b){b=w.Ub.og(b.data.loaded);e.wa(!0,e.i.C.u.UH,e.P.bind(e.i.C.u.Nl,b))}MBa(){this.ps();var b=y.aa.create(this.pC.response);b=this.ep(b);for(var d=0;d<b.length;d++)this.sDa(b[d]);this.xza()}sDa(b){var d=b.find("DIMENSION_UNIQUE_NAME").text(),g=b.find("MEASUREGROUP_NAME").text();b=b.find("DIMENSION_GRANULARITY").text();
d=this.Aa.O.bp(d);if(null!=d){d.UB||(d.UB=[]);var l=d.UB;l[g]=b;d.UB=l}}NBa(){this.tS(this.RS)}tS(b){e.wa(!0,e.i.C.u.tV);this.XK=b;this.im(this.jp);this.jp.data=y.aa.Bc(c.Df.xv());this.jp.N(r.da.Dc,this.vba);this.jp.N(r.da.ge,this.wba);this.jp.N(r.da.Ca,this.Vh);this.jp.load(this.ha.Pe)}S0(){var b=y.aa.create(this.jp.response);b=this.ep(b);if(0==b.length)e.Wa(e.i.C.u.KD,"",e.Bb.Ca),e.wa(!1);else{for(var d=0;d<b.length;d++)this.nDa(b[d]);this.XK()}}nDa(b){var d=b.find("DIMENSION_UNIQUE_NAME").text(),
g=b.find("HIERARCHY_UNIQUE_NAME").text(),l=this.ha.mapping.Ha(g,"caption",b.find("HIERARCHY_CAPTION").text()),m=parseInt(b.find("DIMENSION_TYPE").text()),n=b.find("HIERARCHY_DISPLAY_FOLDER").text(),p=b.find("ALL_MEMBER").text(),q=b.find("DEFAULT_MEMBER").text();b=parseInt(b.find("STRUCTURE").text());d=this.Aa.O.bp(d);null!=d&&(g=this.ha.Fa==k.j.sa.Nc?new f.O.zV(g,l):new f.tp.O.i6(g,l),g.origin=1,g.Xc=n,g.type=k.j.Ic.xB(m),g.gl=p,g.zq=q,1==b&&(g.hL=!0),2==b&&(g.Tr=!0),d.Rh(g))}mBa(b){b=w.Ub.og(b.data.loaded);
e.wa(!0,e.i.C.u.tV,e.P.bind(e.i.C.u.Nl,b))}RS(){this.sL(this.b1)}sL(b){e.wa(!0,e.i.C.u.uV);this.qL=b;this.im(this.qp);this.qp.data=y.aa.Bc(c.Df.Wra());this.qp.N(r.da.Dc,this.xca);this.qp.N(r.da.ge,this.yca);this.qp.N(r.da.Ca,this.Vh);this.qp.load(this.ha.Pe)}yBa(b){b=w.Ub.og(b.data.loaded);e.wa(!0,e.i.C.u.uV,e.P.bind(e.i.C.u.Nl,b))}$0(){var b=y.aa.create(this.qp.response);b=this.ep(b);if(0==b.length)e.Wa(e.i.C.u.KD,"",e.Bb.Ca),e.wa(!1);else{for(var d=0;d<b.length;d++)this.Jda(b[d]);this.qL()}}b1(){e.i.B.F.IG?
this.hza(this.gCa):this.vS(this.US)}Jda(b){var d=b.find("DIMENSION_UNIQUE_NAME").text(),g=b.find("HIERARCHY_UNIQUE_NAME").text(),l=b.find("LEVEL_CAPTION").text(),m=parseInt(b.find("LEVEL_TYPE").text()),n=b.find("LEVEL_UNIQUE_NAME").text();b=parseInt(b.find("LEVEL_NUMBER").text());d=this.Aa.O.bp(d);null!=d&&(g=d.Fg(g),null!=g&&(l=new k.O.Bs(n,l,b),l.type=k.j.rb.xB(m),g.Ng(l),d.Rh(g)))}hza(b){e.wa(!0,e.i.C.u.a6);this.SDa=b;this.im(this.Cp);this.Cp.data=y.aa.Bc(c.Df.asa());this.Cp.N(r.da.Dc,this.cea);
this.Cp.N(r.da.ge,this.dea);this.Cp.N(r.da.Ca,this.Vh);this.Cp.load(this.ha.Pe)}hCa(b){b=w.Ub.og(b.data.loaded);e.wa(!0,e.i.C.u.a6,e.P.bind(e.i.C.u.Nl,b))}fCa(){var b=y.aa.create(this.Cp.response);b=this.ep(b);if(0!=b.length)for(var d=0;d<b.length;d++)this.K1(b[d]);this.SDa()}K1(){}gCa(){this.vS(this.US)}vS(b){e.wa(!0,e.i.C.u.RN);this.uL=b;this.im(this.sp);this.sp.data=y.aa.Bc(c.Df.Mn());this.sp.N(r.da.Dc,this.Oca);this.sp.N(r.da.ge,this.Pca);this.sp.N(r.da.Ca,this.Vh);this.sp.load(this.ha.Pe)}QBa(b){b=
w.Ub.og(b.data.loaded);e.wa(!0,e.i.C.u.RN,e.P.bind(e.i.C.u.Nl,b))}g1(){var b=y.aa.create(this.sp.response);b=this.ep(b);if(0==b.length)e.Wa(e.i.C.u.KD,"",e.Bb.Ca),e.wa(!1);else{for(var d=0;d<b.length;d++)this.tDa(b[d]);this.uL()}}tDa(b){var d=b.find("MEASURE_UNIQUE_NAME").text(),g=this.ha.mapping.Ha(d,"caption",b.find("MEASURE_CAPTION").text()),l=b.find("MEASUREGROUP_NAME").text();b=b.find("MEASURE_DISPLAY_FOLDER").text()||"";g=new f.O.Gz(d,g);g.type=1;g.$h=l;g.Xc=b;g.Kd=this.ha.mapping.Ha(d,"aggregations");
this.Aa.O.Kj(g)}US(){this.uS(this.Y0)}uS(b){e.wa(!0,e.i.C.u.Z5);this.kL=b;this.im(this.np);this.np.data=y.aa.Bc(c.Df.Sra());this.np.N(r.da.Dc,this.G5);this.np.N(r.da.ge,this.H5);this.np.N(r.da.Ca,this.Vh);this.np.load(this.ha.Pe)}tBa(b){b=w.Ub.og(b.data.loaded);e.wa(!0,e.i.C.u.RN,e.P.bind(e.i.C.u.Nl,b))}X0(){var b=y.aa.create(this.np.response);b=this.ep(b);if(0!=b.length)for(var d=0;d<b.length;d++)this.oDa(b[d]);this.kL()}oDa(b){var d=b.find("KPI_NAME").text(),g=this.ha.mapping.Ha(d,"caption",b.find("KPI_CAPTION").text()),
l=b.find("KPI_VALUE").text(),m=b.find("KPI_STATUS").text(),n=b.find("KPI_GOAL").text();b=b.find("KPI_TREND").text();d=new f.O.m6(d,g);d.value=l;d.status=m;d.Tv=n;d.zw=b;this.Aa.O.wX(d,this.ha.mapping)}Y0(){e.wa(!1);null!=this.Hb&&this.Hb()}Ek(b,d,g){e.wa(!0,e.i.C.u.sn,b.caption);this.Hb=d;this.Ma=g;this.wl.hierarchy=b;this.wl.wsa(()=>{this.Dk(b,null,l=>this.pj(l),g)},this.Ma)}pj(b){var d=b.mu;if(0<b.filter.Bl.length)this.rL(b,b.filter.Bl,b.filter.yG,l=>this.pj(l),this.Ma);else if(0<d.length){var g=
d.shift();b.mu=d;d=b.Yb(g[1]);b.Lx(d);null!=g[0]&&""!=g[0]?this.uy(d,g[0],l=>this.pj(l),this.Ma):this.Dk(b,d,l=>this.pj(l),this.Ma)}else this.Hb(b)}Dk(b,d,g,l){e.wa(!0,e.i.C.u.sn,b.caption);this.wl.hierarchy=b;this.wl.load(d,g,l)}rL(b,d,g,l,m){this.wl.hierarchy=b;this.wl.OX(b,d,g,l,m)}uy(b,d,g,l){this.wl.hierarchy=b.hierarchy;this.wl.Ix(b.hierarchy,b,d,g,l)}Hp(b,d,g,l){this.wl.hierarchy=b;this.wl.search(d,g,l)}NA(){return!0}cancel(){this.nl&&(this.nl.qb(r.da.Dc,this.i$),this.nl.qb(r.da.ge,this.j$),
this.nl.qb(r.da.Ca,this.Vh),this.nl.close(),this.nl=null);this.jp&&(this.jp.qb(r.da.Dc,this.vba),this.jp.qb(r.da.ge,this.wba),this.jp.qb(r.da.Ca,this.Vh),this.jp.close(),this.jp=null);this.qp&&(this.qp.qb(r.da.Dc,this.xca),this.qp.qb(r.da.ge,this.yca),this.qp.qb(r.da.Ca,this.Vh),this.qp.close(),this.qp=null);this.Cp&&(this.Cp.qb(r.da.Dc,this.cea),this.Cp.qb(r.da.ge,this.dea),this.Cp.qb(r.da.Ca,this.Vh),this.Cp.close(),this.Cp=null);this.sp&&(this.sp.qb(r.da.Dc,this.Oca),this.sp.qb(r.da.ge,this.Pca),
this.sp.qb(r.da.Ca,this.Vh),this.sp.close(),this.sp=null);this.np&&(this.np.qb(r.da.Dc,this.G5),this.np.qb(r.da.ge,this.H5),this.np.qb(r.da.Ca,this.Vh),this.np.close(),this.np=null);this.wl&&(this.wl.cancel(),this.wl=null);this.ye=this.Ma=this.Hb=null}}c.d7=a})(f.Ai||(f.Ai={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a{static wv(b){var d=y.aa.create("<DataSourceInfo/>").text(this.zb.xh),g=y.aa.create("<Catalog/>").text(this.zb.qe),l=y.aa.create("<AxisFormat/>").text("TupleFormat"),m=y.aa.create("<Content/>").text("Data"),n=y.aa.create("<Format/>").text("Multidimensional");d=a.Fr([d,g,l,m,n]);b=y.aa.create('<Execute xmlns="urn:schemas-microsoft-com:xml-analysis"><Command><Statement><![CDATA['+b+"]]\x3e</Statement></Command>"+y.aa.Bc(d)+"</Execute>");
return a.$o(b)}static Fra(){return a.$o(a.Er(y.aa.create("<RequestType/>").text("DISCOVER_DATASOURCES"),y.aa.create("<Restrictions/>"),y.aa.create("<Properties/>")))}static dsa(){var b=y.aa.create("<Content/>").text("Data"),d=y.aa.create("<DataSourceInfo/>").text(this.zb.xh);b=a.Fr([b,d]);return a.$o(a.Er(y.aa.create("<RequestType/>").text("DISCOVER_PROPERTIES"),y.aa.create("<Restrictions/>").append(y.aa.create("<RestrictionList/>").append(y.aa.create("<PropertyName/>").text("DBMSVersion"))),b))}static zra(){var b=
y.aa.create("<DataSourceInfo/>").text(this.zb.xh),d=y.aa.create("<Format/>").text("Tabular");b=a.Fr([b,d]);d=y.aa.create("<RequestType/>").text("DBSCHEMA_CATALOGS");var g=y.aa.create("<Restrictions/>");return a.$o(a.Er(d,g,b))}static Era(){var b=y.aa.create("<DataSourceInfo/>").text(this.zb.xh),d=y.aa.create("<Catalog/>").text(this.zb.qe),g=y.aa.create("<Format/>").text("Tabular");b=a.Fr([b,d,g]);d=y.aa.create("<CATALOG_NAME/>").text(this.zb.qe);d=a.Bx([d]);g=y.aa.create("<RequestType/>").text("MDSCHEMA_CUBES");
return a.$o(a.Er(g,d,b))}static Jra(){var b=y.aa.create("<DataSourceInfo/>").text(this.zb.xh),d=y.aa.create("<Catalog/>").text(this.zb.qe),g=y.aa.create("<Format/>").text("Tabular");b=a.Fr([b,d,g]);d=y.aa.create("<CATALOG_NAME/>").text(this.zb.qe);g=y.aa.create("<CUBE_NAME/>").text(this.zb.Aa);d=a.Bx([d,g]);g=y.aa.create("<RequestType/>").text("MDSCHEMA_DIMENSIONS");return a.$o(a.Er(g,d,b))}static Yra(){var b=y.aa.create("<DataSourceInfo/>").text(this.zb.xh),d=y.aa.create("<Catalog/>").text(this.zb.qe),
g=y.aa.create("<Format/>").text("Tabular");b=a.Fr([b,d,g]);d=y.aa.create("<CATALOG_NAME/>").text(this.zb.qe);g=y.aa.create("<CUBE_NAME/>").text(this.zb.Aa);d=a.Bx([d,g]);g=y.aa.create("<RequestType/>").text("MDSCHEMA_MEASUREGROUP_DIMENSIONS");return a.$o(a.Er(g,d,b))}static xv(){var b=y.aa.create("<DataSourceInfo/>").text(this.zb.xh),d=y.aa.create("<Catalog/>").text(this.zb.qe),g=y.aa.create("<Cube/>").text(this.zb.Aa),l=y.aa.create("<Format/>").text("Tabular");b=a.Fr([b,d,g,l]);d=y.aa.create("<CATALOG_NAME/>").text(this.zb.qe);
g=y.aa.create("<CUBE_NAME/>").text(this.zb.Aa);d=a.Bx([d,g]);g=y.aa.create("<RequestType/>").text("MDSCHEMA_HIERARCHIES");return a.$o(a.Er(g,d,b))}static Wra(){var b=y.aa.create("<DataSourceInfo/>").text(this.zb.xh),d=y.aa.create("<Catalog/>").text(this.zb.qe),g=y.aa.create("<Cube/>").text(this.zb.Aa),l=y.aa.create("<Format/>").text("Tabular");b=a.Fr([b,d,g,l]);d=y.aa.create("<CATALOG_NAME/>").text(this.zb.qe);g=y.aa.create("<CUBE_NAME/>").text(this.zb.Aa);d=a.Bx([d,g]);g=y.aa.create("<RequestType/>").text("MDSCHEMA_LEVELS");
return a.$o(a.Er(g,d,b))}static asa(){var b=y.aa.create("<DataSourceInfo/>").text(this.zb.xh),d=y.aa.create("<Catalog/>").text(this.zb.qe),g=y.aa.create("<Cube/>").text(this.zb.Aa),l=y.aa.create("<Format/>").text("Tabular");b=a.Fr([b,d,g,l]);d=y.aa.create("<CATALOG_NAME/>").text(this.zb.qe);g=y.aa.create("<CUBE_NAME/>").text(this.zb.Aa);d=a.Bx([d,g]);g=y.aa.create("<RequestType/>").text("MDSCHEMA_PROPERTIES");return a.$o(a.Er(g,d,b))}static Sra(){var b=y.aa.create("<DataSourceInfo/>").text(this.zb.xh),
d=y.aa.create("<Catalog/>").text(this.zb.qe),g=y.aa.create("<Cube/>").text(this.zb.Aa),l=y.aa.create("<Format/>").text("Tabular");b=a.Fr([b,d,g,l]);d=y.aa.create("<CATALOG_NAME/>").text(this.zb.qe);g=y.aa.create("<CUBE_NAME/>").text(this.zb.Aa);d=a.Bx([d,g]);g=y.aa.create("<RequestType/>").text("MDSCHEMA_KPIS");return a.$o(a.Er(g,d,b))}static Mn(){var b=y.aa.create("<DataSourceInfo/>").text(this.zb.xh),d=y.aa.create("<Catalog/>").text(this.zb.qe),g=y.aa.create("<Cube/>").text(this.zb.Aa),l=y.aa.create("<Format/>").text("Tabular");
b=a.Fr([b,d,g,l]);d=y.aa.create("<CATALOG_NAME/>").text(this.zb.qe);g=y.aa.create("<CUBE_NAME/>").text(this.zb.Aa);d=a.Bx([d,g]);g=y.aa.create("<RequestType/>").text("MDSCHEMA_MEASURES");return a.$o(a.Er(g,d,b))}static $o(b){var d=y.aa.create('<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" flexmonster="true"><SOAP-ENV:Body></SOAP-ENV:Body></SOAP-ENV:Envelope>');
d.firstElementChild.appendChild(b);return d}static Fr(b){var d=y.aa.create("<PropertyList/>").attr("flexmonster","true"),g=y.aa.create("<Properties/>");if(""!=a.zb.Yj){var l=y.aa.create("<Roles/>").text(a.zb.Yj);b.push(l)}""!=a.zb.Oi&&(l=y.aa.create("<EffectiveUserName/>").text(a.zb.Oi),b.push(l));""!=a.zb.Ui&&(l=y.aa.create("<LocaleIdentifier/>").text(a.zb.Ui),b.push(l));""!=a.zb.Zl&&(l=y.aa.create("<CustomData/>").text(a.zb.Zl),b.push(l));for(l=0;l<b.length;l++)d.append(b[l]);g.append(d);return g}static Bx(b){for(var d=
y.aa.create("<RestrictionList/>"),g=y.aa.create("<Restrictions/>"),l=0;l<b.length;l++)d.append(b[l]);g.append(d);return g}static Er(b,d,g){return y.aa.create('<Discover xmlns="urn:schemas-microsoft-com:xml-analysis">'+y.aa.Bc(b)+y.aa.Bc(d)+y.aa.Bc(g)+"</Discover>")}static Ara(b,d,g){var l=y.aa.create('<ClearCache xmlns="http://schemas.microsoft.com/analysisservices/2003/engine"/>'),m=y.aa.create("<Object/>");null!=b&&m.append(y.aa.create("<DatabaseID/>").text(b));null!=d&&m.append(y.aa.create("<CubeID/>").text(d));
null!=g&&m.append(y.aa.create("<MeasureGroupID/>").text(g));l.append(m);return a.$o(y.aa.create('<Execute xmlns="urn:schemas-microsoft-com:xml-analysis"/>').append(y.aa.create("<Command/>").append(l)).append(y.aa.create("<Properties/>")))}}c.Df=a})(f.Ai||(f.Ai={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a{constructor(){this.QL=this.gT="";if(null!=a.La)throw Error("Singleton");}static V(){null==a.La&&(a.La=new a);return a.La}static dispose(){a.La=null}ep(b){return b.find("row")}KT(){this.na=new y.Ej;this.na.contentType=y.mz.nO;this.na.Pq=y.Os.Ku}XF(b,d){this.Jb=d;this.QL!=b?this.Eaa(b,()=>function(){d(this.gT)}):this.Jb&&this.Jb(this.gT);return this.gT}Eaa(b,d){this.Jb=d;this.QL=b;this.KT();this.na.data=y.aa.Bc(c.Df.Fra());this.na.N(r.da.Dc,
()=>this.DAa());this.na.N(r.da.Ca,()=>this.EAa());this.na.load(b)}DAa(){var b=y.aa.create(this.na.response);b=this.ep(b);for(var d=[],g=0;g<b.length;g++){var l=b[g].find("DataSourceName").text();this.gT=b[g].find("ProviderName").text();d.push(l)}this.Jb&&this.Jb(d)}EAa(){const b=e.i.Vb.valid(this.QL)?this.QL:e.i.Vb.Mc(this.QL);e.Wa("Error opening URL <u>"+b+"</u><br/>Please check your Internet connection.<br/><br/><u><a href='https://www.flexmonster.com/doc/typical-errors/#url-error' target='_blank'>Read more info about this error</a></u>",
e.i.C.u.Ca,e.Bb.Ca);this.Jb&&this.Jb([])}Cva(b,d,g){this.Jb=g;c.Df.zb=new f.Do;c.Df.zb.xh=d;this.KT();this.na.data=y.aa.Bc(c.Df.zra());this.na.N(r.da.Dc,()=>this.cAa());this.na.N(r.da.Ca,()=>this.dAa());this.na.load(b)}cAa(){var b=y.aa.create(this.na.response);b=this.ep(b);for(var d=[],g=0;g<b.length;g++){var l=b[g].find("CATALOG_NAME").text();d.push(l)}this.Jb&&this.Jb(d)}dAa(){e.Wa("Error discovering catalogs",e.i.C.u.Ca,e.Bb.Ca);this.Jb&&this.Jb([])}Sva(b,d,g,l){this.Jb=l;c.Df.zb=new f.Do;c.Df.zb.xh=
d;c.Df.zb.qe=g;this.KT();this.na.data=y.aa.Bc(c.Df.Era());this.na.N(r.da.Dc,()=>this.yAa());this.na.N(r.da.Ca,()=>this.zAa());this.na.load(b)}yAa(){var b=y.aa.create(this.na.response);b=this.ep(b);for(var d=[],g=0;g<b.length;g++){var l=b[g].find("CUBE_NAME").text();d.push(l)}this.Jb&&this.Jb(d)}zAa(){e.Wa("Error discovering cubes",e.i.C.u.Ca,e.Bb.Ca);this.Jb&&this.Jb([])}SP(b,d,g,l,m){this.KT();this.na.data=y.aa.Bc(c.Df.Ara(d,g,l));this.na.N(r.da.Dc,()=>this.jAa(m));this.na.N(r.da.Ca,()=>this.kAa(m));
this.na.load(b)}jAa(b){null!=b&&b({complete:!0,response:this.na.response})}kAa(b){null!=b&&b({complete:!1})}}c.Z6=a})(f.Ai||(f.Ai={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a{constructor(b,d=null){this.WW=this.dJ=this.oE="";null==d?this.oE=b:(this.dJ=b,this.WW=d)}set hash(b){}get hash(){return 0<this.oE.length?this.oE:w.Rga.encode(this.dJ+":"+this.WW)}set km(b){}get km(){return this.oE&&0<this.oE.length||this.dJ&&0<this.dJ.length}static yb(b){var d=new a("");b.hasOwnProperty("hash")&&(d.oE=b.hash?b.hash:"");b.hasOwnProperty("username")&&(d.dJ=b.username?b.username:"");b.hasOwnProperty("password")&&
(d.WW=b.password?b.password:"");return d}}c.a7=a})(f.Ai||(f.Ai={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a{lw(b){if(e.i.Ya.V().nba(e.i.Ya.VV)){const d=new e.i.bd(e.i.Ya.VV,g=>{if(!e.w(g)&&!e.w(g.requestHeaders)){const l=this.ma.wc||{};for(let m in g.requestHeaders)g.requestHeaders.hasOwnProperty(m)&&(l[m]=g.requestHeaders[m]);this.ma.wc=l;this.Qe.wc=l}b(!0)});e.i.Ya.V().Ga(d)}else b(!1)}}c.oU=a})(f.Mo||(f.Mo={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends c.oU{constructor(b){super();this.Aa=k.Sa.V();this.ma=b;this.na=new c.Jga(b)}load(b,d,g,l){this.ma=b;this.Hb=d;this.ye=l;this.Ma=g;this.Qe=new c.dO(this.ma.Pe,e.i.ua.pa.J(e.i.ua.pa.hT),!0,this.ma.wc,this.ma.withCredentials);this.mba=()=>this.mM();this.mxa()}mxa(){e.wa(!0,e.i.C.u.LD);null!=this.Qe&&this.Qe.call("Handshaking",{componentVersion:e.Mh.Fw,acceleratorMinVersion:a.nga},()=>this.mba(),b=>this.Tb(b),b=>this.lw(b))}mM(){null!=
this.ye&&(this.ye(),this.ye=null);this.pF=()=>this.H0();this.n0()}n0(){null!=this.Qe&&(e.wa(!0,e.i.C.u.UH),this.Qe.call("DiscoverDimensions",{catalog:this.ma.qe,cubeUniqueName:this.ma.Aa,credentials:this.ma.credentials&&this.ma.credentials.km?this.ma.credentials.hash:null,customData:this.ma.Zl,localeIdentifier:this.ma.Ui,effectiveUserName:this.ma.Oi,roles:this.ma.Yj},(b,d)=>this.JS(b,d),b=>this.Tb(b),b=>this.lw(b)))}JS(b,d){if(null!=this.pF){null!=d&&0<d.sessionId&&(f.Do.sessionId=d.sessionId);for(d=
0;d<b.length;d++){var g=b[d];var l=g.uniqueName;var m=this.ma.mapping.Ha(l,"caption",g.caption),n=g.type;l=new f.O.Fla(l,m);l.type=n;l.UB=g.granularityNames;l.description=g.description;this.Aa.O.jt(l)}this.pF()}}H0(){this.XK=()=>this.RS();this.tS()}tS(){null!=this.Qe&&(e.wa(!0,e.i.C.u.tV),this.Qe.call("DiscoverHierarchies",{catalog:this.ma.qe,cubeUniqueName:this.ma.Aa,credentials:this.ma.credentials&&this.ma.credentials.km?this.ma.credentials.hash:null,sessionId:f.Do.sessionId,customData:this.ma.Zl,
localeIdentifier:this.ma.Ui,effectiveUserName:this.ma.Oi,roles:this.ma.Yj},b=>this.S0(b),b=>this.Tb(b),b=>this.lw(b)))}S0(b){if(null!=this.XK){for(var d=0;d<b.length;d++){var g=b[d],l=g.dimensionUniqueName,m=g.uniqueName,n=this.ma.mapping.Ha(m,"caption",g.caption),p=g.type,q=g.allMemberName,t=g.defaultMemberName,x=g.displayFolder||"",z=g.isParentChild||!1,A=g.isRagged||!1;l=this.Aa.O.bp(l);null!=l&&(m=this.ma.Fa==k.j.sa.Nc?new f.O.zV(m,n):new f.tp.O.i6(m,n),m.origin=1,m.type=k.j.Ic.xB(p),m.gl=q,m.zq=
t,m.Xc=x,m.Tr=z,m.hL=A,m.description=g.description,l.Rh(m))}this.XK()}}RS(){this.qL=()=>this.b1();this.sL()}sL(){null!=this.Qe&&(e.wa(!0,e.i.C.u.uV),this.Qe.call("DiscoverLevels",{catalog:this.ma.qe,cubeUniqueName:this.ma.Aa,credentials:this.ma.credentials&&this.ma.credentials.km?this.ma.credentials.hash:null,sessionId:f.Do.sessionId,customData:this.ma.Zl,localeIdentifier:this.ma.Ui,effectiveUserName:this.ma.Oi,roles:this.ma.Yj},b=>this.$0(b),b=>this.Tb(b),b=>this.lw(b)))}$0(b){if(null!=this.qL){for(var d=
0;d<b.length;d++){var g=b[d],l=g.hierarchyUniqueName,m=g.caption,n=g.type,p=g.dbType,q=g.uniqueName,t=g.levelNumber,x=g.properties,z=this.Aa.O.bp(g.dimensionUniqueName);if(null!=z&&(l=z.Fg(l),null!=l&&(m=new f.O.Hla(q,m,t),m.type=e.w(n)?k.j.rb.Sc:k.j.rb.xB(n,!e.w(p)&&0==n,p),m.description=g.description,l.Ng(m),z.Rh(l),e.i.B.F.IG&&null!=x&&0<x.length)))for(n=0;n<x.length;n++)g=e.w(x[n].item)?x[n]:x[n].item,g=new k.O.tU(g[0],g[1]),m.AX(g)}this.qL()}}b1(){this.uL=()=>this.US();this.vS()}vS(){null!=this.Qe&&
(e.wa(!0,e.i.C.u.RN),this.Qe.call("DiscoverMeasures",{catalog:this.ma.qe,cubeUniqueName:this.ma.Aa,credentials:this.ma.credentials&&this.ma.credentials.km?this.ma.credentials.hash:null,sessionId:f.Do.sessionId,customData:this.ma.Zl,localeIdentifier:this.ma.Ui,effectiveUserName:this.ma.Oi,roles:this.ma.Yj},b=>this.g1(b),b=>this.Tb(b),b=>this.lw(b)))}g1(b){if(null!=this.uL){for(var d,g=0;g<b.length;g++){var l=b[g],m=l.uniqueName;d=this.ma.mapping.Ha(m,"caption",l.caption);var n="String"==typeof l.type?
k.j.Na.Tua(l.type):k.j.Na.kb,p=l.groupCaption||l.groupName||"",q=l.displayFolder||"";d=new f.O.Gz(m,d);d.type=n;d.$h=p;d.Xc=q;d.Kd=this.ma.mapping.Ha(m,"aggregations");d.description=l.description;this.Aa.O.Kj(d)}this.uL()}}US(){this.ma.Fa==k.j.sa.Nc?(this.kL=()=>this.Y0(),this.uS()):this.Kq()}uS(){null!=this.Qe&&(e.wa(!0,e.i.C.u.Z5),this.Qe.call("DiscoverKpis",{catalog:this.ma.qe,cubeUniqueName:this.ma.Aa,credentials:this.ma.credentials&&this.ma.credentials.km?this.ma.credentials.hash:null,sessionId:f.Do.sessionId,
customData:this.ma.Zl,localeIdentifier:this.ma.Ui,effectiveUserName:this.ma.Oi,roles:this.ma.Yj},b=>this.X0(b),b=>this.Tb(b),b=>this.lw(b)))}X0(b){if(null!=this.kL){for(var d=0;d<b.length;d++){var g=b[d],l=g.uniqueName,m=this.ma.mapping.Ha(l,"caption",g.caption),n=g.value,p=g.status,q=g.goal,t=g.trend;l=new f.O.m6(l,m);l.value=n;l.status=p;l.Tv=q;l.zw=t;l.description=g.description;this.Aa.O.wX(l,this.ma.mapping)}this.kL()}}Y0(){this.Kq()}Ek(b,d){e.wa(!0,e.i.C.u.sn,b.caption);this.Hb=d;this.Dk(b,null,
g=>this.pj(g))}Dk(b,d,g){this.na.hierarchy=b;this.na.Gc=this.Aa.za.Gc;this.na.cd=this.Aa.za.cd;this.na.children(b,d,g,this.Ma)}pj(b){if(null!=this.Hb){var d=b.mu;if(0<b.filter.Bl.length)b.wh<b.sm?this.rL(b,b.filter.Bl,b.filter.yG,l=>this.pj(l)):(b.vv(),this.pj(b));else if(0<d.length){var g=d.shift();0==d.length&&b.s9();b.mu=d;d=b.Yb(g[1]);b.Lx(d);this.Dk(b,d,l=>this.pj(l))}else b.Nd=!0,this.Hb(b)}}rL(b,d,g,l){this.na.hierarchy=b;this.na.Gc=this.Aa.za.Gc;this.na.cd=this.Aa.za.cd;this.na.OX(b,d,g,l)}uy(){}Hp(b,
d,g){this.na.hierarchy=b;this.na.Gc=this.Aa.za.Gc;this.na.cd=this.Aa.za.cd;this.na.search(d,g)}NA(){return!0}cancel(){this.kL=this.uL=this.qL=this.XK=this.pF=this.mba=null;null!=this.Qe&&this.Qe.cancel();this.Qe=null;null!=this.wl&&this.wl.cancel();this.wl=null;null!=this.na&&this.na.cancel();this.ye=this.Ma=this.Hb=this.na=null}Kq(){e.wa(!1);null!=this.Hb&&this.Hb()}Tb(b){e.wa(!1);e.w(b)?(b=e.i.Vb.valid(this.ma.Pe)?this.ma.Pe:e.i.Vb.Mc(this.ma.Pe),e.Wa("Cannot connect to "+b,e.i.C.u.Ca)):(b=e.ia(b.message)?
e.i.C.u.xV:b.message,"Unknown error."==b?e.Wa(e.i.C.u.Yka,e.i.C.u.Ca):"ERROR_SESSION_EXPIRED"==b?e.i.B.F.QT?e.Wa(e.i.C.u.sV,e.i.C.u.xo,e.Bb.xo,[e.i.C.u.qD,e.i.C.u.Ml],[()=>this.Dy(),null]):this.Dy():-1<b.indexOf("2.416")||-1<b.indexOf("2.400")?e.Wa("Your current version of Flexmonster Pivot Table & Charts is not compatible with Flexmonster Accelerator. Please update both products to the latest available version.",e.i.C.u.Ca):e.Wa(b,e.i.C.u.Ca));null!=this.Ma&&this.Ma()}Dy(){e.i.Ua.V().W1()}}a.nga=
"2.7.11";c.H3=a})(f.Mo||(f.Mo={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends c.oU{constructor(b){super();this.rv=this.oG=0;this.ue="";this.state=k.Co.JD;this.Qk=()=>this.fs();this.$i=()=>this.zp();this.wL=[];this.zy=[];this.vL=0;this.ma=b;this.Qe=new c.dO(this.ma.Pe,e.i.ua.pa.J(e.i.ua.pa.hT),!0,this.ma.wc,this.ma.withCredentials)}reset(){this.ue="";this.rv=this.vL=this.oG=0;this.zy=[];this.Ma=this.fu=this.ZI=this.wI=this.Mb=this.fY=this.Jb=null;this.state=""}search(b,d){this.reset();this.state=
k.Co.IV;this.Jb=d;this.ue=b.toLowerCase();this.load(()=>this.xC())}xC(){for(var b=[],d=0;d<this.zy.length;d++){var g=this.zy[d];g.qf=!0;b.push(g.ordinal)}e.wa(!1);this.Jb(b)}children(b,d,g,l){this.reset();this.state=k.Co.JD;this.Jb=g;this.Ma=l;this.Mb=d;this.hierarchy=b;null==this.Mb||this.Mb.qf?this.load(()=>this.pj()):g(this.hierarchy)}pj(){null!=this.Mb&&(this.Mb.qf=!1);this.Jb(this.hierarchy)}OX(b,d,g,l){this.reset();this.state=k.Co.D3;this.Jb=l;this.wI=d;this.fu=g;this.hierarchy=b;this.load(()=>
this.E0())}E0(){for(var b=[],d=0;d<this.zy.length;d++){var g=this.zy[d];g.qf=!0;b.push(g.A)}this.fu?this.L2(b,this.Jb):(this.hierarchy.vv(),this.Jb(this.hierarchy))}L2(b,d){this.reset();this.state=k.Co.H6;this.Jb=d;this.ZI=b;this.load(()=>this.B1())}B1(){for(var b=this.zy,d=0;d<b.length;d++)this.hierarchy.ya(b[d]).qf=!0;this.hierarchy.vv();this.Jb(this.hierarchy)}load(b){this.fY=b;e.wa(!0,e.i.C.u.sn);this.Ek();this.timer=new w.Ns(500,1E4);this.timer.N(w.Ve.Zk,this.Qk);this.timer.N(w.Ve.$k,this.$i);
this.timer.start()}$A(){for(var b=this.hierarchy.sS,d=[],g=0;g<b.length;g++)d.push(this.hierarchy.A+".["+b.ea(g).A+"]");return 0<d.length?", "+d.join(","):""}Ek(){if(null!=this.Qe){var b=this.$A(this.hierarchy);this.Qe.call("DiscoverMembers",{catalog:this.ma.qe,cubeUniqueName:this.ma.Aa,subquery:this.ma.Ee,hierarchyUniqueName:this.hierarchy.A,properties:b,memberUniqueName:this.Mb?this.Mb.A:"",allMemberName:this.hierarchy.gl,hasAllMember:this.hierarchy.mh,loadAll:this.cd,searchPhrase:this.ue,chunkIndex:this.rv,
ascendants:null==this.wI?"":this.wI.join(",,"),siblings:null==this.ZI?"":this.ZI.join(",,"),activeLevel:null==this.hierarchy.Gf?"":this.hierarchy.Gf,credentials:this.ma.credentials&&this.ma.credentials.km?this.ma.credentials.hash:null,sessionId:f.Do.sessionId,customData:this.ma.Zl,localeIdentifier:this.ma.Ui,effectiveUserName:this.ma.Oi,roles:this.ma.Yj},d=>this.gi(d),d=>this.Tb(d),d=>this.lw(d));this.rv++}}fs(){if(null!=this.timer){var b=this.timer.zv/2;2<b&&e.wa(!0,e.i.C.u.sn,e.P.bind(e.i.C.u.Gs,
w.Ub.format(b,new e.i.cc.X.ef,!1,!1,1)))}}zp(){this.timer.Mk&&e.Wa("Can't connect to data source!",e.i.C.u.Ca)}cf(){this.timer&&this.timer.Mk&&(this.timer.stop(),this.timer.qb(w.Ve.Zk,this.Qk),this.timer.qb(w.Ve.$k,this.$i))}gi(b){null!=this.Qe&&(this.cf(),1==this.rv&&(this.oG=b.count),1>this.hierarchy.sm&&(this.hierarchy.sm=b.all),this.DC(b.members,()=>this.sG()))}DC(b,d){if(e.w(b))d();else if(this.wL=b,0==this.wL.length)this.GS();else{for(b=this.hierarchy.wh;!this.uDa(b);)b++;d()}}uDa(b){var d=
this.wL.shift();if(null!=d){var g=d.parentUniqueName,l=d.caption,m=d.uniqueName,n=d.ordinal,p=d.properties;var q=this.hierarchy.Yb(m);if(null==q&&(d=new k.O.be({A:m,caption:l,Hh:g,ordinal:n}),""===this.ue&&null==this.wI&&null==this.ZI&&(d.sc=b),q=this.hierarchy.ic(d),null!=p&&0<p.length))for(g=0;g<p.length;g++)d=e.w(p[g].item)?p[g]:p[g].item,q.setProperty(d[0],d[1]);""!=this.ue||null!=this.wI||null!=this.ZI?this.zy.push(q):q.sc=b;null!=q&&!q.Rb&&1E3<this.hierarchy.sm&&!this.cd&&(q.qf=!0);this.vL++}return 0>=
this.wL.length}sG(){var b=0==this.oG?100:Math.round(this.vL/this.oG*100);100<b&&(b=100);e.wa(!0,e.i.C.u.sn,this.hierarchy.caption+" - "+b+"% ("+this.vL+" of "+this.oG+")");this.vL>=this.oG?this.GS():this.Ek()}GS(){e.wa(!1);this.cf();this.fY();this.wL=[];this.zy=[]}Tb(b){this.cf();e.wa(!1);b=e.ia(b.message)?e.i.C.u.xV:b.message;"ERROR_SESSION_EXPIRED"==b?e.i.B.F.QT?e.Wa(e.i.C.u.sV,e.i.C.u.xo,e.Bb.xo,[e.i.C.u.qD,e.i.C.u.Ml],[()=>this.Dy(),null]):this.Dy():(e.Wa(b,e.i.C.u.Ca),null!=this.Ma&&(this.Ma(),
this.Ma=null))}Dy(){e.i.Ua.V().W1()}eG(){return!1}cancel(){null!=this.Qe&&this.Qe.cancel();this.Qe=null;null!=this.timer&&this.cf();this.fY=this.Ma=this.Jb=this.timer=null}}c.Jga=a})(f.Mo||(f.Mo={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends c.oU{constructor(){super(...arguments);this.Ef=k.Sa.V();this.Ac=[];this.Ud=[];this.Qk=()=>this.fs();this.$i=()=>this.zp()}load(b,d,g){e.wa(!0,e.i.C.u.Bf,e.P.bind(e.i.C.u.Gs,"0.5"));this.ma=b;this.Ij=d;this.Jb=g;this.Th=this.rv=0;this.hf=this.Ef.za.Oq;this.Qe=new c.dO(this.ma.Pe,e.i.ua.pa.J(e.i.ua.pa.hT),!0,this.ma.wc,this.ma.withCredentials);this.kEa=e.P.nK();this.Zv();this.timer=new w.Ns(500,1E4);this.timer.N(w.Ve.Zk,
this.Qk);this.timer.N(w.Ve.$k,this.$i);this.timer.start()}Zv(){if(null!=this.Qe){for(var b=[],d=this.Ef.za.Oq,g=0;g<d.length;g++)b.push(d[g].A);this.Qe.call("Execute",{catalog:this.ma.qe,cubeUniqueName:this.ma.Aa,subquery:this.ma.Ee,queryString:this.Ij.body,columns:this.Ef.za.Fb.Lc(!0),rows:this.Ef.za.Ab.Lc(!0),measures:b,chunkIndex:this.rv,credentials:this.ma.credentials&&this.ma.credentials.km?this.ma.credentials.hash:null,sessionId:f.Do.sessionId,customData:this.ma.Zl,localeIdentifier:this.ma.Ui,
effectiveUserName:this.ma.Oi,roles:this.ma.Yj,expandAll:this.Ij.type==k.j.Jd.eq&&this.Ef.za.Gc,formatted:e.i.B.F.Qp,requestId:this.kEa},l=>this.wp(l),l=>this.Tb(l),l=>this.lw(l));this.rv++}}fs(){null!=this.timer&&e.wa(!0,e.i.C.u.Bf,e.P.bind(e.i.C.u.Gs,w.Ub.format(this.timer.zv/2,new e.i.cc.X.ef,!1,!1,1)))}zp(){this.timer.Mk&&e.Wa("Can't connect to data source!",e.i.C.u.Ca)}cf(){this.timer&&this.timer.Mk&&(this.timer.stop(),this.timer.qb(w.Ve.Zk,this.Qk),this.timer.qb(w.Ve.$k,this.$i))}Uc(b,d,g,l,
m,n){e.wa(!0,e.i.C.u.Bf,e.P.bind(e.i.C.u.Gs,"0.5"));this.ma=b;this.Ij=d;this.Jb=n;this.hf=this.Ef.za.Oq;this.Qe=new c.dO(this.ma.Pe,e.i.ua.pa.J(e.i.ua.pa.hT),!0,this.ma.wc,this.ma.withCredentials);b=this.cwa(this.Ef.za,g,l);m={catalog:this.ma.qe,cubeUniqueName:this.ma.Aa,subquery:this.ma.Ee,measureUniqueName:m.A,members:b,credentials:this.ma.credentials&&this.ma.credentials.km?this.ma.credentials.hash:null,sessionId:f.Do.sessionId,customData:this.ma.Zl,localeIdentifier:this.ma.Ui,effectiveUserName:this.ma.Oi,
roles:this.ma.Yj};this.ma.Fa==k.j.sa.Nc&&(m.drillThroughMaxRows=e.i.B.F.vF);this.Qe.call("DrillThrough",m,p=>this.LAa(p),p=>this.Tb(p),p=>this.lw(p));this.timer=new w.Ns(500,1E4);this.timer.N(w.Ve.Zk,this.Qk);this.timer.N(w.Ve.$k,this.$i);this.timer.start()}cwa(b,d,g){for(var l=[],m,n,p=0;p<b.Fb.length;p++){var q=b.Fb.ea(p);m=[];n=!1;if(!q.cg){if(null!=g[p]){var t=q.ya(g[p]);e.w(t)||e.ia(t.A)||(m.push(t.A),n=!0)}if(q.filter.jj&&!n)for(n=0;n<q.fb.length;n++)t=q.ya(q.fb[n]),e.w(t)||e.ia(t.A)||-1==m.indexOf(t.A)&&
m.push(t.A);0<m.length&&(this.ma.Fa==k.j.sa.ae?l.push(m.join(",")):l.push("{"+m.join(",")+"}"))}}for(p=0;p<b.Ab.length;p++)if(q=b.Ab.ea(p),n=!1,m=[],!q.cg){null!=d[p]&&(t=q.ya(d[p]),e.w(t)||e.ia(t.A)||(m.push(t.A),n=!0));if(q.filter.jj&&!n)for(n=0;n<q.fb.length;n++)t=q.ya(q.fb[n]),e.w(t)||e.ia(t.A)||-1==m.indexOf(t.A)&&m.push(t.A);0<m.length&&(this.ma.Fa==k.j.sa.ae?l.push(m.join(",")):l.push("{"+m.join(",")+"}"))}for(p=0;p<b.lb.length;p++){q=b.lb.ea(p);m=[];if(q.filter.jj)for(n=0;n<q.fb.length;n++)t=
q.ya(q.fb[n]),e.w(t)||e.ia(t.A)||-1==m.indexOf(t.A)&&m.push(t.A);0<m.length&&(this.ma.Fa==k.j.sa.ae?l.push(m.join(",")):l.push("{"+m.join(",")+"}"))}return l}LAa(b){if(null!=this.Qe){b=b.cellData;if(null!=b&&0<b.length&&null!=b[0].item)for(var d=0;d<b.length;d++)b[d]=b[d].item;this.cf();e.wa(!1);this.Jb(b)}}cancel(){this.ma=this.Ef=null;this.Ac=[];this.Ud=[];this.Jb=this.Ij=null;null!=this.Qe&&this.Qe.cancel();this.Qe=null;this.cf();this.timer=null}wp(b){null!=this.Qe&&(b.isComplete||this.Zv(),this.cf(),
this.ma.Fa==k.j.sa.ae?(this.$S(b.columnsList?JSON.parse(b.columnsList):[]),this.bT(b.rowsList?JSON.parse(b.rowsList):[]),this.Dda(b.cellData?JSON.parse(b.cellData):[],b.cellDataFmt?JSON.parse(b.cellDataFmt):[])):(this.$S(b.columnsList),this.bT(b.rowsList),this.Dda(b.cellData,b.cellDataFmt)),this.Th+=this.Ac.length*this.Ud.length,b.isComplete?(e.wa(!1),this.Jb()):(b=null!=b.percent?Math.round(1E4*b.percent)/100:NaN,e.wa(!0,e.i.C.u.Bf,this.Th+" items "+(isNaN(b)||0>=b?"":"("+(100<b?100:b)+"%)"))))}$S(b){this.Ud=
b;if(e.w(b)||0==this.Ud.length)this.Ud=[[[0,0]]]}bT(b){this.Ac=[[]];e.w(b)?this.Ac=[[]]:(this.Ac=b,0==this.Ac.length&&(this.Ac=[[]]))}Zxa(b,d){if(b.length!=d.length)return!1;for(var g=0;g<b.length;g++)if(1<b[g].length&&b[g][1]!=d[g][1])return!1;return!0}Dda(b,d=null){e.w(b)&&(b=[]);var g=this.Ac.length,l=this.Ud.length;var m=this.Ef.za.Oq;for(var n=[],p=0;p<m.length;p++)n[p]=m[p].type;var q=k.RV.V();for(p=0;p<g;p++)if(void 0!=b[p]&&null!=this.Ac[p]){m=[];for(var t=[],x,z,A=!1,B=0;B<l;B++)null!=this.Ud[B]&&
(x=t,t=this.Ud[B].slice(0),z=t.pop()[0],this.Zxa(t,x)||(A&&this.Ef.ra.RR(this.Ac[p],x,m,this.Ij.zf,this.Ij.nv,this.Ij.type),A=!1,m=[]),void 0!=b[p][B]&&(A=!0),e.i.B.F.Qp&&null!=d&&this.hf[z].fa==k.j.ca.NONE?m[z]=k.YH.V().Ty(d[p][B],b[p][B]):n[z]==k.j.Na.kb?m[z]=b[p][B]:n[z]==k.j.Na.Pa&&(x=b[p][B]?q.Kh(b[p][B].toString()):0,m[z]=x));A&&this.Ef.ra.RR(this.Ac[p],t,m,this.Ij.zf,this.Ij.nv,this.Ij.type)}}Tb(b){this.cf();e.wa(!1);b=e.ia(b.message)?e.i.C.u.xV:b.message;"ERROR_SESSION_EXPIRED"==b?e.i.B.F.QT?
e.Wa(e.i.C.u.sV,e.i.C.u.xo,e.Bb.xo,[e.i.C.u.qD,e.i.C.u.Ml],[()=>this.Dy(),null]):this.Dy():e.Wa(b,e.i.C.u.Ca)}Dy(){e.i.Ua.V().W1()}}c.G3=a})(f.Mo||(f.Mo={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a{constructor(b,d=null,g=!0,l=null,m=!1){this.pu=null;this.withCredentials=!1;this.wc=null;this.url=b;this.url.lastIndexOf("/")==this.url.length-1&&(this.url=this.url.substr(0,this.url.length-1));g&&0>this.url.indexOf("/FlexmonsterProxy")&&this.url.lastIndexOf(":")>this.url.lastIndexOf("/")&&(this.url+="/FlexmonsterProxy");this.wc=l;this.pu=d;this.withCredentials=m}call(b,d=null,g=null,l=null,m=null){this.action=b;this.Hb=g;this.Ma=
l;this.$fa=m;this.Oe=d;w.Ms.load("lib/sha1.min.js",()=>{this.xhr=new XMLHttpRequest;this.xhr.open("POST",this.url+"/"+b,!0);this.xhr.withCredentials=this.withCredentials;this.xhr.onreadystatechange=n=>this.kw(n);this.xhr.setRequestHeader("Content-type","application/json; charset=UTF-8");this.xhr.setRequestHeader("Accept","application/json");this.uJ(this.wc);this.xhr.send(this.DFa(d))})}uJ(b){if(!e.w(b))for(var d in b)b.hasOwnProperty(d)&&this.xhr.setRequestHeader(d,b[d])}DFa(b){if(null!=this.pu){delete b.signature;
var d=this.getHash(b);d=d.replace(/[^a-zA-Z0-9]/gm,"");var g=new jsSHA("SHA-1","TEXT");g.setHMACKey(this.pu,"TEXT");g.update(d);b.signature=g.getHMAC("B64")}return JSON.stringify(b)}getHash(b){var d=[];for(g in b)d.push(g);d.sort();var g="";for(var l=0;l<d.length;l++){var m=b[d[l]];e.w(m)||"string"==typeof m&&e.ia(m)||Array.isArray(m)&&0==m.length||("sessionId"!=d[l]||0!=m)&&"customData"!=d[l]&&"localeIdentifier"!=d[l]&&"effectiveUserName"!=d[l]&&(g+=d[l]+":"+m)}return g.toLowerCase()}kw(){if(null!=
this.xhr&&4===this.xhr.readyState){if(200===this.xhr.status)return this.rM();if(401===this.xhr.status&&e.rf(this.$fa))return this.$fa(b=>{b?this.call(this.action,this.Oe,this.Hb,this.Ma):this.Ma({message:this.xhr.statusText})});this.Ma({message:this.xhr.statusText})}}rM(){var b=JSON.parse(this.xhr.response);b&&null==b.error?null!=this.Hb&&this.Hb(b.data,b):this.Ma&&b&&this.Ma(b.error)}cancel(){null!=this.xhr&&(this.xhr.onerror=null,this.xhr.onreadystatechange=null,this.xhr.abort());this.pu=this.url=
this.Hb=this.xhr=this.wc=null}}c.dO=a})(f.Mo||(f.Mo={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends f.Ai.c7{constructor(b){super(b)}$A(){for(var b=this.hierarchy.sS,d=[],g=0;g<b.length;g++)d.push(this.hierarchy.A+".["+b.ea(g).A+"]");return 0<d.length?", "+d.join(","):""}kY(){var b=this.$A(this.hierarchy),d=this.Ln();return null==this.Mb?this.eG()?e.P.bind("SELECT DISTINCT({{0}.allmembers}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME{1} on columns FROM {2}",this.hierarchy.A,b,d):this.hierarchy.mh?e.P.bind("SELECT Subset(DISTINCT({{0}.levels(0).allmembers, {0}.levels(1).allmembers}), {3}, {4}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME{2} on 0 FROM {1}",
this.hierarchy.A,d,b,this.Hk.toString(),this.tq.toString()):e.P.bind("SELECT Subset(DISTINCT({{0}.levels(0).allmembers}), {3}, {4}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME{2} on 0 FROM {1}",this.hierarchy.A,d,b,this.Hk.toString(),this.tq.toString()):e.P.bind("SELECT Subset({0}.children, {3}, {4}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME {2} on columns FROM {1}",this.Mb.A,d,b,this.Hk.toString(),this.tq.toString(),this.hierarchy.A)}aT(b,d){var g=b.find("PARENT_UNIQUE_NAME").text();var l=b.find("Caption").text(),
m=b.find("UName").text(),n=parseInt(b.find("MEMBER_ORDINAL").text());var p=this.hierarchy.Yb(m);if(null==p){p=this.hierarchy.ic(new k.O.be({A:m,caption:l,Hh:g}));if(p.level&&0<p.level.De.length)for(l=0;l<p.level.De.length;l++){g=p.level.De.ea(l);p.setProperty(g.A,b.find(g.EM).text());m=b.getChildren();for(var q=0;q<m.length;q++){var t=m[q];t.nodeName.toLowerCase()==g.EM.toLowerCase()&&(t=t.text(),p.setProperty(g.A,t))}}p.sc=isNaN(n)?d:n}else this.state==k.Co.JD&&(p.sc=isNaN(n)?d:n);null==p||p.Rb||
(p.qf=!0);p.parent&&!p.parent.Rb&&(p.parent.qf=!1);return p.ordinal}}c.Bma=a})(f.bD||(f.bD={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends f.Ai.d7{constructor(b){super(b);this.wl=new c.Bma(b)}JS(){var b=y.aa.create(this.nl.response);b=this.ep(b);if(0<b.length){this.ps();for(var d=0;d<b.length;d++)this.Fda(b[d]);this.jza();this.pF()}else e.Wa(e.i.C.u.KD,"",e.Bb.Ca),e.wa(!1),this.Ma()}jza(){this.jD=new y.Ej;this.jD=this.Xi(this.jD);this.jD.data=y.aa.Bc(f.Ai.Df.dsa());this.jD.N(r.da.Dc,()=>this.OCa());this.jD.N(r.da.Ca,b=>this.Tb(b));this.jD.load(this.ha.Pe)}OCa(){var b=
y.aa.create(this.jD.response);b=this.ep(b);this.ha.version=parseFloat(b.find("Value").text().substr(0,5))}Jda(b){var d=b.find("DIMENSION_UNIQUE_NAME").text(),g=b.find("HIERARCHY_UNIQUE_NAME").text(),l=b.find("LEVEL_CAPTION").text(),m=b.find("LEVEL_UNIQUE_NAME").text(),n=parseInt(b.find("LEVEL_NUMBER").text());b=parseInt(b.find("LEVEL_TYPE").text());d=this.Aa.O.bp(d);null!=d&&(g=d.Fg(g),null!=g&&(l=new k.O.Bs(m,l,n),l.type=k.j.rb.xB(b),g.Ng(l),d.Rh(g)))}K1(b){var d=b.find("DIMENSION_UNIQUE_NAME").text(),
g=b.find("HIERARCHY_UNIQUE_NAME").text(),l=b.find("LEVEL_UNIQUE_NAME").text(),m=b.find("PROPERTY_CAPTION").text();b.find("PROPERTY_TYPE").text();b=b.find("PROPERTY_NAME").text();var n=(g+".["+b+"]").replace(/\[/g,"_x005B_").replace(/\]/g,"_x005D_").replace(/\s/g,"_x0020_");"NAME"!=b&&"KEY0"!=b&&"KEY1"!=b&&"KEY2"!=b&&"TRAN0"!=b&&"TRAN1"!=b&&"TRAN2"!=b&&"MEMBER_VALUE"!=b&&"CUSTOM_ROLLUP"!=b&&"UNARY_OPERATOR"!=b&&(d=this.Aa.O.bp(d),null!=d&&(g=d.Fg(g),null!=g&&(l=g.It(l),null!=l&&(m=new k.O.tU(b,m,n),
l.AX(m)))))}}c.Cma=a})(f.bD||(f.bD={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a{constructor(b,d){this.slice=b;this.ha=d}get iD(){return this.ha&&this.ha.Xm&&!e.i.B.F.z_?!0:!1}YQ(b){return b.Tr?"members":"allmembers"}XQ(b){return b.mh?b.gl:e.P.bind("{0}.levels(0).{1}",b.A,this.YQ(b))}HR(){return 0<this.slice.he(k.j.ga.Xa).pd.length}IR(){return 0<this.slice.he(k.j.ga.Ia).pd.length}Mn(){const b=[],d=this.slice.Oq;for(var g=0;g<d.length;g++)b.push(d[g].A);return"{"+b.join(", ")+"}"}YA(){var b=this.Mn();if(0<
this.slice.Fb.length){var d=this.EJ(this.slice.Fb),g="";this.HR()&&(g=this.Ax(this.slice.he(k.j.ga.Xa).pd,this.slice.Fb));return"Crossjoin("+(0<g.length?"Union("+d+", "+g+")":d)+", "+b+")"}return b}aB(){if(0<this.slice.Ab.length){var b=this.EJ(this.slice.Ab),d="";this.IR()&&(d=this.Ax(this.slice.he(k.j.ga.Ia).pd,this.slice.Ab));return 0<d.length?"Union("+b+", "+d+")":b}return""}EJ(b){for(var d=[],g=0;g<b.length;g++){var l=this.jY(b.ea(g),this.slice.Gc||0==g,this.slice.cd);0<l.length&&d.push(l)}if(1<
d.length){b=this.Mn();l=d[0];for(g=1;g<d.length;g++)l=e.i.B.F.z_?e.P.bind("Crossjoin({0}, {1})",l,d[g]):e.P.bind("NonEmpty(Crossjoin({0}, {1}), {2})",l,d[g],b);return l}return d[0]}jY(b,d,g){var l=this.XQ(b);if(g)d="Hierarchize({"+b.A+"."+this.YQ(b)+"})";else if(d)for(d=null!=b.ec?"Hierarchize({Descendants({"+b.A+".levels(0)."+this.YQ(b)+"}, "+b.ec.A+", SELF_AND_BEFORE)})":b.mh?"Hierarchize({DrilldownLevel({"+l+"})})":"{{"+b.Vl()+","+l+"}}",g=1;g<b.ta.length;g++)l=b.$J(b.ta.ea(g)),0!=l.length&&(l=
b.Rr(l).join(","),d=10.5<this.ha.version?"DrilldownMember({{"+d+"}}, {"+l+"},,INCLUDE_CALC_MEMBERS)":"DrilldownMember({{"+d+"}}, {"+l+"})");else{if(b.mh)return l;d="{{"+b.Vl()+","+l+"}}"}return d}RT(b){return b=b.replace(/[\]|\[]/g,"")}So(b,d,g){for(var l=[],m,n=0;n<d.length;n++){var p=d.ea(n);if(n==b.length-1)m=p.ya(b[n]),m.Rb?(this.jY(p,!0,!1),l.push(this.jY(p,!0,!1))):void 0!==g&&null!=p.It(g)?l.push("Descendants("+m.A+", "+g+", SELF_AND_BEFORE)"):m.qg?l.push(m.A+".CHILDREN"):l.push(m.A);else if(n<
b.length){m=p.ya(b[n]);if(null==m)return"";p=p.Rr(m.children);m=m.rg?"{"+p.join(",")+"}":m.A;l.push(m)}else l.push(this.XQ(p))}return 1<l.length?"Crossjoin({"+l.join("}, {")+"})":l[0]}Ax(b,d){for(var g,l=0;l<b.length;l++){var m=b[l].slice(1);m.push(0);m=this.So(m,d);g=g&&!e.ia(m)?e.P.bind("Union({0}, {1})",m,g):m}return g}ZY(b,d){return 0<this.slice.Ab.length?this.So(b,this.slice.Ab,d):""}XY(b,d){var g=this.Mn();return 0<this.slice.Fb.length?"Crossjoin("+this.So(b,this.slice.Fb,d)+", "+g+")":g}kZ(b){var d=
this.Mn();return 0<this.slice.Fb.length?(b=b.slice(0),b.push(0),"Crossjoin("+this.So(b,this.slice.Fb)+", "+d+")"):d}nZ(b){return 0<this.slice.Ab.length?(b=b.slice(0),b.push(0),this.So(b,this.slice.Ab)):""}Gra(b,d){0<=k.j.Ob.Iz.indexOf(d.va)&&(d=this.psa(d));if(d.va==k.j.Ob.EQUAL){var g="Filter({0}.levels({3}), ({0}.CurrentMember.MemberValue>=CDate('{1}') AND {0}.CurrentMember.MemberValue<CDate('{2}')))";var l=d.value.clone().Uq();var m=l.clone().qX(1).Uq()}d.va==k.j.Ob.Cf&&(g="Filter({0}.levels({3}), ({0}.CurrentMember.MemberValue<CDate('{1}') OR {0}.CurrentMember.MemberValue>CDate('{2}')))",
l=d.value.clone().Uq(),m=l.clone());d.va==k.j.Ob.nD&&(l=d.value.clone().Uq(),g="Filter({0}.levels({3}), ({0}.CurrentMember.MemberValue<CDate('{1}')))");d.va==k.j.Ob.oD&&(l=d.value.clone().Uq(),g="Filter({0}.levels({3}), ({0}.CurrentMember.MemberValue<=CDate('{1}')))");d.va==k.j.Ob.kD&&(l=d.value.clone().Uq(),g="Filter({0}.levels({3}), ({0}.CurrentMember.MemberValue>CDate('{1}')))");d.va==k.j.Ob.lD&&(l=d.value.clone().Uq(),g="Filter({0}.levels({3}), ({0}.CurrentMember.MemberValue>=CDate('{1}')))");
d.va==k.j.Ob.Kg&&(l=d.value[0].clone().Uq(),m=d.value[1].clone().dU(),g="Filter({0}.levels({3}), ({0}.CurrentMember.MemberValue>=CDate('{1}') AND {0}.CurrentMember.MemberValue<=CDate('{2}')))");d.va==k.j.Ob.Cg&&(l=d.value[0].clone().Uq(),m=d.value[1].clone().dU(),g="Filter({0}.levels({3}), ({0}.CurrentMember.MemberValue<CDate('{1}') OR {0}.CurrentMember.MemberValue>CDate('{2}')))");d=b.Uh.UB[this.slice.Oq[0].$h];e.ia(d)&&(d=b.A);g=e.P.bind(g,d,l.format("yyyy-MM-dd"),m?m.format("yyyy-MM-dd"):"",b.mh?
1:0);return[g]}Tra(b,d){var g,l=d.value,m=l.length;d.va==k.j.Cb.EQUAL&&(g="Filter({0}.levels({1}), ({0}.CurrentMember.member_caption='{2}'))");d.va==k.j.Cb.Cf&&(g="Filter({0}.levels({1}), ({0}.CurrentMember.member_caption<>'{2}'))");d.va==k.j.Cb.pD&&(g="Filter({0}.levels({1}), (Left({0}.CurrentMember.member_caption,{3})='{2}'))");d.va==k.j.Cb.Dz&&(g="Filter({0}.levels({1}), (Left({0}.CurrentMember.member_caption,{3})<>'{2}'))");d.va==k.j.Cb.pz&&(g="Filter({0}.levels({1}), (Right({0}.CurrentMember.member_caption,{3})='{2}'))");
d.va==k.j.Cb.Fz&&(g="Filter({0}.levels({1}), (Right({0}.CurrentMember.member_caption,{3})<>'{2}'))");d.va==k.j.Cb.kn&&(g="Filter({0}.levels({1}), (InStr(1, {0}.CurrentMember.member_caption,'{2}')>0))");d.va==k.j.Cb.Ez&&(g="Filter({0}.levels({1}), (InStr(1, {0}.CurrentMember.member_caption,'{2}')=0))");d.va==k.j.Cb.GREATER&&(g="Filter({0}.levels({1}), ({0}.CurrentMember.member_caption>'{2}'))");d.va==k.j.Cb.Wk&&(g="Filter({0}.levels({1}), ({0}.CurrentMember.member_caption>='{2}'))");d.va==k.j.Cb.LESS&&
(g="Filter({0}.levels({1}), ({0}.CurrentMember.member_caption<'{2}'))");d.va==k.j.Cb.Xk&&(g="Filter({0}.levels({1}), ({0}.CurrentMember.member_caption<='{2}'))");if(d.va==k.j.Cb.Kg){g="Filter({0}.levels({1}), ({0}.CurrentMember.member_caption>='{2}'  AND {0}.CurrentMember.member_caption<='{4}'))";l=d.value[0];var n=d.value[1]}d.va==k.j.Cb.Cg&&(g="Filter({0}.levels({1}), ({0}.CurrentMember.member_caption<='{2}'  OR {0}.CurrentMember.member_caption>='{4}'))",l=d.value[0],n=d.value[1]);g=e.P.bind(g,
b.A,b.mh?1:0,l,m,n);return[g]}psa(b){if(k.j.Iw.dg(b.value)){var d=(new e.Uf).Zi(e.i.B.F.JB());b.va==k.j.Ob.jH?d.PG(b.value,e.i.B.F.Vn):b.va==k.j.Ob.ZH?(d.tM(b.value,e.i.B.F.Vn),d.setMilliseconds(1E3)):b.va==k.j.Ob.NH&&(d.PG(b.value,e.i.B.F.Vn),d.setMilliseconds(-1),d.PG(b.value,e.i.B.F.Vn));b=d.clone().tM(b.value,e.i.B.F.Vn).Uq();return new e.i.ab.Vk("between",[d,b])}return b}Ro(b){for(var d=[],g="",l=0;l<b.length;l++){var m=b.ea(l),n=[];m.filter.jj&&(n=m.Rr(m.fb));m.filter.ay&&(n=this.Gra(m,m.filter.query));
m.filter.Vv&&(n=this.Tra(m,m.filter.query));if(!m.mh){var p=m.Vl();this.rd.Sb(p)||this.rd.Ta(p,this.XQ(m))}0<n.length&&d.push("{"+n.join(",")+"}")}0<d.length&&(g="("+d.join(", ")+")");return g}csa(b,d,g){for(var l=[],m=b.indexOf(d.A),n=0;n<m;n++){var p=b.ea(n);l.push("Hierarchize("+p.A+".levels("+(p.mh?1:0)+")."+this.YQ(d)+")")}b="Hierarchize({"+this.XQ(d)+"})";0<l.length&&(b="CrossJoin("+l.join(",")+", "+b+")");return e.P.bind("( SELECT Generate({0} AS {1}, {7}( Filter( Except(  DrilldownLevel({1}.Current AS {2}, , {5}{8} ), {2}), Not IsEmpty({3})), {4}, {3})) ON COLUMNS FROM {6})",
b,"["+d.caption+"___0___0]","["+d.caption+"_1_1_1]",d.filter.measure.A,d.filter.query.value,""+m,g,d.filter.query.va==k.j.pc.Oh?"TopCount":"BottomCount",", INCLUDE_CALC_MEMBERS")}u9(b,d){for(var g=0;g<b.length;g++){var l=b.ea(g);l.filter.Ch&&this.slice.hf.find(m=>m.A===l.filter.measure.A)&&(d=this.csa(b,l,d))}return d}bB(){if(0==this.rd.length)return"";for(var b="with",d=0;d<this.rd.length;d++)b+=e.P.bind(" member {0} as IIF(IsError(Aggregate({{1}})), null, Aggregate({{1}}))",this.IC(this.rd.Ah(d)),
this.IC(this.rd.ea(d)));return b}Ln(b=!0){var d=e.ia(this.ha.Ee)?"["+this.ha.Aa+"]":"("+this.ha.Ee+")";var g=this.Ro(this.slice.Fb),l=this.Ro(this.slice.Ab),m="";let n="";if(0!==this.slice.lb.length)for(let q=0;q<this.slice.lb.length;q++){const t=this.slice.lb.ea(q);if(t.filter&&t.filter.jj){var p=t.filter.ij();1==p.length&&b?n=0===n.length?` WHERE (${t.a_(p[0])})`:n.replace(")",`, ${t.a_(p[0])})`):1<p.length&&b&&(n=0===n.length?` WHERE (${t.A+".CurrentMember"})`:n.replace(")",`, ${t.A+".CurrentMember"})`))}}0<
this.slice.lb.length&&(m=this.Ro(this.slice.lb));0==g.length&&0==l.length&&0==m.length?b=d:(0<g.length&&(g+=" ON COLUMNS"),0<l.length&&(0<g.length?l=", "+l+" ON ROWS":(g=l+" ON COLUMNS",l="")),0<m.length&&(m="SELECT "+m+" ON COLUMNS FROM "+d),0<g.length||0<l.length?(b="SELECT "+g+l+" FROM ",b=0<m.length?b+("("+m+")"):b+d):b=m,b="("+b+")");b=this.u9(this.slice.Ab,b);b=this.u9(this.slice.Fb,b);0<n.length&&(b+=n);return b}IC(b){-1<b.indexOf("'")&&(b=b.replace(/'/g,"''"));return b}expand(b,d){this.rd=
new e.wb;b==k.j.ga.Ia?(b=this.YA(),d=this.nZ(d)):(b=this.kZ(d),d=this.aB());var g=this.Ln();b="NON EMPTY "+b+" DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON COLUMNS";d=this.iD?0<d.length?", NON EMPTY _ROWS_TOKEN_START_"+d+"_ROWS_TOKEN_END_ DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":"":0<d.length?", NON EMPTY "+d+" DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":"";var l=this.bB();return e.P.bind("{4} Select {0} {1} FROM {2} CELL PROPERTIES {3}",
b,d,g,this.iY(),l)}If(b,d,g,l){this.rd=new e.wb;b==k.j.ga.Ia?(b=this.YA(),d=this.ZY(d,l)):(b=this.XY(d,l),d=this.aB());l=this.Ln();b="NON EMPTY "+b+" DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON COLUMNS";d=this.iD?0<d.length?", NON EMPTY _ROWS_TOKEN_START_"+d+"_ROWS_TOKEN_END_ DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":"":0<d.length?", NON EMPTY "+d+" DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":
"";g=this.bB();return e.P.bind("{4} Select {0} {1} FROM {2} CELL PROPERTIES {3}",b,d,l,this.iY(),g)}select(){this.rd=new e.wb;var b=this.YA(),d=this.aB(),g=this.Ln();b="NON EMPTY "+b+" DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON COLUMNS";d=this.iD?0<d.length?", NON EMPTY _ROWS_TOKEN_START_"+d+"_ROWS_TOKEN_END_ DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":"":0<d.length?", NON EMPTY "+d+" DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":
"";var l=this.bB();return e.P.bind("{4} Select {0} {1} FROM {2} CELL PROPERTIES {3}",b,d,g,this.iY(),l)}iY(){return 0==e.i.B.F.Qp||this.ha.Fa!=k.j.sa.Nc?"VALUE":"VALUE, FORMATTED_VALUE"}Uc(b,d,g){this.rd=new e.wb;for(var l="DRILLTHROUGH MAXROWS "+e.i.B.F.vF+" SELECT {0} ON 0 FROM {1} {2}",m,n=[],p=0;p<this.slice.Fb.length;p++)m=this.slice.Fb.ea(p),m.cg||null==d[p]||(m=m.ya(d[p]),null!=m&&n.push(m.A));for(p=0;p<this.slice.Ab.length;p++)m=this.slice.Ab.ea(p),m.cg||null==b[p]||(m=m.ya(b[p]),null!=m&&
n.push(m.A));b=0<n.length?"where ("+n.join(",")+")":"";d=this.Ln(!1);return e.P.bind(l,g.A,d,b)}}c.pV=a})(f.bD||(f.bD={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends f.Ai.c7{constructor(b){super(b);this.AG=[]}mY(){var b=e.P.bind("SET [SearchMembersSet] AS 'FILTER(EXCEPT({0}.members, {1}), (INSTR(1, lcase({0}.CurrentMember.Caption), {2}) > 0))'",this.hierarchy.A,this.hierarchy.zq,'"'+this.ue+'"');var d=e.P.bind("SET [SearchParentsSet] AS 'EXCEPT(GENERATE([SearchMembersSet], ASCENDANTS([SearchMembersSet].Current)), {0})'",this.hierarchy.zq);return b+"\n"+d+"\nSET [SearchSet] AS 'HIERARCHIZE(DISTINCT({[SearchMembersSet], [SearchParentsSet]}))'"}kY(){var b=
this.hierarchy.sS,d=[],g=[];if(0<b.length)for(var l=0;l<b.length;l++){var m=b.ea(l).A;g.push("[Measures].["+m+"]");d.push(e.P.bind('member [Measures].[{0}] as {1}.CurrentMember.Properties("{0}")',m,this.hierarchy.A))}b=this.Ln();0<g.length?(g=0<g.length?g.join(", "):"",d=0<d.length?"with "+d.join(" "):"",d=null==this.Mb?this.eG()?e.P.bind("{3} SELECT crossjoin(DISTINCT({{0}.allmembers}), {{2}}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {1}",this.hierarchy.A,b,g,d):this.hierarchy.mh?
e.P.bind("{5} SELECT crossjoin(Subset(DISTINCT({{0}.levels(0).allmembers, {0}.levels(1).allmembers}), {2}, {3}), {{4}}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {1}",this.hierarchy.A,b,this.Hk.toString(),this.tq.toString(),g,d):e.P.bind("{5} SELECT crossjoin(Subset(DISTINCT({{0}.levels(0).allmembers}), {2}, {3}), {{4}}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {1}",this.hierarchy.A,b,this.Hk.toString(),this.tq.toString(),g,d):e.P.bind("{5} SELECT crossjoin(Subset({0}.children, {2}, {3}), {{4}}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {1}",
this.Mb.A,b,this.Hk.toString(),this.tq.toString(),g,d)):d=null==this.Mb?this.eG()?e.P.bind("SELECT DISTINCT({{0}.allmembers}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {1}",this.hierarchy.A,b):this.hierarchy.mh?e.P.bind("SELECT Subset(DISTINCT({{0}.levels(0).allmembers, {0}.levels(1).allmembers}), {2}, {3}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {1}",this.hierarchy.A,b,this.Hk.toString(),this.tq.toString()):e.P.bind("SELECT Subset(DISTINCT({{0}.levels(0).allmembers}), {2}, {3}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {1}",
this.hierarchy.A,b,this.Hk.toString(),this.tq.toString()):e.P.bind("SELECT Subset({0}.children, {2}, {3}) DIMENSION PROPERTIES PARENT_UNIQUE_NAME on columns FROM {1}",this.Mb.A,b,this.Hk.toString(),this.tq.toString());return d}DC(b){var d=b.find("root");if(0<d.find("Fault").length)e.Wa(y.aa.Bc(d.find("Fault faultstring")),"Query error!",e.Bb.Ca);else{this.AG=[];b=[];for(var g=d.find('Axes Axis[name="Axis0"] Tuples Tuple Member'),l=this.hierarchy.wh,m=0;m<g.length;m++)b.push(this.aT(g[m],m+l));d=d.find("CellData Cell");
for(m=0;m<d.length;m++)if(l=d[m],g=parseInt(l.attr("CellOrdinal")),l=l.find("Value").text(),0>l.indexOf("MondrianEvaluationException")&&!e.w(this.AG)&&!e.w(this.AG[g])){var n=this.AG[g][1];g=this.hierarchy.Yb(this.AG[g][0]);null!=g&&g.setProperty(n,l)}return b}}aT(b,d){var g=b.find("PARENT_UNIQUE_NAME").text();var l=b.find("LName").text();var m=b.find("Caption").text(),n=b.find("UName").text();b=parseInt(b.find("MEMBER_ORDINAL").text());if("[Measures].[MeasuresLevel]"==l)null!=this.tca&&this.AG.push([this.tca.A,
m]);else return l=this.hierarchy.Yb(n),null==l?(l=this.hierarchy.ic(new k.O.be({A:n,caption:m,Hh:g})),l.sc=isNaN(b)?d:b):this.state==k.Co.JD&&(l.sc=isNaN(b)?d:b),this.tca=l,null==l||l.Rb||(l.qf=!0),l.parent&&!l.parent.Rb&&(l.parent.qf=!1),l.ordinal}}c.vla=a})(f.tp||(f.tp={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends f.Ai.d7{constructor(b){super(b);this.wl=new c.vla(b)}uS(){e.wa(!1);null!=this.Hb&&this.Hb()}K1(b){var d=b.find("DIMENSION_UNIQUE_NAME").text(),g=b.find("HIERARCHY_UNIQUE_NAME").text(),l=b.find("LEVEL_UNIQUE_NAME").text(),m=b.find("PROPERTY_CAPTION").text();b.find("PROPERTY_TYPE").text();b=b.find("PROPERTY_NAME").text();d=this.Aa.O.bp(d);null!=d&&(g=d.Fg(g),null!=g&&(l=g.It(l),null!=l&&(m=new k.O.tU(b,m),l.AX(m))))}}c.wla=
a})(f.tp||(f.tp={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a{constructor(b,d){this.slice=b;this.zb=d}get iD(){return this.zb&&this.zb.Xm?!0:!1}HR(){return 0<this.slice.he(k.j.ga.Xa).pd.length}IR(){return 0<this.slice.he(k.j.ga.Ia).pd.length}RT(b){return b=b.replace(/[\]|\[]/g,"")}IC(b){-1<b.indexOf("'")&&(b=b.replace(/'/g,"''"));return b}GJ(b,d=!1){var g=[];var l=0!=b.fb.length||b.mh?b.fb:b.bw(b.ta.ea(1).A);for(var m=b.Rr(l),n=[],p,q=0;q<l.length;q++)if(p=b.ya(l[q]),!e.ia(p.A)){g.push(p.A);
if(p.qg||this.slice.cd)d?g.push(e.P.bind("Descendants({0})",p.A)):g.push(e.P.bind("{0}.CHILDREN",p.A));for(;null!=p.parent;){p=p.parent;for(var t=p.Ix,x=[],z=0;z<t.length;z++){var A=b.ya(t[z]).A;-1<m.indexOf(A)&&x.push(A)}t=!b.mh&&p.Rb?b.Vl():p.I8;if(b.type==k.j.Ic.Pa&&!b.mh){if(p.Rb)continue;t=p.A}-1==n.indexOf(t)&&n.push(t);this.rd.Sb(t)||b.Tr||this.rd.Ta(t,x.join(","))}}d=this.RT(b.A)+"FilterSet";this.ig.Ta(d,g.join(", "));b=this.RT(b.A)+"CalculatedSet";this.ig.Ta(b,n.join(", "));return["["+d+
"]","["+b+"]"]}HJ(b,d,g){if(g)if(b.filter.jj){var l=this.GJ(b,!0);g=l[0];l=l[1];d=e.P.bind("Hierarchize(Distinct(Union({0}, {1})))",g,l)}else d="Hierarchize({"+b.A+".AllMembers})";else{var m=b.mh?e.P.bind("Union({{0}}, {1}.levels(1).AllMembers)",b.gl,b.A):b.type==k.j.Ic.Pa?e.P.bind("{0}.levels(0).AllMembers",b.A):e.P.bind("Union({{0}}, {1}.levels(0).AllMembers)",b.Vl(),b.A);var n=this.Mra(b);b.filter.jj||!b.mh&&b.type!=k.j.Ic.Pa?(l=this.GJ(b,d&&0<n.length),g=l[0],l=l[1],d=d?0<n.length?e.P.bind("Hierarchize(Distinct(Union(Intersect({0}, Union({1}, {3})), {2})))",
g,n,l,m):e.P.bind("Hierarchize(Distinct(Union({0}, {1})))",g,l):b.Vl()):d=d?0<n.length?e.P.bind("Hierarchize(Distinct(Union({0}, {1})))",m,n):m:e.P.bind("{0}.levels(0).AllMembers",b.A)}b="set_"+this.slice.rc().indexOf(b.A)+"_set";this.ig.Ta(b,d);return"["+b+"]"}Mra(b){for(var d=[],g=1;g<b.ta.length;g++){var l=b.ta.ea(g);b.ec&&b.ec.A==l.A&&d.push(e.P.bind("Descendants({{0}}, {1}, SELF_AND_BEFORE)",b.zq,b.ec.A));l=b.$J(l);if(0!=l.length)for(var m=0;m<l.length;m++){var n=b.ya(l[m]);b.type!=k.j.Ic.Pa||
b.mh?d.push(e.P.bind("{0}.CHILDREN",n.A)):(n=b.Rr(n.children),d.push(e.P.bind("{"+n.join(","))+"}"))}}return 0<d.length?(b=this.RT(b.A)+"DrilledSet",this.ig.Ta(b,d.join(",")),"["+b+"]"):""}Ax(b,d){for(var g="",l=0;l<b.length;l++){var m=b[l].slice(1);m=this.So(m,d);""!=m&&(g=g?e.P.bind("Union({0}, {1})",m,g):m)}return g}So(b,d){for(var g="",l=d.length-1;0<=l;l--){var m=d.ea(l);if(null!=b[l]){var n=m.ya(b[l]);if(null==n){g="";break}m.filter.jj?(m=this.GJ(m,!0),n=e.P.bind("Hierarchize(Distinct(Union(Intersect({{0}}, {1}), {2})))",
n.A,m[0],m[1])):n="{"+n.A+"}"}else n=b.length==l?this.HJ(m,!0,!1):this.HJ(m,!1,!1);g=l==d.length-1?n:e.P.bind("CrossJoin({{0}}, {{1}})",n,g)}return g}EJ(b){var d=[];for(var g=this.slice.ed(),l=0;l<g.length;l++)d.push("isEmpty("+g[l].A+")");d=d.join(" and ");g="";for(l=0;l<b.length;l++){var m=this.HJ(b.ea(l),this.slice.Gc||0==l,this.slice.cd);m="Filter("+m+", not ("+d+"))";g=0<l?"Crossjoin("+g+","+m+")":m}return g}YA(){if(0<this.slice.Fb.length){var b=this.EJ(this.slice.Fb);this.ig.Ta("columnHierarchiesSet",
b);b="";this.HR()&&(b=this.Ax(this.slice.he(k.j.ga.Xa).pd,this.slice.Fb),0<b.length&&this.ig.Ta("columnExpandedSet",b));this.ig.Ta("columnSet","Crossjoin("+(0<b.length?"Union([columnHierarchiesSet], [columnExpandedSet])":"[columnHierarchiesSet]")+", [measureSet])")}else this.ig.Ta("columnSet","[measureSet]")}aB(){if(0<this.slice.Ab.length){var b=this.EJ(this.slice.Ab);this.ig.Ta("rowHierarchiesSet",b);b="";this.IR()&&(b=this.Ax(this.slice.he(k.j.ga.Ia).pd,this.slice.Ab),0<b.length&&this.ig.Ta("rowExpandedSet",
b));this.ig.Ta("rowSet",0<b.length?"Union([rowHierarchiesSet], [rowExpandedSet])":"[rowHierarchiesSet]")}}kZ(b){0<this.slice.Fb.length?(b=this.So(b,this.slice.Fb),this.ig.Ta("columnSet","Crossjoin("+b+", [measureSet])")):this.ig.Ta("columnSet","[measureSet]")}nZ(b){0<this.slice.Ab.length&&(b=this.So(b,this.slice.Ab),this.ig.Ta("rowSet",b))}XY(b,d){0<this.slice.Fb.length?(b=this.t$(b,d,this.slice.Fb),this.ig.Ta("columnSet","Crossjoin("+b+", [measureSet])")):this.ig.Ta("columnSet","[measureSet]")}ZY(b,
d){0<this.slice.Ab.length&&(b=this.t$(b,d,this.slice.Ab),this.ig.Ta("rowSet",b))}t$(b,d,g){var l=[];for(var m=this.slice.ed(),n=0;n<m.length;n++)l.push("isEmpty("+m[n].A+")");l=l.join(" and ");m="";for(n=g.length-1;0<=n;n--){var p=g.ea(n);if(d.hierarchy.A==p.A)if(p.filter.jj){var q=this.GJ(p,!0);p=q[0];q=q[1];var t=e.P.bind("Hierarchize(Distinct(Union(Intersect({0}.CHILDREN, {1}), {2})))",d.A,p,q)}else t=this.HJ(p,!0,!1),t=e.P.bind("Intersect({0}.CHILDREN, {{1}})",d.A,t);else if(null!=b[n]){t=p.ya(b[n]);
if(null==t){m="";break}p.filter.jj?(q=this.GJ(p,!0),p=q[0],q=q[1],t=e.P.bind("Hierarchize(Distinct(Union(Intersect({{0}}, {1}), {2})))",t.A,p,q)):t="{"+t.A+"}"}else t=this.HJ(p,!1,!1);t="Filter("+t+", not ("+l+"))";m=n==g.length-1?t:e.P.bind("CrossJoin({{0}}, {{1}})",t,m)}return m}lY(){for(var b="",d=[],g=0;g<this.slice.lb.length;g++){var l=this.slice.lb.ea(g);l.filter.jj&&(this.rd.Ta(l.Vl(),l.Rr(l.fb).join(",")),d.push(l.Vl()))}0<d.length&&(b=e.P.bind("where ({0})",d.join(", ")));return b}Mn(){for(var b=
[],d=0;d<this.slice.Oq.length;d++)b.push(this.slice.Oq[d].A);this.ig.Ta("measureSet",b.join(", "))}bB(){for(var b="with",d=0;d<this.ig.length;d++)b+=e.P.bind(" set [{0}] as '{{1}}'",this.IC(this.ig.Ah(d)),this.IC(this.ig.ea(d)));for(d=0;d<this.rd.length;d++)b+=e.P.bind(" member {0} as 'Aggregate({{1}})'",this.IC(this.rd.Ah(d)),this.IC(this.rd.ea(d)));return b}select(){this.ig=new e.wb;this.rd=new e.wb;this.Mn();this.YA();this.aB();var b=this.lY();var d=this.iD?this.ig.Sb("rowSet")?", NON EMPTY _ROWS_TOKEN_START_[rowSet]_ROWS_TOKEN_END_ DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":
"":this.ig.Sb("rowSet")?", NON EMPTY [rowSet] DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":"";var g=this.bB();return e.P.bind("{0} Select {1} {2} FROM [{3}] {4} CELL PROPERTIES VALUE",g,"NON EMPTY [columnSet] DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON COLUMNS",d,this.zb.Aa,b)}expand(b,d){this.ig=new e.wb;this.rd=new e.wb;this.Mn();b==k.j.ga.Ia?(this.YA(),this.nZ(d)):(this.kZ(d),this.aB());b=this.lY();d=this.iD?this.ig.Sb("rowSet")?
", NON EMPTY _ROWS_TOKEN_START_[rowSet]_ROWS_TOKEN_END_ DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":"":this.ig.Sb("rowSet")?", NON EMPTY [rowSet] DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":"";var g=this.bB();return e.P.bind("{0} Select {1} {2} FROM [{3}] {4} CELL PROPERTIES VALUE",g,"NON EMPTY [columnSet] DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON COLUMNS",d,this.zb.Aa,b)}If(b,d,
g){this.ig=new e.wb;this.rd=new e.wb;this.Mn();b==k.j.ga.Ia?(this.YA(),this.ZY(d,g)):(this.XY(d,g),this.aB());b=this.lY();d=this.iD?this.ig.Sb("rowSet")?", NON EMPTY _ROWS_TOKEN_START_[rowSet]_ROWS_TOKEN_END_ DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":"":this.ig.Sb("rowSet")?", NON EMPTY [rowSet] DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON ROWS":"";g=this.bB();return e.P.bind("{0} Select {1} {2} FROM [{3}] {4} CELL PROPERTIES VALUE",
g,"NON EMPTY [columnSet] DIMENSION PROPERTIES PARENT_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME, MEMBER_TYPE ON COLUMNS",d,this.zb.Aa,b)}Uc(){return""}}c.pV=a})(f.tp||(f.tp={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){(function(a){class b extends f.O.zV{constructor(){super(...arguments);this.lk=new w.mO(!1);this.Uu=new w.mO}Vl(d="(Total)"){if(this.mh)return this.gl+".["+d+"]";var g=this.zq.split("].");g.pop();g.push("["+d+"]");return g.join("].")}OB(){return new a.ula(this)}Yb(d){d=this.lk.find(d);return-1==d?null:this.ya(d)}}a.i6=b})(c.O||(c.O={}))})(f.tp||(f.tp={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){(function(a){class b extends f.O.n6{get ai(){return this.level.Xt?!0:this.hierarchy.hL||this.hierarchy.Tr||this.level.Xt?(this.qg||!this.qf)&&0==this.children.length:!1}set ai(d){}}a.ula=b})(c.O||(c.O={}))})(f.tp||(f.tp={}))})(h.Db||(h.Db={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.O.fz{constructor(b,d=""){super(b,d)}}c.wia=a})(f.O||(f.O={}))})(h.ze||(h.ze={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.O.As{constructor(b,d=""){super(b,d);this.$ba=!1;this.Bda="";b=new c.N4(b+".[(all)]","All",0);this.Ng(b);this.zq=this.gl="(all member)";b=new k.O.be({A:"(all member)",caption:"All",Rb:!0});this.ic(b)}OB(){return new c.yia(this)}ic(b){void 0!==b.caption&&e.ia(b.caption)?b.caption=e.i.C.u.Bj:e.ia(b.A)&&(b.caption=e.i.C.u.Bj);return super.ic(b)}}c.xia=a})(f.O||(f.O={}))})(h.ze||(h.ze={}))})(k.external||(k.external={}))})(e.v||
(e.v={}))})(u||(u={}));(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.O.Bs{constructor(b,d="",g=0){super(b,d,g)}}c.N4=a})(f.O||(f.O={}))})(h.ze||(h.ze={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.O.Zq{constructor(b,d=""){super(b,d)}get vj(){return this.Ra?[]:this.type==k.j.Na.kb?k.j.ca.Fga:k.j.ca.Gga}set vj(b){}get caption(){if(0==e.i.B.F.vw)return this.nc;switch(this.fa){case k.j.ca.oc:return e.P.bind(e.i.C.u.VM,this.nc);case k.j.ca.Is:return e.P.bind(e.i.C.u.ZN,this.nc);case k.j.ca.yj:return e.P.bind(e.i.C.u.cN,this.nc);case k.j.ca.Vp:return e.P.bind(e.i.C.u.RM,this.nc);case k.j.ca.Nu:return e.P.bind(e.i.C.u.hO,
this.nc);case k.j.ca.Ou:return e.P.bind(e.i.C.u.iO,this.nc);case k.j.ca.MAX:return e.P.bind(e.i.C.u.LN,this.nc);case k.j.ca.MIN:return e.P.bind(e.i.C.u.TN,this.nc);case k.j.ca.fr:return e.P.bind(e.i.C.u.iI,this.nc);case k.j.ca.Eo:return e.P.bind(e.i.C.u.cI,this.nc);case k.j.ca.cq:return e.P.bind(e.i.C.u.hI,this.nc);case k.j.ca.gr:return e.P.bind(e.i.C.u.fI,this.nc);case k.j.ca.Fo:return e.P.bind(e.i.C.u.gI,this.nc);case k.j.ca.ni:return e.P.bind(e.i.C.u.MH,this.nc);case k.j.ca.Hm:return e.P.bind(e.i.C.u.aO,
this.nc);case k.j.ca.wn:return e.P.bind(e.i.C.u.cO,this.nc);case k.j.ca.mn:return e.P.bind(e.i.C.u.pH,this.nc);case k.j.ca.nn:return e.P.bind(e.i.C.u.qH,this.nc);case k.j.ca.tn:return e.P.bind(e.i.C.u.dI,this.nc);case k.j.ca.un:return e.P.bind(e.i.C.u.eI,this.nc);case k.j.ca.NONE:return this.nc}return e.P.bind(e.i.C.u.nI,this.nc)}set caption(b){""==b.trim()?this.nc=e.i.C.u.Bj:this.nc=b}get Ik(){return this.nc}set Ik(b){}p_(){var b=new a("","");return this.format!=b.format||0==this.jm?!1:!0}clone(){var b=
new a(this.A);this.MJ(b);return b}}c.O4=a})(f.O||(f.O={}))})(h.ze||(h.ze={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.O.gH{Qa(){var b=super.Qa();b.uniqueName=this.fm;this.parent&&(b.parentMember=this.parent.fm);return b}}c.yia=a})(f.O||(f.O={}))})(h.ze||(h.ze={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.O.uU{constructor(){super();this.qA={};this.hA={};this.yX()}jJ(b,d){this.qA[b]=this.Fg(d);this.hA[d]=this.qd(b)}Gk(b){return this.qA[b]}Ke(b){return this.hA[b]}aw(b,d=null,g=!1){var l=d?d:new c.O4(b.uniqueName);return super.aw(b,l,e.w(d)||g)}clear(){this.qA={};this.hA={};super.clear()}}c.Aia=a})(f.O||(f.O={}))})(h.ze||(h.ze={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends k.O.Ds{constructor(){super();this.node=null;this.index="";this.mapping=new f.gN;this.Ee=null;this.Fa=k.j.sa.Af}isEqual(a){return a.connection&&a.connection===this.connection&&this.index==a.index?!0:super.isEqual(a)&&JSON.stringify(this.node)==JSON.stringify(a.node)&&this.index==a.index&&this.mapping.isEqual(a.mapping)&&JSON.stringify(this.Ee)==JSON.stringify(a.Ee)}get bG(){return!1}Ux(a){if(!e.w(this.connection))return a(this.connection);
var b=new Sa.u4({host:this.node,headers:this.wc,withCredentials:this.withCredentials});a(b)}static yb(a){var b=new c;e.w(a.host)||(b.node=a.host);e.w(a.node)||(b.node=a.node);e.w(a.index)||(b.index=a.index);e.w(a.mapping)||(b.mapping=a.mapping instanceof f.gN?a.mapping:new f.gN(a.mapping));e.w(a.subquery)||(b.Ee=a.subquery);e.w(a.connection)||(b.connection=a.connection);e.w(a.requestHeaders)||(b.wc=a.requestHeaders);e.w(a.withCredentials)||(b.withCredentials=a.withCredentials);return b}Qa(a=!1){var b=
{};b.type=this.Fa;e.w(this.node)||(b.node=this.node);e.w(this.index)||(b.index=this.index);if(!this.mapping.ib||this.mapping.mp)b.mapping=this.mapping.Qa(!0);e.w(this.Ee)||(b.subquery=this.Ee);if(a||this.withCredentials)b.withCredentials=this.withCredentials;return b}clone(){var a=new c;a.Fa=this.Fa;e.w(this.node)||(a.node=this.node);e.w(this.index)||(a.index=this.index);if(!this.mapping.ib||this.mapping.mp)a.mapping=this.mapping.clone(this.Fa);e.w(this.Ee)||(a.Ee=this.Ee);e.w(this.withCredentials)||
(a.withCredentials=this.withCredentials);return a}}f.M4=c})(h.ze||(h.ze={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(a,b){this.slice=a;this.ma=b}select(){var a={size:0};e.w(this.ma.Ee)||(a.query=w.Jc.Ni(this.ma.Ee));var b=this.slice.Ab.Lc(),d=this.slice.Fb.Lc();this.slice.Gc||(b=b.slice(0,1),d=d.slice(0,1));this.Ro(a);0==b.length&&0==d.length?this.Mn(a,this.slice.ed(),!0):this.xv(a,b.concat(d));0<d.length&&this.xv(a,d.concat(b),!0);return a}expand(a,b){var d={size:0};e.w(this.ma.Ee)||(d.query=w.Jc.Ni(this.ma.Ee));var g=a==k.j.ga.Ia;a=this.slice.Ab.Lc();
var l=this.slice.Fb.Lc();this.Ro(d);this.So(d,b,g?a:l);if(this.slice.Gc)return this.xv(d,a.concat(l)),0<l.length&&this.xv(d,l.concat(a),!0),d;var m=[];if(g){b=b.length+1;var n=this.Maa(k.j.ga.Xa),p=this.kba(this.slice.he(k.j.ga.Xa).pd);for(g=1;g<=n;g++)if(!e.w(p[g])||1==g){var q=w.Jc.Ni(d);1!=g&&this.Ax(q,p[g],l);var t=a.slice(0,b),x=l.slice(0,g);this.xv(q,t.concat(x));m.push(q)}}else for(g=b.length+1,n=this.Maa(k.j.ga.Ia),p=this.kba(this.slice.he(k.j.ga.Ia).pd),b=1;b<=n;b++)e.w(p[b])&&1!=b||(q=w.Jc.Ni(d),
1!=b&&this.Ax(q,p[b],a),t=a.slice(0,b),x=l.slice(0,g),this.xv(q,t.concat(x)),0<x.length&&this.xv(q,x.concat(t),!0),m.push(q));return m}kba(a){for(var b={},d=0;d<a.length;d++){var g=a[d].length;e.w(b[g])&&(b[g]=[]);b[g].push(a[d])}return b}Uc(a,b,d,g=null){d={size:e.i.B.F.vF};e.w(this.ma.Ee)||(d.query=w.Jc.Ni(this.ma.Ee));d._source=g.map(l=>{let m=this.slice.ad.Fg(l);return m&&m.$ba?m.Bda:l});this.Ro(d);this.So(d,a,this.slice.Ab.Lc());this.So(d,b,this.slice.Fb.Lc());return d}DY(a){e.w(a.query)&&(a.query=
{});e.w(a.query.bool)&&(a.query.bool={});e.w(a.query.bool.must)?a.query.bool.must=[]:Array.isArray(a.query.bool.must)||(a.query.bool.must=[a.query.bool.must]);e.w(a.query.bool.must_not)?a.query.bool.must_not=[]:Array.isArray(a.query.bool.must_not)||(a.query.bool.must_not=[a.query.bool.must_not])}So(a,b,d){this.DY(a);b.forEach((g,l)=>{l=d[l];g=l.ya(g);a.query.bool.must.push(this.IJ(l,g))})}If(){return null}Maa(a){a=this.slice.he(a).pd;return 0<a.length?Math.max.apply(Math,a.map(b=>b.length)):1}Ax(a,
b,d){var g={bool:{should:[]}};b.forEach(l=>{l=l.slice(1);d.forEach((m,n)=>{null!=l[n]&&(n=m.ya(l[n]),g.bool.should.push(this.IJ(m,n)))})});a.query.bool.must.push(g)}HR(){return 0<this.slice.he(k.j.ga.Xa).pd.length}IR(){return 0<this.slice.he(k.j.ga.Ia).pd.length}xv(a,b,d=!1){for(var g=this.slice.ed(),l=0;l<b.length;l++)if(this.Mn(a,g,!0),!d||l!=b.length-1){var m=b[l];this.Rra(a,m);a=a.aggs[m.A]}d||this.Mn(a,g)}Rra(a,b){e.w(a.aggs)&&(a.aggs={});e.w(a.aggs[b.A])&&(a.aggs[b.A]={});b.type==k.j.Ic.Pa?
a.aggs[b.A].date_histogram={field:b.A,min_doc_count:this.ma.mapping.Ha(b.A,"min_doc_count"),interval:this.ma.mapping.Ha(b.A,"interval"),time_zone:this.ma.mapping.Ha(b.A,"time_zone"),format:this.ma.mapping.Ha(b.A,"format")}:a.aggs[b.A].terms={field:b.A,size:b.sm}}Mn(a,b,d=!1){e.w(a.aggs)&&(a.aggs={});b.forEach(g=>{a.aggs[(d?"total_":"")+(g.fa+"_")+g.A]={[this.yva(g)]:{field:g.A}}})}yva(a){if(a.fa!=k.j.ca.fq){if(a.fa==k.j.ca.Vp)return"avg";if(a.fa==k.j.ca.oc)return"value_count";if(a.fa==k.j.ca.yj)return"cardinality";
if(a.fa==k.j.ca.MIN)return"min";if(a.fa==k.j.ca.MAX)return"max"}return"sum"}Ro(a){this.slice.lb.Lc().forEach(b=>this.FJ(a,b));this.slice.Fb.Lc().forEach(b=>this.FJ(a,b));this.slice.Ab.Lc().forEach(b=>this.FJ(a,b))}FJ(a,b){if(b.filter.jj){this.DY(a);const m={bool:{should:[]}};for(var d=b.filter.ij(b.filter.N_),g=0;g<d.length;g++){var l=b.ya(d[g]);m.bool.should.push(this.IJ(b,l))}a.query.bool[b.filter.N_?"must_not":"must"].push(m)}else if(b.filter.Vv||b.filter.UK||b.filter.ay)this.DY(a),d={bool:{should:[]}},
b=b.filter.ay?this.Hra(b):this.Ura(b),d.bool.should.push(b),a.query.bool[b.isExclude?"must_not":"must"].push(d),delete b.isExclude}Hra(a){const b={},d=a.filter.query;if(k.j.Ob.EQUAL===d.va||k.j.Ob.Cf===d.va){var g=a.filter.query.value;b.range={[a.A]:{gte:g.format("yyyy-MM-dd"),lt:g.format("yyyy-MM-dd")+"||+1d/d"}};b.isExclude=k.j.Ob.Cf===d.va}else if(k.j.Ob.nD===d.va)b.range={[a.A]:{lt:a.filter.query.value.format("yyyy-MM-dd")}},b.isExclude=!1;else if(k.j.Ob.oD===d.va)b.range={[a.A]:{lt:a.filter.query.value.format("yyyy-MM-dd")+
"||+1d/d"}},b.isExclude=!1;else if(k.j.Ob.kD===d.va)b.range={[a.A]:{gte:a.filter.query.value.format("yyyy-MM-dd")+"||+1d/d"}},b.isExclude=!1;else if(k.j.Ob.lD===d.va)b.range={[a.A]:{gte:a.filter.query.value.format("yyyy-MM-dd")}},b.isExclude=!1;else if(k.j.Ob.Kg===d.va||k.j.Ob.Cg===d.va)g=a.filter.query.value[1],b.range={[a.A]:{gte:a.filter.query.value[0].format("yyyy-MM-dd"),lte:g.format("yyyy-MM-dd")}},b.isExclude=k.j.Ob.Cg===d.va;return b}Ura(a){const b={},d=a.filter.query;if(k.j.Cb.pD===d.va||
k.j.Cb.Dz===d.va)b.prefix={[a.A]:d.value},b.isExclude=k.j.Cb.Dz===d.va;else if(k.j.Cb.EQUAL===d.va||k.j.Cb.Cf===d.va)b.match={[a.A]:d.value},b.isExclude=k.j.Cb.Cf===d.va;else if(k.j.Cb.pz===d.va||k.j.Cb.Fz===d.va)b.wildcard={[a.A]:"*"+d.value},b.isExclude=k.j.Cb.Fz===d.va;else if(k.j.Cb.kn===d.va||k.j.Cb.Ez===d.va)b.wildcard={[a.A]:"*"+d.value+"*"},b.isExclude=k.j.Cb.Ez===d.va;else if(k.j.Cb.GREATER===d.va)b.range={[a.A]:{gt:d.value}},b.isExclude=!1;else if(k.j.Cb.Wk===d.va)b.range={[a.A]:{gte:d.value}},
b.isExclude=!1;else if(k.j.Cb.LESS===d.va)b.range={[a.A]:{lt:d.value}},b.isExclude=!1;else if(k.j.Cb.Xk===d.va)b.range={[a.A]:{lte:d.value}},b.isExclude=!1;else if(k.j.Cb.Kg===d.va||k.j.Cb.Cg===d.va)b.range={[a.A]:{gte:d.value[0],lte:d.value[1]}},b.isExclude=k.j.Cb.Cg===d.va;return b}IJ(a,b){return a.type==k.j.Ic.Pa?{range:{[a.A]:{gte:b.sc,lt:e.hJ(new Date(b.sc),this.ma.mapping.Ha(a.A,"interval")).getTime()}}}:{term:{[a.A]:b.caption}}}}f.zia=c})(h.ze||(h.ze={}))})(k.external||(k.external={}))})(e.v||
(e.v={}))})(u||(u={}));var Sa;
(function(e){class k extends y.Ej{constructor(f){super();f||(f={host:"http://localhost:9200"});this.host="string"===typeof f.host?new h(f.host):h.yb(f.host);f.headers&&(this.host.headers=f.headers);this.contentType=y.mz.C3;this.withCredentials=f.withCredentials}oX(f){this.Jfa=()=>{this.qb(r.da.Dc,this.Jfa);f(null,JSON.parse(this.response))};this.N(r.da.Dc,this.Jfa);this.E$=()=>{this.qb(r.da.Ca,this.E$);let c=null;try{c=JSON.parse(this.response)}catch(a){}f(c,null)};this.N(r.da.Ca,this.E$)}search(f,
c){this.oX(c);this.Pq=y.Os.Ku;this.Xi(this.host.headers);this.data="string"===typeof f.body?f.body:JSON.stringify(f.body);this.load(this.host.v0(`/${f.index}/_search`));this.data=null}VZ(f){this.oX(f);this.Pq=y.Os.dV;this.Xi(this.host.headers);this.load(this.host.v0("/_cat/indices?format=json"))}rwa(f,c){this.oX(c);this.Pq=y.Os.dV;this.Xi(this.host.headers);this.load(this.host.v0(`/${f}/_mapping`))}}e.u4=k;class h{constructor(f){u.ia(f)||this.paa(f)}paa(f){f=u.CDa(f);this.host=f.hostname;this.protocol=
f.protocol;this.port=f.port;this.path=f.pathname}v0(f=""){this.host&&-1<this.host.indexOf("http")&&this.paa(this.host);var c="";this.port!==h.qta[this.protocol]&&(c=":"+this.port);var a=u.ia(this.path)?"":this.path;"/"!==a.charAt(0)&&(a="/"+a);var b=u.ia(this.protocol)?"http":this.protocol;c=this.host?b+"://"+this.host+c+a:a;"/"==c.charAt(c.length-1)&&(c=c.substr(0,c.length-1));return c+f}static yb(f){var c=new h;c.headers=f.headers;c.host=f.host;c.path=f.path;c.port=f.port;c.protocol=f.protocol;
return c}}h.qta={http:80,https:443}})(Sa||(Sa={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(){if(null!=c.La)throw Error("Singleton");}static V(){null==c.La&&(c.La=new c);return c.La}static dispose(){c.La=null}VZ(a,b){(new Sa.u4(a)).VZ((d,g)=>{if(d)return e.Wa(d.message,e.i.C.u.Ca,e.Bb.Ca),b(d,g);d=g.map(l=>l.index).filter(l=>0>l.indexOf(".kibana")&&0>l.indexOf(".security"));b(null,d)})}}f.tia=c})(h.ze||(h.ze={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(){this.Aa=k.Sa.V();this.ra=this.Aa.ra}load(a,b,d,g){this.ma=a;this.query=b;this.Hb=d;this.Ma=g;this.ma.Ux(l=>{this.Tn=l;this.Zv()})}S2(a,b,d,g=!1){for(var l in b){var m=this.Aa.O.Fg(l),n=Math.ceil(m.sm/c.bI);if(1==n)m=w.Jc.hF(b),delete m[l],this.S2(a,m,d);else for(var p=0;p<n;p++)b[l].forEach(q=>{q.include={partition:p,num_partitions:n}}),d.push(JSON.stringify(a)),m=w.Jc.hF(b),delete m[l],this.S2(a,m,d);if(g)break}return d}aaa(a,
b){for(var d in a){var g=this.Aa.O.Fg(d);e.w(g)||(e.w(a[d].terms)||(e.w(b[d])&&(b[d]=[]),b[d].push(a[d].terms)),a[d].aggs&&this.aaa(a[d].aggs,b))}return b}Zv(){e.wa(!0,e.i.C.u.Bf);if(this.query.type==k.j.Jd.eq){var a=this.aaa(this.query.body.aggs,{}),b=this.S2(this.query.body,a,[],!0);0==b.length&&b.push(JSON.stringify(this.query.body));var d=new w.oI;b.forEach((g,l)=>{d.add(m=>this.m0(g,l,b.length,m))});d.Of(()=>{null!=this.Hb&&this.Hb();e.wa(!1)})}else Array.isArray(this.query.body)?(d=new w.oI,
this.query.body.forEach(g=>{d.add(l=>this.m0(g,0,0,l))}),d.Of(()=>{null!=this.Hb&&this.Hb();e.wa(!1)})):this.m0(this.query.body,0,0,()=>{null!=this.Hb&&this.Hb();e.wa(!1)})}m0(a,b,d,g){0<b&&e.wa(!0,e.i.C.u.Bf,(b/d*100).toFixed(0)+"%");this.Tn.search({index:this.ma.index,body:a},(l,m)=>{if(l)return this.Tb(l.message,this.Ma),g();l=this.Aa.za.Ab.Lc();var n=this.Aa.za.Fb.Lc();this.query.type!=k.j.Jd.eq||this.Aa.za.Gc||(l=l.slice(0,1),n=n.slice(0,1));var p=this.Aa.za.ed();this.H1(m.aggregations,l.concat(n),
p,0,[],[]);0<n.length&&this.Eda(m.aggregations,n.concat(l),p,0,[],[]);g()})}H1(a,b,d,g,l,m){const n=b[g];if(n&&a.hasOwnProperty(n.A))a[n.A].buckets.forEach(q=>{var t=null;n.type==k.j.Ic.Pa&&(t=n.Mv(q.key));e.w(t)&&(t=n.Yb(q.key_as_string||""+q.key));const x=l.slice(),z=m.slice();t&&this.Aa.za.rows.Sb(n.A)?x.push(t.ordinal):t&&z.push(t.ordinal);this.tba(q,d)?(t=d.map(A=>this.M1(q,A)),this.ra.insert(x,z,t)):this.H1(q,b,d,g+1,x,z)});else if(g<b.length){var p=l.slice();const q=m.slice();this.Aa.za.rows.Sb(n.A)?
p.push(null):q.push(null);this.H1(a,b,d,g+1,p,q)}p=d.map(q=>this.M1(a,q,!0));this.ra.Ty(l,m,p)}M1(a,b,d=!1){if(0==a.doc_count)return b.fa==k.j.ca.oc||b.fa==k.j.ca.yj?0:NaN;b=(d?"total_":"")+b.fa+"_"+b.A;return e.w(a[b])?NaN:a[b].value}Eda(a,b,d,g,l,m){var n=b[g];e.w(a[n.A])||a[n.A].buckets.forEach(p=>{var q=n.Yb(p.key_as_string||""+p.key),t=l.slice(),x=m.slice();this.Aa.za.rows.Sb(n.A)?t.push(q.ordinal):x.push(q.ordinal);if(this.tba(p,d,!0))var z=d.map(A=>this.M1(p,A,!0));this.ra.Ty(t,x,z);g<b.length-
2&&this.Eda(p,b,d,g+1,t,x)})}JR(a,b){return b&&a.hasOwnProperty(b.A)}tba(a,b,d=!1){return(b=b[0])&&a.hasOwnProperty((d?"total_":"")+b.fa+"_"+b.A)}Uc(a,b,d,g,l,m){e.wa(!0,e.i.C.u.Bf,e.i.C.u.Bf);a.Ux(n=>{this.Tn=n;this.Tn.search({index:a.index,body:b.body},(p,q)=>{if(p)return this.Tb(p.message,m);var t=q.hits.hits.map(z=>z._source),x=b.body._source;t.forEach((z,A)=>{t[A]=x.map(B=>w.Jc.resolve(B,z))});t.unshift(x);m(t)})})}cancel(){this.Tn&&this.ma&&!this.ma.connection&&this.Tn.close();this.Ma=this.Hb=
this.ma=this.Aa=this.Tn=null}Tb(a,b){console.error(a);e.wa(!1);e.Wa(a,e.i.C.u.Ca,e.Bb.Ca);e.rf(b)&&b()}}c.bI=5E4;f.uia=c})(h.ze||(h.ze={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends h.SU{Ha(a,b,d){a=this.Cr(a,b);d=this.Bh(d);return e.w(this.values[a])?NaN:e.w(this.values[a][d])?NaN:this.values[a][d]}Ty(a,b,d){a=this.Cr(a,b);e.w(this.values[a])&&(this.values[a]=d)}eA(a,b){return null==a||0==a.length?NaN:this.zc[b][a[0]]}Zaa(a,b){var d=a.slice(0);a=a.indexOf(null);0<a&&(d.length=a);d[d.length-1]=0;return this.$c(d,b)}insert(a,b,d){for(;a.length<this.ph.length;)a.push(null);for(;b.length<this.Li.length;)b.push(null);
var g=a.concat(b);if(!(-1<g.indexOf(0))){if(0==this.tb.length)for(var l=0;l<g.length;l++)this.tb[l]=[];(l=this.Zaa(a,this.Bd))&&l[0]&&l[0].push(this.Aw);(l=this.Zaa(b,this.Td))&&l[0]&&l[0].push(this.Aw);this.Og=e.gb.ws(this.Og,this.Aw);for(l=0;l<g.length;l++)this.tb[l]=e.gb.ws(this.tb[l],g[l]);if(0==this.zc.length)for(l=0;l<d.length;l++)this.zc[l]=[];for(l=0;l<d.length;l++)this.zc[l]=e.gb.ws(this.zc[l],d[l]);this.values[this.Cr(a,b)]=d}}filter(){}}f.via=c})(h.ze||(h.ze={}))})(k.external||(k.external=
{}))})(e.v||(e.v={}))})(u||(u={}));(function(e){(function(k){(function(h){(function(f){class c extends k.O.Bo{constructor(a=null){super(a);this.Bt={};this.Bt.interval="day";this.Bt.min_doc_count=1;this.Bt.filters=!0}}f.gN=c})(h.ze||(h.ze={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(a){this.Aa=k.Sa.V();this.bI=1E5;this.ma=a}load(a,b,d,g){this.Hb=b;this.ye=g;this.Ma=d;e.wa(!0,e.i.C.u.LD);a.Ux(l=>{this.Tn=l;this.t0()})}t0(){this.Tn.rwa(this.ma.index,(a,b)=>{if(a)return this.Tb(a.message,this.Ma);e.rf(this.ye)&&this.ye();for(var d in b){a=b[d].mappings;for(var g in a)"properties"==g?this.wG(a[g]):this.wG(a[g].properties)}this.Kq()})}wG(a,b=null,d="",g="",l=""){for(var m in a)if(this.ma.mapping.Ha(d+m,"visible",
!0)){var n=a[m];if(this.Wxa(n)){var p=b?b:this.jt(m,m);this.wG(n.properties,p,d+m+".",g,l+m+"/")}else if(this.sg(n)){p=b?b:this.jt(m,m);p=this.Rh(p,d+m,m,n,l);var q=this.Kj(d+m,m,n);this.Aa.O.jJ(q.A,p.A)}else if(this.Nf(n)){p=b?b:this.jt(m,m);q=m;var t=!e.ia(g);t&&(q="keyword"==m?g:g+" ("+m+")");p=this.Rh(p,d+m,q,n,l);t&&(p.$ba=!0,p.Bda=d.substr(0,d.length-1));q=this.Kj(d+m,q,n);this.Aa.O.jJ(q.A,p.A)}e.w(n.fields)||(p=b?b:this.jt(m,m),this.wG(n.fields,p,d+m+".",m,l+m+"/"))}}jt(a,b){var d=this.Aa.O.bp(a);
e.w(d)&&(b=this.ma.mapping.Ha(a,"caption",b),d=new f.O.wia(a,b),this.Aa.O.jt(d));return d}Rh(a,b,d,g,l=null){var m=a.Fg(b);e.w(m)&&(d=this.ma.mapping.Ha(b,"caption",d),m=new f.O.xia(b,d),m.type=k.j.Ic.AZ(g.type),a.Rh(m),e.ia(l)?m.Xc=a.caption:("/"==l.charAt(l.length-1)&&(l=l.substr(0,l.length-1)),m.Xc=l),a=new f.O.N4(b,b,1),m.type==k.j.Ic.Pa?a.type=k.j.rb.Cc:m.type==k.j.Ic.$p&&(a.type=k.j.rb.kb),m.Ng(a));return m}Kj(a,b,d){var g=this.Aa.O.qd(a);e.w(g)&&(b=this.ma.mapping.Ha(a,"caption",b),g=new f.O.O4(a,
b),g.type=k.j.Na.AZ(d.type),g.Kd=this.ma.mapping.Ha(a,"aggregations"),this.Aa.O.Kj(g));return g}sg(a){return 0<=k.j.Na.cK.indexOf(a.type)}Wxa(a){return!e.w(a.properties)}Nf(a){return 0<=k.j.Ic.cK.indexOf(a.type)}Kq(){e.wa(!1);null!=this.Hb&&this.Hb()}Ek(a,b,d){e.wa(!0,e.i.C.u.sn,a.caption);a.type==k.j.Ic.Pa?this.$ya(a,g=>{if(g)return this.Tb(g,d);a.Nd=!0;e.wa(!1);b(a)}):this.Asa(a,(g,l)=>{if(g)return this.Tb(g,d);0==l?(a.Nd=!0,b(a)):this.Gca(a,0,Math.ceil(l/this.bI),l,m=>{if(m)return this.Tb(m,d);
a.Nd=!0;e.wa(!1);b(a)})})}Asa(a,b){a={size:0,aggs:{count:{cardinality:{field:a.A}}}};e.w(this.ma.Ee)||(a.query=w.Jc.Ni(this.ma.Ee));this.Tn.search({index:this.ma.index,body:a},(d,g)=>{if(d)return b(d.message);b(null,g.aggregations.count.value)})}Gca(a,b,d,g,l){var m={size:0,aggs:{[a.A]:{terms:{field:a.A,include:{partition:b,num_partitions:d},size:2*this.bI}}}};e.w(this.ma.Ee)||(m.query=w.Jc.Ni(this.ma.Ee));this.Tn.search({index:this.ma.index,body:m},(n,p)=>{if(n)return l(n.message);n=p.aggregations[a.A].buckets;
for(p=0;p<n.length;p++)this.ic(a,n[p].key_as_string||n[p].key,n[p].key);b<d-1?(e.wa(!0,e.i.C.u.sn,e.P.bind("{0}: {1} of {2} loaded",a.caption,(b+1)*this.bI,g)),this.Gca(a,b+1,d,g,l)):l()})}$ya(a,b){var d={size:0,aggs:{[a.A]:{date_histogram:{field:a.A,min_doc_count:this.ma.mapping.Ha(a.A,"min_doc_count"),interval:this.ma.mapping.Ha(a.A,"interval"),time_zone:this.ma.mapping.Ha(a.A,"time_zone"),format:this.ma.mapping.Ha(a.A,"format")}}}};e.w(this.ma.Ee)||(d.query=w.Jc.Ni(this.ma.Ee));this.Tn.search({index:this.ma.index,
body:d},(g,l)=>{if(g)return b(g.message);g=l.aggregations[a.A].buckets;for(l=0;l<g.length;l++)this.ic(a,g[l].key_as_string,g[l].key);b()})}ic(a,b,d){"string"!=typeof b&&(b=""+b);var g=a.Yb(b),l="number"==typeof d?d:null;null==g?g=a.ic(new k.O.be({A:b,sc:l})):g.sc!=d&&a.type==k.j.Ic.Pa&&(g=a.ic(new k.O.be({A:`${b}-${d}`,caption:b,sc:l})));return g}Dk(a,b,d,g){this.Ek(a,d,g)}uy(){throw"Not Implemented";}Hp(){throw"Not Implemented";}NA(){return!1}cancel(){this.Tn&&this.ma&&!this.ma.connection&&this.Tn.close();
this.ye=this.Ma=this.Hb=this.ma=this.Aa=this.Tn=null}Tb(a,b){console.error(a);e.wa(!1);e.Wa(a,e.i.C.u.Ca,e.Bb.Ca);e.rf(b)&&b()}}f.Bia=c})(h.ze||(h.ze={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends k.O.Ds{constructor(){super();this.index=this.url=null;this.Kp=!1;this.mapping=new f.OM;this.Oea="2.8.5";this.Fa=k.j.sa.API}isEqual(a){return super.isEqual(a)&&this.url==a.url&&this.index==a.index&&this.Kp==a.Kp&&this.mapping.isEqual(a.mapping)}get bG(){return!0}static yb(a){var b=new c;e.w(a.url)||""==a.url||(b.url=a.url);e.w(a.index)||(b.index=a.index.toString());e.w(a.requestHeaders)||(b.wc=a.requestHeaders);e.w(a.mapping)||(b.mapping=
a.mapping instanceof f.OM?a.mapping:new f.OM(a.mapping));e.w(a.withCredentials)||(b.withCredentials=a.withCredentials);e.w(a.singleEndpoint)||(b.Kp=a.singleEndpoint);return b}Qa(a=!1){var b={};b.type=this.Fa;e.w(this.url)||(b.url=this.url);e.w(this.index)||(b.index=this.index);if(a||this.Kp)b.singleEndpoint=this.Kp;if(!this.mapping.ib||this.mapping.mp)b.mapping=this.mapping.Qa(!0);if(a||this.withCredentials)b.withCredentials=this.withCredentials;return b}Ux(){return new f.LM({url:this.url,Kp:this.Kp,
wc:this.wc,withCredentials:this.withCredentials})}clone(){var a=new c;a.Fa=this.Fa;e.w(this.url)||(a.url=this.url);e.w(this.index)||(a.index=this.index);e.w(this.Kp)||(a.Kp=this.Kp);if(!this.mapping.ib||this.mapping.mp)a.mapping=this.mapping.clone(this.Fa);this.withCredentials&&(a.withCredentials=this.withCredentials);return a}}f.y3=c})(h.Kc||(h.Kc={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.O.fz{constructor(b,d=""){super(b,d)}}c.ZGa=a})(f.O||(f.O={}))})(h.Kc||(h.Kc={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.local.O.HN{constructor(b,d=""){super(b,d);this.Zt=!1;b=new c.A3(b+".[(all)]","All",0);this.Ng(b);this.zq=this.gl="(all member)";b=new k.O.be({A:"(all member)",caption:"All",Rb:!0});super.ic(b)}OB(){return new c.yga(this)}get n_(){return e.rf(this.cw)||this.Zt}UT(b,d){return this.Zt?this.FFa(b.children):super.UT(b,d)}FFa(b){this.Ji===k.j.Ba.gc&&e.gb.sort(b,e.gb.oi);this.Ji===k.j.Ba.Ec&&e.gb.sort(b,e.gb.yo|e.gb.oi);return b}clone(){var b=
super.clone();b.Zt=this.Zt;b.interval=this.interval;return b}get Nd(){return this.jA}set Nd(b){this.jA=b}}c.NM=a})(f.O||(f.O={}))})(h.Kc||(h.Kc={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.O.Bs{constructor(b,d="",g=0){super(b,d,g)}}c.A3=a})(f.O||(f.O={}))})(h.Kc||(h.Kc={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.O.Zq{constructor(b,d=""){super(b,d);this.FE=[];this.dv=void 0}get ac(){return e.i.Vb.valid(this.nc)?this.nc:e.i.Vb.Mc(this.nc)}get caption(){if(0==e.i.B.F.vw)return this.ac;switch(this.fa){case k.j.ca.fq:return e.P.bind(e.i.C.u.nI,this.ac);case k.j.ca.oc:return e.P.bind(e.i.C.u.VM,this.ac);case k.j.ca.Is:return e.P.bind(e.i.C.u.ZN,this.ac);case k.j.ca.yj:return e.P.bind(e.i.C.u.cN,this.ac);case k.j.ca.Vp:return e.P.bind(e.i.C.u.RM,
this.ac);case k.j.ca.Iu:return e.P.bind(e.i.C.u.qV,this.ac);case k.j.ca.Nu:return e.P.bind(e.i.C.u.hO,this.ac);case k.j.ca.Ou:return e.P.bind(e.i.C.u.iO,this.ac);case k.j.ca.MAX:return e.P.bind(e.i.C.u.LN,this.ac);case k.j.ca.MIN:return e.P.bind(e.i.C.u.TN,this.ac);case k.j.ca.fr:return e.P.bind(e.i.C.u.iI,this.ac);case k.j.ca.Eo:return e.P.bind(e.i.C.u.cI,this.ac);case k.j.ca.cq:return e.P.bind(e.i.C.u.hI,this.ac);case k.j.ca.gr:return e.P.bind(e.i.C.u.fI,this.ac);case k.j.ca.Fo:return e.P.bind(e.i.C.u.gI,
this.ac);case k.j.ca.ni:return e.P.bind(e.i.C.u.MH,this.ac);case k.j.ca.Hm:return e.P.bind(e.i.C.u.aO,this.ac);case k.j.ca.wn:return e.P.bind(e.i.C.u.cO,this.ac);case k.j.ca.mn:return e.P.bind(e.i.C.u.pH,this.ac);case k.j.ca.nn:return e.P.bind(e.i.C.u.qH,this.ac);case k.j.ca.tn:return e.P.bind(e.i.C.u.dI,this.ac);case k.j.ca.un:return e.P.bind(e.i.C.u.eI,this.ac);case k.j.ca.NONE:return this.ac}return-1<k.j.ca.CU.indexOf(this.fa)?`${this.ac} (${this.fa})`:e.P.bind(e.i.C.u.nI,this.ac)}set hp(b){this.bv=
b}get hp(){return-1<k.j.ca.CU.indexOf(this.Fj)?`${this.ac} (${this.Fj})`:super.hp}set caption(b){this.nc=b}get Ik(){return this.nc}set Ik(b){}get vj(){return this.FE}set vj(b){this.FE=[];if(!e.w(b))for(var d=0;d<b.length;d++)if("string"==typeof b[d]){var g=b[d].trim().toLowerCase();k.j.ca.jB(g)&&(g=k.j.ca.wB(g));k.j.ca.bz(g)&&this.FE.push(g)}}set Kd(b){if(e.w(b))this.Lm=this.vj,this.type==k.j.Na.kb&&0<this.Lm.length&&(this.Lm=this.Lm.concat(k.j.ca.$G));else{for(var d=[],g=0;g<b.length;g++){var l=
b[g].trim().toLowerCase();k.j.ca.jB(l)&&(l=k.j.ca.wB(l));(-1!==this.vj.indexOf(l)||this.type==k.j.Na.kb&&-1!==k.j.ca.$G.indexOf(l))&&d.push(l)}this.Lm=0<d.length?d:this.vj}this.dv=void 0;this.nxa(this.Lm)||(this.Lm=[])}get Kd(){return!1===this.dv||0<this.Lm.length?this.Lm:this.vj}nxa(b){if(void 0===this.dv){this.dv=!1;for(var d=0;d<b.length;d++)if(k.j.ca.C_(b[d])){this.dv=!0;break}}return this.dv}p_(){var b=new a("","");return this.je!=b.je||this.format!=b.format||0==this.jm?!1:!0}clone(){var b=new a(this.A);
this.MJ(b);void 0!=this.FE&&(b.FE=this.FE.slice());void 0!=this.dv&&(b.dv=this.dv);return b}}c.B3=a})(f.O||(f.O={}))})(h.Kc||(h.Kc={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.O.gH{get ai(){return this.level.Xt?!0:!(this.qg||this.qf)&&0===this.children.length}}c.yga=a})(f.O||(f.O={}))})(h.Kc||(h.Kc={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.local.O.O5{constructor(){super();this.DF=new c.Up}$n(b,d){return new c.NM(b,d)}Vaa(b,d){return new c.B3(b,d)}tl(b,d,g){return new c.A3(b,d,g)}aw(b,d=null,g=!1){var l=d?d:new c.B3(b.uniqueName);return super.aw(b,l,e.w(d)||g)}}c.PM=a})(f.O||(f.O={}))})(h.Kc||(h.Kc={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends k.O.sU{constructor(){super(...arguments);this.h7=!1}get oJ(){return this.h7}set oJ(b){this.h7=b}G8(b,d){e.w(this.cA)&&(this.cA=new e.wb);this.cA.Ta(b,d)}fba(b,d){if(!e.w(this.bx)&&this.bx.Sb(b.A))return this.fQ(this.bx.getItem(b.A),d);if(!e.w(this.cA)){b=k.j.Ic.OG(b.type);if(this.cA.Sb(b))return this.fQ(this.cA.getItem(b),d);if(this.cA.Sb(k.j.input.qa.bH))return this.fQ(this.cA.getItem(k.j.input.qa.bH),d)}return this.oJ?
this.IB(d):null}}a.VK=!1;c.Up=a})(f.O||(f.O={}))})(h.Kc||(h.Kc={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(){this.interval=this.A=void 0}}f.$Ga=c;class a{constructor(){this.Qj=void 0;this.DKa=null}}f.aHa=a;class b{constructor(d){this.rows={};this.Ka={};this.values={};this.filters={};this.slice=d}select(){var d=this.ZA(k.j.ga.Ia),g=this.ZA(k.j.ga.Xa),l=this.bQ(),m=this.Ro(),n={aggs:{}};!m||Array.isArray(m)&&0===m.length||(n.filter=m);if(0<d.length||0<g.length)n.aggs={by:{}},0<d.length&&(n.aggs.by.rows=d),0<g.length&&(n.aggs.by.cols=
g);n.aggs.values=l;return n}SEa(){var d=this.ZA(k.j.ga.Ia),g=this.bQ(),l=this.Ro(),m={aggs:{}};!l||Array.isArray(l)&&0===l.length||(m.filter=l);m.fields=d;m.aggs.values=g;return m}If(d){var g=this.ZA(k.j.ga.Ia),l=this.ZA(k.j.ga.Xa),m=this.bQ(),n=this.Ro();d={type:k.j.Jd.Au,axisName:d,aggs:{}};!n||Array.isArray(n)&&0===n.length||(d.filter=n);if(0<g.length||0<l.length)d.aggs={by:{}},0<g.length&&(d.aggs.by.rows=g),0<l.length&&(d.aggs.by.cols=l);0<m.length&&(d.aggs.values=m);return d}expand(d){var g=
this.ZA(k.j.ga.Ia),l=this.ZA(k.j.ga.Xa),m=this.bQ(),n=this.Ro();d={type:k.j.Jd.sz,axisName:d,aggs:{}};!n||Array.isArray(n)&&0===n.length||(d.filter=n);if(0<g.length||0<l.length)d.aggs={by:{}},0<g.length&&(d.aggs.by.rows=g),0<l.length&&(d.aggs.by.cols=l);0<m.length&&(d.aggs.values=m);return d}Uc(d,g,l=!0){return l?this.Zta(d):this.aZ(d,g)}Zta(d){d=this.Kra(d);var g=this.Ro(),l={};l.limit=e.i.B.F.vF;!g||Array.isArray(g)&&0===g.length||(l.filter=g);l.fields=d;return l}aZ(d,g){var l=[];const m=this.slice.rc(!1,
!0,!0,!0).Lc();var n=[];for(let x=0;x<d.length;x++){var p={uniqueName:d[x]},q=m.find(z=>z.A===d[x]);if(q){var t=q.ta.ea(1);this.hJ(t,q.interval,p)}l.push(p);void 0!==g[d[x]]&&(q={},q.field={uniqueName:d[x]},p=g[d[x]],k.j.rb.eS(t.type)&&!isNaN(p)&&null!==p?p=+p:t.type===k.j.rb.Sc&&(p=""+p),q.include=[{member:p}],n.push(q))}e.w(this.filters)||n.push(...this.Lra());g={};g.limit=e.i.B.F.vF;0<n.length&&(g.filter=n);g.fields=l;return g}Kra(d){const g=[],l=this.slice.ad.rc(!1).Lc();for(var m=0;m<d.length;m++){const p=
{uniqueName:d[m]};var n=l.find(q=>q.A===d[m]);n&&this.hJ(n.ta.ea(1),n.interval,p);g.push(p)}return g}ZA(d){const g=[],l=this.slice.rc(!1,!0,!0,!0).Lc();d=d===k.j.ga.Ia?this.rows:this.Ka;for(var m=0;m<l.length;m++){const q=l[m].A;if(void 0!==d[q])if(0===d[q].length){var n={uniqueName:q};this.hJ(l[m].ta.ea(1),l[m].interval,n);g.push(n)}else for(n=0;n<l[m].ta.length;n++){var p=l[m].ta.ea(n).A;-1!==d[q].indexOf(p)&&g.push({uniqueName:p})}}return g}hJ(d,g,l){if(d.type===k.j.rb.Pa||d.type===k.j.rb.Cc)l.interval=
g}bQ(){let d=[];for(let g in this.values)for(let l=0;l<this.values[g].length;l++)d.push({func:this.values[g][l],field:{uniqueName:g}});return d}FJ(d){var g=d.A,l=d.Nf?d.ta.ea(1).A:g,m={};m.field={uniqueName:l};if(void 0!==this.filters[g].query)if(f.O.Up.VK)Array.isArray(this.filters[g].query)?m={type:"or",value:this.filters[g].query}:m.query=this.filters[g].query;else if(d.Nf){var n=Object.keys(this.filters[g].query)[0];k.j.pb.Gba(d.ta.ea(1).type,n)&&(m.query=this.filters[g].query)}else m.query=this.filters[g].query;
void 0!==this.filters[g].value&&(m.value=this.filters[g].value);if(void 0!==this.filters[g].include)for(m.include=[],n=0;n<this.filters[g].include.length;n++)m.include.push(this.filters[g].include[n]);if(void 0!==this.filters[g].exclude)for(m.exclude=[],n=0;n<this.filters[g].exclude.length;n++)m.exclude.push(this.filters[g].exclude[n]);if(void 0!==this.filters[g].intersect)if(f.O.Up.VK)void 0!==m.include?(d=this.Eza(m.include,this.filters[g].intersect),m.include=d):void 0!==m.query||void 0!==m.exclude||
void 0===m.field?m={type:"and",value:[{field:{uniqueName:l},include:this.filters[g].intersect},m]}:m.include=this.filters[g].intersect;else{l={};l.field={uniqueName:d.Nf?d.ta.ea(1).A:g};l.include=[this.filters[g].intersect[0]];if(void 0!==m.include||void 0!==m.exclude||void 0!==m.query)l.include[0].filter=m;m=l}return m}Eza(d,g){if(e.w(g))return d;for(var l=0;l<g.length;l++)-1===d.findIndex(m=>m.member===g[l].member)&&d.push(g[l]);return d}Lra(){for(var d=[],g=this.slice.rc(!1,!0,!0).Lc(),l=0;l<g.length;l++)if(void 0!==
this.filters[g[l].A]){var m={};if(this.filters[g[l].A].intersect)m.include=this.filters[g[l].A].intersect;else if(this.filters[g[l].A]){var n=Object.keys(this.filters[g[l].A]),p=n[0];m[p]=this.filters[g[l].A][p];n[1]&&(p=n[1],m[p]=this.filters[g[l].A][p])}else continue;m.field={uniqueName:g[l].Nf?g[l].ta.ea(1).A:g[l].A};d.push(m)}return d}Ro(){for(var d=[],g=this.slice.rc(!1,!0,!0).Lc(),l=0;l<g.length;l++){var m=g[l];this.rX(m);void 0!==this.filters[m.A]&&d.push(this.FJ(m))}if(!f.O.Up.VK)return d;
if(0<d.length)return{type:"and",value:d}}fl(d,g){this.lx(this.rows,d,g)}Vm(d,g){this.lx(this.Ka,d,g)}lx(d,g,l){var m=g.A;void 0===d[m]&&(d[m]=[]);if(void 0===l&&g.Nf){if(null!=g.ec||this.slice.cd){for(l=1;l<g.ta.length;l++){var n=g.ta.ea(l);-1===d[m].indexOf(n.A)&&d[m].push(n.A);if(n==g.ec)break}return}l=g.ta.ea(1)}void 0!==l&&(g=l.A,-1===d[m].indexOf(g)&&d[m].push(g))}D8(d){d.forEach(g=>{this.fl(g)})}s8(d){d.forEach(g=>{this.Vm(g)})}kJ(d){if(""!==d.Oo){var g=d.A,l=d.Oo;void 0===this.values[g]&&(this.values[g]=
[]);d.Ra||-1!==this.values[g].indexOf(l)||this.values[g].push(l)}}ppa(d,g){void 0===this.filters[d.A]&&(this.filters[d.A]={});d.filter.ay&&(g=g.x9());g=this.gea(g);if(d.Nf&&f.O.Up.VK){for(var l=[],m=1;m<d.ta.length;m++){var n=Object.keys(g)[0],p=d.ta.ea(m);k.j.pb.Gba(p.type,n)&&l.push({field:{uniqueName:p.A},query:g})}this.filters[d.A].query=l}else this.filters[d.A].query=g}qpa(d,g,l){d=d.A;void 0===this.filters[d]&&(this.filters[d]={});this.filters[d].query=this.gea(g);this.filters[d].value={field:{uniqueName:l.A},
func:l.fa}}gea(d){let g=d.value;g instanceof e.Uf&&(g=g.getTime());Array.isArray(g)&&g[0]instanceof e.Uf&&(g=[g[0].getTime(),g[1].getTime()]);return{[d.va]:g}}zr(d,g,l){d=d.A;f.O.Up.TK||"intersect"!==l||(l="include");void 0===this.filters[d]&&(this.filters[d]={});void 0===this.filters[d][l]&&(this.filters[d][l]=[]);for(var m,n,p;!g.Rb&&void 0!==g.parent;){var q=g.level.A;n=g.A;e.i.B.F.Aq&&("null"===n&&(n=null),"undefined"===n&&(n=void 0),"(blank)"===n&&(n=""));e.ia(n)||(n=k.j.rb.eS(g.level.type)&&
!isNaN(g.sc)?g.sc:1<g.level.xb?g.A.substr(1,g.A.length-2).split("].[").pop():g.A);p={};g.parent.Rb?(p.member=n,void 0!==m&&(p.filter=m)):(p.field={uniqueName:q},p.include=[{member:n}],void 0!==m&&(p.include[0].filter=m));m=p;g=g.parent}this.filters[d][l].push(m)}rX(d,g=!1){var l=d.filter;if(l.jj&&!g){var m=l.ij().length<d.wh/2;g=m?l.ij():l.ij(!0);for(var n=0;n<g.length;n++){var p=d.ya(g[n]);this.zr(d,p,m?"include":"exclude")}}!e.w(l.query)&&l.gy&&(!e.w(l.measure)&&l.Ch?this.qpa(d,l.query,l.measure):
this.ppa(d,l.query))}clone(){var d=new b(this.slice);d.rows=w.Jc.Ni(this.rows);d.Ka=w.Jc.Ni(this.Ka);d.values=w.Jc.Ni(this.values);d.filters=w.Jc.Ni(this.filters);return d}}b.jV=["type","axisName"];f.vu=b})(h.Kc||(h.Kc={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(b){this.slice=b}get Gxa(){return h.Kc.O.Up.TK}select(){return e.i.B.F.dc&&e.i.B.F.Zd!==e.K.td.Bi?this.Ora():this.$ra()}Ora(){for(var b=new f.vu(this.slice),d=this.slice.rc(!1,!0,!0,!0),g=0;g<d.length;g++){var l=this.slice.Ke(d.ea(g).A);l.type!==k.j.Na.oc&&b.kJ(l);l=d.ea(g);if(l.Nf)for(var m=1;m<l.ta.length;m++)b.fl(l,l.ta.ea(m));else b.fl(l)}for(g=0;g<this.slice.hf.length;g++)d=this.slice.hf[g],d.type!==k.j.Na.oc&&b.kJ(d);return b.SEa()}$ra(){var b=
new f.vu(this.slice),d=this.slice.Ab.Lc(),g=this.slice.Fb.Lc();this.slice.Gc?(0<d.length&&b.D8(d),0<g.length&&b.s8(g)):(0<d.length&&b.fl(d[0]),0<g.length&&b.Vm(g[0]));for(d=0;d<this.slice.hf.length;d++)g=this.slice.hf[d],g.Ra||b.kJ(g);return b.select()}expand(b,d){var g=new f.vu(this.slice),l=b==k.j.ga.Ia,m=this.slice.Ab.Lc(),n=this.slice.Fb.Lc();if(l){0<n.length&&g.Vm(n[0]);for(n=0;n<d.length;n++)for(var p=m[n].ya(d[n]);!p.Rb;)g.fl(p.hierarchy,p.level),g.zr(m[n],p,"intersect"),p=p.parent;p=m[d.length];
if(null==p.ec)g.fl(p,p.ta.ea(1));else for(d=1;d<p.ta.length&&(m=p.ta.ea(d),g.fl(p,m),m!=p.ec);d++);}else{0<m.length&&g.fl(m[0]);for(m=0;m<d.length;m++)for(p=n[m].ya(d[m]);!p.Rb;)g.Vm(p.hierarchy,p.level),g.zr(n[m],p,"intersect"),p=p.parent;p=n[d.length];if(null==p.ec)g.Vm(p,p.ta.ea(1));else for(d=1;d<p.ta.length&&(m=p.ta.ea(d),g.Vm(p,m),m!=p.ec);d++);}for(d=0;d<this.slice.hf.length;d++)p=this.slice.hf[d],p.Ra||g.kJ(p);l=this.q8(g,l?k.j.ga.Xa:k.j.ga.Ia);l.unshift(g.expand(b));return l}If(b,d,g){var l=
new f.vu(this.slice),m=b==k.j.ga.Ia,n=this.slice.Ab.Lc(),p=this.slice.Fb.Lc();if(m)for(l.D8(n.slice(0,d.length)),0<p.length&&l.Vm(p[0]),p=0;p<d.length-1;p++)l.zr(n[p],n[p].ya(d[p]),"intersect");else for(l.s8(p.slice(0,d.length)),0<n.length&&l.fl(n[0]),n=0;n<d.length-1;n++)l.zr(p[n],p[n].ya(d[n]),"intersect");d=g;n=d.hierarchy.ta.ea(d.level.xb+1);if(m)for(l.fl(d.hierarchy,n);!d.Rb;)l.fl(d.hierarchy,d.level),d=d.parent;else for(l.Vm(d.hierarchy,n);!d.Rb;)l.Vm(d.hierarchy,d.level),d=d.parent;l.zr(g.hierarchy,
g,"intersect");for(g=0;g<this.slice.hf.length;g++)d=this.slice.hf[g],d.Ra||l.kJ(d);g=this.q8(l,m?k.j.ga.Xa:k.j.ga.Ia);m=this.$oa(l,m?k.j.ga.Xa:k.j.ga.Ia);g.concat(m);g.unshift(l.If(b));return g}q8(b,d){var g=[],l=d===k.j.ga.Ia,m=this.slice.Ab.Lc(),n=this.slice.Fb.Lc(),p=l?this.slice.kc.pd:this.slice.Xb.pd;for(let x=0;x<p.length;x++){const z=p[x];var q=b.clone();if(l){for(var t=0;t<z.length-1;t++)q.fl(m[t]),q.zr(m[t],m[t].ya(z[t+1]),"intersect");q.fl(m[z.length-1])}else{for(t=0;t<z.length-1;t++)q.Vm(n[t]),
q.zr(n[t],n[t].ya(z[t+1]),"intersect");q.Vm(n[z.length-1])}g.push(q.expand(d))}return g}$oa(b,d){var g=[],l=d===k.j.ga.Ia,m=this.slice.Ab.Lc(),n=this.slice.Fb.Lc(),p=l?this.slice.kc.Ze:this.slice.Xb.Ze;for(let A=0;A<p.length;A++){var q=p[A].slice(),t=b.clone(),x=q.pop();q.shift();if(l){for(var z=0;z<q.length;z++)t.fl(m[z]),t.zr(m[z],m[z].ya(q[z+1]),"intersect");q=m[q.length-1];t.fl(q)}else{for(z=0;z<q.length;z++)t.Vm(n[z]),t.zr(n[z],n[z].ya(q[z+1]),"intersect");q=n[q.length-1];t.Vm(q)}x=z=q.ya(x);
z=q.ta.ea(z.level.xb+1);if(l)for(b.fl(q,z);!x.Rb;)b.fl(q,x.level),x=x.parent;else for(b.Vm(q,z);!x.Rb;)b.Vm(q,x.level),x=x.parent;g.push(t.If(d))}return g}Uc(b,d,g,l=null){return this.Gxa?this.Yta(b,d,l):this.aZ(b,d,l)}Yta(b,d,g=null){const l=new f.vu(this.slice),m=this.slice.lb.Lc(),n=this.slice.Ab.Lc(),p=this.slice.Fb.Lc(),q=this.slice.hf;this.$Y(m,[],l,g);this.$Y(n,b,l,g);this.$Y(p,d,l,g);for(b=0;b<q.length;b++)-1===g.indexOf(q[b].A)&&g.push(q[b].A);return l.Uc(g,!0)}$Y(b,d,g,l){for(var m,n=0;n<
b.length;n++)if(g.rX(b[n],!e.w(d[n])),d[n]&&(m=b[n].ya(d[n]))&&g.zr(b[n],m,"intersect"),b[n].Nf){let q=l.indexOf(b[n].A);-1!==q&&l.splice(q,1);for(m=1;m<b[n].ta.length;m++){var p=b[n].ta.ea(m);-1===l.indexOf(p.A)&&(-1===q?l.push(p.A):l.splice(q++,0,p.A))}}else-1===l.indexOf(b[n].A)&&l.push(b[n].A)}aZ(b,d,g=null){const l=new f.vu(this.slice),m=this.slice.lb.Lc(),n=this.slice.Ab.Lc(),p=this.slice.Fb.Lc(),q=this.slice.hf,t={};this.bZ(m,[],t,l,g);this.bZ(n,b,t,l,g);this.bZ(p,d,t,l,g);for(b=0;b<q.length;b++)-1===
g.indexOf(q[b].A)&&g.push(q[b].A);return l.Uc(g,t,!1)}bZ(b,d,g,l,m){let n,p;for(var q=0;q<b.length;q++)p=b[q].A,l.rX(b[q],!e.w(d[q])),d[q]&&(n=b[q].ya(d[q]))&&(g[p]=k.j.rb.eS(n.level.type)?n.sc:n.A),-1===m.indexOf(p)&&m.push(p)}}f.zga=c;class a{constructor(b){this.page=0;this.ow=null;this.tJ=d=>{null!=this.ow?d.pageToken=this.ow:d.page=this.page};e.w(b.ow)||(this.ow=b.ow);e.w(b.page)||(this.page=b.page)}}f.Am=a})(h.Kc||(h.Kc={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(b){this.tL=[];this.withCredentials=this.closed=!1;"string"===typeof b.url?this.url=b.url:e.rf(b.url)&&(this.gga=(d,g,l)=>b.url(d,g,l));this.Kp=b.Kp;this.wc=b.wc;this.withCredentials=b.withCredentials}FC(b,d){if(e.w(this.url))e.w(this.gga)?e.Be(()=>{d(e.i.C.u.Xka,null)},1):e.Be(()=>{b=this.S9(b);this.gga(JSON.stringify(b),l=>{if(!this.closed)if("object"==typeof l)d(null,l);else if("string"==typeof l)try{var m=JSON.parse(l);d(null,
m)}catch(n){d(n,null)}},l=>{if(!this.closed)if("object"==typeof l)d(l.message||l,null);else if("string"==typeof l)try{var m=JSON.parse(l);d(m.message||m,null)}catch(n){d(n,null)}})},1);else{var g=this.Usa();g.Je=d;b=this.S9(b,g);g.data=JSON.stringify(b);g.load(this.Kp?this.url:`${this.url}/${b.type}`)}}Usa(){var b=y.Os.Ku,d=new a;d.contentType=y.mz.C3;d.Pq=b;d.withCredentials=this.withCredentials;d.Xi(this.wc);d.N(r.da.Dc,()=>this.Iq(d));d.N(r.da.Ca,g=>this.Tb(g,d));this.tL.push(d);return d}S9(b,
d){if(!e.w(c.SJ)){var g=JSON.parse(JSON.stringify(b));g.requestHeaders=e.w(this.wc)?{}:this.wc;g=c.SJ(g);e.w(g)||(e.w(g.requestHeaders)||(e.w(d)||d.Xi(g.requestHeaders),delete g.requestHeaders),b=g)}return b}bY(b){b.close();this.tL.splice(this.tL.indexOf(b),1)}Iq(b){if("object"==typeof b.response)b.Je(null,b.response);else if("string"==typeof b.response)try{var d=JSON.parse(b.response);b.Je(null,d)}catch(g){b.Je(g,null)}this.bY(b)}Tb(b,d){var g=e.w(b.data)?"":b.data;if("object"==typeof d.response)g+=
d.response.message||d.response;else if("string"==typeof d.response)try{var l=JSON.parse(d.response);g+=l.message||l}catch(m){g=e.w(b.data)?m:b.data}d.Je(g,null);this.bY(d)}close(){for(this.closed=!0;0<this.tL.length;)this.bY(this.tL[0])}}c.SJ=null;f.LM=c;class a extends y.Ej{Tb(){var b;0===this.xhr.status?b=e.P.bind(e.i.C.u.Wka,this.url):404===this.xhr.status?b=e.P.bind(e.i.C.u.Rka,this.url):400===this.xhr.status?b=e.P.bind(e.i.C.u.Qka,this.url):500===this.xhr.status&&(b=e.P.bind(e.i.C.u.Ska,this.url));
this.response=this.xhr.response||this.xhr.responseText||this.xhr.statusText;this.Ga(new r.da(r.da.Ca,this,b))}}})(h.Kc||(h.Kc={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(a){this.Aa=k.Sa.V();this.ma=a;this.client=this.ma.Ux()}load(a,b,d,g){this.Hb=b;this.Ma=d;this.ye=g;this.Hfa=!1;this.lxa()}lxa(){this.client.FC({type:"handshake",version:e.Mh.Fw},(a,b)=>{a=!0;let d;e.w(b)||(this.client.close(),d=b.version,a=this.$qa(d),this.ma.Oea=d,this.client=this.ma.Ux());if(a&&!this.Hfa)this.t0();else if(!e.w(d)&&this.Dya(d))return this.Tb(e.P.bind(e.i.C.u.Vka,this.ma.url,c.LV))});e.wa(!0,e.i.C.u.LD)}$qa(a){return e.ia(a)?
!0:-1!=e.P.$P(a,c.LV)}Dya(a){return-1==e.P.$P(a,c.LV)}t0(){this.Hfa=!0;this.client.FC({index:this.ma.index,type:"fields"},(a,b)=>{if(a)return this.Tb(a);this.Kq(b)});e.wa(!0,e.i.C.u.LD)}Kq(a){e.wa(!1);null!=this.ye&&this.ye();if(e.w(a)||e.w(a.fields))return this.Tb(e.P.bind(e.i.C.u.Uka,this.ma.url));a.sorted&&(this.Aa.O.Zt=!0);let b;e.w(a.aggregations)||(b=this.XCa(a.aggregations));e.w(a.filters)||this.lDa(a.filters);this.wG(a.fields,b,a.filters);null!=this.Hb&&this.Hb()}XCa(a){let b={};if(Array.isArray(a))b[k.j.input.qa.bH]=
a.map(n=>n.toString());else for(var d=0;d<k.j.input.qa.rJ.length;d++){var g=k.j.input.qa.rJ[d];if(!e.w(a[g])&&Array.isArray(a[g])){e.w(b[g])&&(b[g]=[]);for(var l=0;l<a[g].length;l++){var m=a[g][l].toLowerCase();b[g].push(m);-1===k.j.ca.ZG.indexOf(m)&&(k.j.ca.ZG.push(m),k.j.ca.CU.push(m))}}}return b}V9(a){let b;switch(a){case k.j.input.qa.Sc:b=k.j.pb.dk;break;case k.j.input.qa.kb:b=k.j.pb.kb;break;case k.j.input.qa.Pa:b=k.j.pb.Pa}return b}lDa(a){if(!0===a||!1===a)this.Aa.O.DF.oJ=a;else{for(var b=0;b<
k.j.input.qa.rJ.length;b++){var d=k.j.input.qa.rJ[b];if(!e.w(a[d])){const g=this.Ida(a[d],this.V9(d));this.Aa.O.DF.G8(d,g)}}f.O.Up.TK=!0===a.advanced;f.O.Up.TK&&(f.O.Up.VK=1==e.P.$P(this.ma.Oea,"2.8.21"))}}Ida(a,b){if(!0===a||!1===a)return a;{let d=new k.O.Wma;d.rd=!0===a.members;if(!e.w(a.query))if(!0===a.query)d.query=!0;else for(let g of a.query)if(b==k.j.pb.dk&&k.j.Cb.dg(g)||b==k.j.pb.kb&&k.j.jg.dg(g)||b==k.j.pb.Pa&&k.j.Ob.dg(g)||e.w(b)&&k.j.Cb.dg(g)&&k.j.jg.dg(g)&&k.j.Ob.dg(g))e.w(d.query)&&
(d.query=[]),d.query.push(g);if(!e.w(a.valueQuery))if(!0===a.valueQuery)d.Sp=!0;else if(Array.isArray(a.valueQuery))for(let g of a.valueQuery)k.j.pc.dg(g)&&(e.w(d.Sp)&&(d.Sp=[]),d.Sp.push(g));return d}}wG(a,b,d){for(let p=0;p<a.length;p++){var g=a[p],l=g.type;if(!g.hasOwnProperty("uniqueName")||e.w(g.uniqueName)||"string"!==typeof g.uniqueName)continue;var m=g.uniqueName,n=!e.w(g.aggregations)&&Array.isArray(g.aggregations)?g.aggregations:void 0;g=this.ma.mapping.x0(m,g);if(g.hasOwnProperty("visible")&&
!1===g.visible)continue;let q=k.j.input.qa.Sc;k.j.input.qa.valid(g.type)&&(q=g.type);void 0!==n?g.supportedAggregations=n:e.w(b)||(e.w(b[l])?e.w(b[k.j.input.qa.bH])||(g.supportedAggregations=b[k.j.input.qa.bH]):g.supportedAggregations=b[l]);q===k.j.input.qa.Pa&&(g.type=k.j.input.qa.Uk);this.Aa.O.LE(g,m,g.isMeasure);l=this.Aa.O.GB(m);l instanceof f.O.NM&&!e.w(g.filters)&&(m=e.i.ab.wz.lR(l),g=e.w(g.filters)?{}:g.filters,n=this.V9(m),e.w(d[n])&&(n="any"),"boolean"!=typeof g&&(e.w(g.members)&&!e.w(d[n])&&
(g.members=d[n].members),e.w(g.query)&&!e.w(d[n])&&(g.query=d[n].query),e.w(g.valueQuery)&&!e.w(d[n])&&(g.valueQuery=d[n].valueQuery)),g=this.Ida(g,m),this.Aa.O.DF.vpa(l.A,g))}}Tb(a){console.error(a);e.wa(!1);e.Wa(a.message||a,e.i.C.u.Ca,e.Bb.Ca);this.Ma&&e.rf(this.Ma)&&(this.Ma(),this.Ma=null)}Ek(a,b,d){if(e.i.B.F.dc){const g=this.Aa.ha.mapping.Ha(a.A,"filters");if(!1===g||!1===g.members){setTimeout(b,1,a);return}}this.Ma=d;e.wa(!0,e.i.C.u.sn,a.caption);a.Nf?null!==a.ec||this.Aa.za.cd?this.sL(a,
g=>this.pj(g,b)):this.Dk(a,a.Cd,g=>this.pj(g,b)):this.s0(a,new f.Am({page:0}),g=>this.pj(g,b))}s0(a,b,d){var g={};if(a.ta.ea(1).type===k.j.rb.Pa||a.ta.ea(1).type===k.j.rb.Cc)g.interval=a.interval;g.uniqueName=a.A;g={index:this.ma.index,type:"members",field:g};b.tJ(g);this.client.FC(g,(l,m)=>{if(l)return this.Tb(l);if(!this.J1(a,m))return this.Tb(e.P.bind(e.i.C.u.S5,this.ma.url));e.w(m.nextPageToken)?!e.w(m.pageTotal)&&b.page+1<m.pageTotal?(e.wa(!0,e.i.C.u.sn,`${a.caption} - ${Math.round((b.page+1)/
m.pageTotal*100)}%`),this.s0(a,new f.Am({page:b.page+1}),d)):(a.Nd=!0,d(a)):(e.wa(!0,e.i.C.u.sn,a.caption),this.s0(a,new f.Am({ow:m.nextPageToken}),d))})}IJ(a){for(var b;!a.Rb;){var d={};if(a.level.type===k.j.rb.Pa||a.level.type===k.j.rb.Cc)d.interval=a.level.hierarchy.interval;d.uniqueName=a.level.A;var g=a.A;k.j.rb.eS(a.level.type)&&!isNaN(a.sc)?g=a.sc:1<a.level.xb&&(g=a.A.substr(1,a.A.length-2).split("].[").pop());var l=b;b={field:d,include:[{member:g}]};l&&(b.include[0].filter=l);a=a.parent}return b}Fca(a,
b,d,g){var l={};if(a.type===k.j.rb.Pa||a.type===k.j.rb.Cc)l.interval=a.hierarchy.interval;l.uniqueName=a.A;l={index:this.ma.index,type:"members",field:l};var m=this.IJ(b);m&&(l.filter={type:"and",value:[m]});d.tJ(l);this.client.FC(l,(n,p)=>{if(n)return this.Tb(n);if(!this.aDa(b,p))return this.Tb(e.P.bind(e.i.C.u.S5,this.ma.url));!e.w(p.pageTotal)&&d.page+1<p.pageTotal?(e.wa(!0,e.i.C.u.sn,a.caption+" - "+(d.page+1)+"/"+p.pageTotal),this.Fca(a,b,new f.Am({page:d.page+1}),g)):(b.qf=!1,g(a.hierarchy))})}pj(a,
b){var d=a.mu;this.O2(d);if(0<a.filter.Bl.length)this.rL(a,a.filter.Bl,a.filter.yG,l=>{l.vv();this.pj(l,b)});else if(0<d.length){var g=d.shift();0==d.length&&a.s9();a.mu=d;d=a.Yb(g[1]);a.Lx(d);this.Dk(a,d,l=>this.pj(l,b))}else a.Nd=!0,b(a)}O2(a){a.sort((b,d)=>{if(b.length!==d.length)return 0;var g=b.length-1;b=b[g];d=d[g];return e.w(d)||void 0===d.indexOf?1:e.w(b)||void 0===b.indexOf||-1!==d.indexOf(b)?-1:-1!==b.indexOf(d)?1:0})}aDa(a,b){if(e.w(b)||e.w(b.members))return!1;if(0===b.members.length||
1===b.members.length&&e.ia(b.members[0].value))return a.qf=!1,a.qg=!1,!0;for(var d=b.members,g=0;g<d.length;g++){var l=this.ic(a.hierarchy,a,d[g]);l.qf=!l.level.Xt}b.sorted&&(a.hierarchy.Zt=!0);return!0}J1(a,b){if(e.w(b)||e.w(b.members))return!1;for(var d=b.members,g=0;g<d.length;g++)this.ic(a,null,d[g]);b.sorted&&(a.Zt=!0);return!0}ic(a,b,d){var g=String(d.value);var l=a.type===k.j.Ic.zu&&void 0!==d.id?String(d.id):null===b||b.Rb?g:("["===b.A.substr(0,1)?b.A:"["+b.A+"]")+".["+g+"]";var m=a.Yb(l);
e.w(m)&&(g=new k.O.be({A:l,caption:g}),e.w(b)||(g.parent=b),g.value=d.value,a.Nf?(b=a.ta.ea(b.level.xb+1),d=b.A,g.level=b,b=this.Aa.O.KF(d)):b=this.Aa.O.KF(a.A),m=a.ic(g,b));a.wT(m);return m}Dk(a,b,d){null==b||!b.Rb&&!b.qf||b.ai?d(a):this.Fca(a.ta.ea(b.level.xb+1),b,new f.Am({page:0}),()=>{b.qf=!1;d(a)})}sL(a,b){this.r0(a,new f.Am({page:0}),()=>{b(a)})}r0(a,b,d){for(var g=[],l=1;l<a.ta.length;l++){var m=a.ta.ea(l);g.push({uniqueName:m.A});if(m==a.ec)break}m=[];for(l=0;l<g.length;l++)m.push({field:g[l],
func:"distinctcount"});g={type:"select",index:this.ma.index,query:{aggs:{by:{rows:g},values:m}}};b.tJ(g);this.client.FC(g,(n,p)=>{n?(this.Tb(n),d(a)):this.rDa(p,a)?e.w(p.nextPageToken)?!e.w(p.pageTotal)&&b.page+1<p.pageTotal?this.r0(a,new f.Am({page:b.page+1}),d):d(a):this.r0(a,new f.Am({ow:p.nextPageToken}),d):(this.Tb(e.P.bind(e.i.C.u.T5,this.ma.url)),d(a))})}rDa(a,b){if(e.w(a)||e.w(a.aggs))return!1;a=a.aggs;for(var d,g,l,m,n,p,q=0;q<a.length;q++){d=a[q].keys;n=void 0;g=[];for(var t in d)m=d[t],
g.push(m),l=1===g.length?m:`[${g.join("].[")}]`,p=b.Yb(l),null==p&&(l=new k.O.be({A:l,caption:m,parent:n}),p=b.ic(l),p.qf=!p.level.Xt),n=p}return!0}rL(a,b,d,g){this.iaa(a,b,0,g)}iaa(a,b,d,g){d===b.length?g(a):this.jaa(a,"["===b[d].substr(0,1)?b[d].substr(1,b[d].length-2).split("].["):[b[d]],0,()=>this.iaa(a,b,d+1,g))}jaa(a,b,d,g){if(d===b.length)g(a);else{var l="";if(0<d){l=[];for(var m=0;m<=d;m++)l.push("["+b[m]+"]");l=l.join(".")}else l=b[0];a.type===k.j.Ic.Pa?(l=(new e.Uf(l)).getTime(),l=a.Mv(l)):
l=a.Yb(l);this.Dk(a,l,()=>this.jaa(a,b,d+1,g))}}uy(){}Hp(a,b,d,g){d&&(this.Hb=d);g&&(this.Ma=g);throw"Not Implemented";}NA(){return!1}cancel(){this.ye=this.Ma=this.Hb=this.ma=this.Aa=null;this.client&&(this.client.close(),this.client=null)}}c.LV="2.8.5";f.Aga=c})(h.Kc||(h.Kc={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(){this.Aa=k.Sa.V();this.ra=this.Aa.ra}load(a,b,d,g){this.ma=a;this.query=b;this.Hb=d;this.Ma=g;this.client=this.ma.Ux();this.Zv()}Zv(){e.wa(!0,e.i.C.u.Bf);this.S1=0;if(Array.isArray(this.query.body)){var a=new w.oI;this.query.body.forEach(b=>{a.add(d=>this.wS(b,new f.Am({page:0}),d))});a.Of(()=>{null!=this.Hb&&this.Hb();e.wa(!1)})}else this.wS(this.query.body,new f.Am({page:0}),()=>{null!=this.Hb&&this.Hb();e.wa(!1)})}wS(a,b,
d){let g=this.cra(a);a={type:"select",index:this.ma.index,query:g};b.tJ(a);this.client.FC(a,(l,m)=>{if(l)return this.Tb(l,this.Ma),d();if(!this.xDa(m))return this.Tb(e.P.bind(e.i.C.u.T5,this.ma.url),this.Ma),d();e.w(m.nextPageToken)?!e.w(m.pageTotal)&&b.page+1<m.pageTotal?(e.wa(!0,e.i.C.u.Bf,`${Math.round((b.page+1)/m.pageTotal*100)}%`),this.wS(g,new f.Am({page:b.page+1}),d)):d():this.wS(g,new f.Am({ow:m.nextPageToken}),d)})}cra(a){a=w.Jc.Ni(a);for(let b=0;b<f.vu.jV.length;b++)a[f.vu.jV[b]]&&delete a[f.vu.jV[b]];
return a}xDa(a){if(e.w(a))return!1;a.aggs&&(this.YCa(a.aggs,this.dya()),(e.w(a.nextPageToken)&&e.w(a.pageTotal)||1>=a.pageTotal-a.page)&&this.S1++);a.hits&&this.mDa(a.fields,a.hits);return!0}dya(){return e.i.B.F.dc&&e.i.B.F.Zd!==e.K.td.Bi}mDa(a,b){for(var d=this.YZ(this.Aa.za.rc(!1,!0,!0,!0)),g=0;g<b.length;g++){for(var l=[],m=[],n,p=0;p<a.length;p++){n=a[p].uniqueName;var q=this.ra.Bh(n),t=b[g][p];n=d.getItem(n);var x=n.hierarchy;if(x.type===k.j.Ic.Pa){var z=x.Mv(t);z=e.w(z)?-1:z.ordinal}else x.type!==
k.j.Ic.zu?(z=x.Mv(parseFloat(t)),z=null!==z?z.ordinal:-1):z=x.Xx(e.ia(t)?"":""+t);if(-1===z)if(x.Nf){var A=n.ZS;z=[];for(var B=1;B<x.ta.length;B++){var D=x.ta.ea(B),I=a.findIndex(Q=>Q.A===D.A);z.push(b[g][I]);if(A===D.A)break}A="["+z.join("].[")+"]";B=A+".["+t+"]";1===z.length&&(A=z[0]);z=x.Xx(B);-1===z&&(D=n.level,A=x.ic(new k.O.be({A:B,caption:t,value:t,level:D,Hh:A}),k.j.rb.OG(D.type)),null!=A&&(z=A.ordinal))}else A=this.Aa.O.KF(x.A),A=x.ic(new k.O.be({A:String(t),caption:String(t),value:t}),A),
null!=A&&(z=A.ordinal);l[n.sc]=z;m[q]=x.type===k.j.Ic.$p?"number"===typeof t?t:NaN:x.type===k.j.Ic.Pa?!e.i.B.F.Aq||null!==t&&"null"!==t?"number"===typeof t?t:NaN:null:1}this.ra.Fxa(l,m)}}YZ(a){for(var b,d=new e.wb,g=0,l=0,m=0;m<a.length;m++){b=a.ea(m);if(b.Nf){l++;for(var n=1;n<b.ta.length;n++)d.Ta(b.ta.ea(n).A,{hierarchy:b,ordinal:g,level:b.ta.ea(n),ZS:b.ta.ea(n-1).A,ec:b.ec,sc:l++})}else d.Ta(b.A,{hierarchy:b,ordinal:g,level:b.ta.ea(1),sc:l++});g++}return d}YCa(a,b){var d=this.YZ(this.Aa.za.Ab),
g=this.YZ(this.Aa.za.Fb),l=!1;if(Array.isArray(this.query.body)){var m=this.query.body[this.S1];0<this.S1&&(l=!0)}else m=this.query.body;for(var n=m.type,p=m.axisName,q=0;q<a.length;q++)if(b){var t=this.Mda(a[q].values);this.ra.Ty(t)}else{t=this.Mda(a[q].values);var x=this.Lda(a[q].keys,d),z=this.Lda(a[q].keys,g);if(this.oca(x)&&this.oca(z)){if(n===k.j.Jd.sz||n===k.j.Jd.Au){if(p===k.j.ga.Ia&&x.length+1<m.aggs.by.rows.length){var A=0;0<x.length&&x.forEach(B=>{A+=B[0]});if(A+1<m.aggs.by.rows.length)continue}if(p===
k.j.ga.Xa&&z.length+1<m.aggs.by.cols.length&&(A=0,0<z.length&&z.forEach(B=>{A+=B[0]}),A+1<m.aggs.by.cols.length))continue}this.ra.insert(x,z,t,this.query.zf,this.query.nv,!l)}}}oca(a){for(let b=0;b<a.length;b++)if(e.w(a[b]))return!1;return!0}Mda(a){var b=[],d;for(d in a)if(a.hasOwnProperty(d))for(var g in a[d])if(a[d].hasOwnProperty(g)){var l=this.ra.Bh(d,g,!0);b[l]=a[d][g]}return b}Lda(a,b){var d=[];if(e.w(a))return d;var g=b.length;for(let A=0;A<g;A++){var l=b.Ah(A);if(void 0!==a[l]){var m=a[l];
"string"!==typeof m&&(m=""+m);var n=b.getItem(l);var p=[];if(n.level){var q=n.ZS;for(1<n.level.xb&&(m=`[${m}]`);void 0!==a[q];)m=`[${a[q]}].${m}`,q=b.getItem(q).ZS}n.hierarchy.type===k.j.Ic.zu||n.level.type!==k.j.rb.Pa&&n.level.type!==k.j.rb.Cc&&n.level.type!==k.j.rb.bc&&n.level.type!==k.j.rb.bl?m=n.hierarchy.Xx(m):(m=n.hierarchy.Mv(a[l]),m=e.w(m)?-1:m.ordinal);if(n.ec||this.Aa.za.cd){if(-1===m){q=n.ZS;for(var t=[],x=1;x<n.hierarchy.ta.length;x++){var z=n.hierarchy.ta.ea(x);t.push(a[z.A]);if(q===
z.A)break}q="["+t.join("].[")+"]";x=q+".["+a[l]+"]";1===t.length&&(q=t[0]);l=n.hierarchy.ic(new k.O.be({A:x,caption:a[l],level:n.level,Hh:q}));null!=l&&(m=l.ordinal)}p.push(n.level.xb);p.push(m);void 0===d[b.getItem(n.hierarchy.ta.ea(1).A).ordinal]&&(d[b.getItem(n.hierarchy.ta.ea(1).A).ordinal]=[n.ec?n.ec.xb:0]);d[b.getItem(n.hierarchy.ta.ea(1).A).ordinal].push(p)}else n.level?(p.push(n.level.xb),p.push(m),d[b.getItem(n.hierarchy.ta.ea(1).A).ordinal]=p):(p.push(1),p.push(m),d.push(p))}}return d}Tb(a,
b){console.error(a);e.wa(!1);e.Wa(a.message||a,e.i.C.u.Ca,e.Bb.Ca);e.rf(b)&&b()}Uc(a,b,d,g,l,m){e.wa(!0,e.i.C.u.Bf);this.ma=a;e.w(this.client)&&(this.client=this.ma.Ux());this.qB=[];this.o0(b,new f.Am({page:0}),m)}o0(a,b,d){const g={type:"select",index:this.ma.index,query:a.body};b.tJ(g);this.client.FC(g,(l,m)=>{if(l)return this.Tb(l,d);if(!this.iDa(m))return this.Tb(e.P.bind(e.i.C.u.Tka,this.ma.url),d);e.w(m.nextPageToken)?!e.w(m.pageTotal)&&b.page+1<m.pageTotal?this.o0(a,new f.Am({page:b.page+1}),
d):d(this.qB):this.o0(a,new f.Am({ow:m.nextPageToken}),d)})}iDa(a){if(e.w(a))return!1;if(a.fields&&0==this.qB.length){var b=a.fields.map(d=>d.A);this.qB.push(b)}if(a.hits)for(b=0;b<a.hits.length;b++)this.qB.push(a.hits[b]);return!0}cancel(){this.Ma=this.query=this.Hb=this.ma=this.ra=this.Aa=null;this.client&&(this.client.close(),this.client=null);this.qB&&(this.qB.length=0,this.qB=null)}}f.wga=c})(h.Kc||(h.Kc={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends h.SU{constructor(){super(...arguments);this.i3=new e.wb}bF(){this.i3.clear();super.bF()}Ha(a,b,d,g=!1){g=g?0:this.F7(a,b);const l=this.Bh(d);if(e.w(this.values[g]))return k.j.ca.Lf(d.fa)?0:NaN;d.Ra&&(this.KI=!1,this.values[g][l]=this.Qr([g],d.Oe,d.xk,0,a,b,d.Dn));return e.w(this.values[g][l])?k.j.ca.Lf(d.fa)?0:NaN:this.values[g][l]}F7(a,b){return a+" "+b}Ty(a){this.values[0]=a}eA(a,b){return null===a||0===a.length?NaN:this.values[a[0]]?
this.values[a[0]][b]:NaN}RZ(a,b){const d=this.slice.Zh(new e.i.ab.Bg(a,b));null!=d&&(b=k.j.ca.iL(d.fa)?d.fa:d.Oo);return this.Bh(a,b,!this.KI)}OZ(a,b){const d=k.j.ca.yj;b=this.RZ(b.A,d);return this.eA(a,b,d)}Wm(a,b){super.Wm(a,b);this.Ul(a.A)}insert(a,b,d,g,l,m){var n=[],p=[];const q=[];for(var t=0;t<a.length;t++)if(Array.isArray(a[t][1])){p[t]=a[t][a[t].length-1][1];if(a[t].length>a[t][0]){var x=[];g&&(x=g.slice());x.concat(n.slice());0<x.length&&q.push(x)}for(x=1;x<a[t].length;x++)n[this.ta[this.ph[t]][a[t][x][0]]]=
a[t][x][1]}else{if(-1===a[t][1])return;p[t]=a[t][1];n[this.ta[this.ph[t]][a[t][0]]]=p[t]}a=[];for(t=0;t<b.length;t++)if(Array.isArray(b[t][1]))for(a[t]=b[t][b[t].length-1][1],x=[],g&&(x=g.slice()),x.concat(n.slice()),0<x.length&&q.push(x),x=1;x<b[t].length;x++)n[this.ta[this.Li[t]][b[t][x][0]]]=b[t][x][1];else{if(-1===b[t][1])return;a[t]=b[t][1];n[this.ta[this.Li[t]][b[t][0]]]=a[t]}p=this.F7(p,a);b=this.tb.length;void 0!==this.values[p]?(n=this.i3.getItem(n.join("-")),void 0!==n&&(b=n),m&&(this.values[p]=
d)):(this.Og.push(b),this.tb.push(n),this.i3.Ta(n.join("-"),this.tb.length-1),this.values[p]=d);0<g.length&&(0===this.Bd.length&&(this.expand([],k.j.ga.Ia,void 0),this.expand([],k.j.ga.Xa,void 0)),d=l===k.j.ga.Ia?this.$c(g,this.Bd):this.$c(g,this.Td),void 0!=d&&-1===d[0][0].indexOf(b)&&d[0][0].push(b));if(0<q.length)for(d=0;d<q.length;d++){g=l===k.j.ga.Ia?this.$c(q[d],this.Bd):this.$c(q[d],this.Td);if(void 0===g){g=[];m=void 0;for(n=0;n<q[d].length;n++)g.push(q[d][n]),m=l===k.j.ga.Ia?this.$c(g,this.Bd):
this.$c(g,this.Td),void 0!==m&&void 0!==m[0]&&void 0!==m[0][0]&&(p=q[d][n+1])&&(m[p]=[[[b],[],[],void 0,void 0]]);g=m}void 0!==g&&void 0!==g[0]&&void 0!==g[0][0]&&-1===g[0][0].indexOf(b)&&g[0][0].push(b)}}Fxa(a,b){let d;if(0===this.tb.length)for(d=0;d<a.length;d++)this.tb[d]=[];this.Og=e.gb.ws(this.Og,this.Aw);for(d=0;d<a.length;d++)this.tb[d]=e.gb.ws(this.tb[d],a[d]);0===this.values.length&&this.Ty([]);this.values.push(b)}kR(a,b,d,g,l){if(void 0===this.fb[a])return NaN;if(g)return this.KI=!0,d.Ra?
this.Qr([this.fb[a]+1],d.Oe,d.xk,0,null,null,d.Dn):this.values[this.fb[a]+1][b];b=this.ne.indexOf(this.Tg[b]);void 0!==l&&(b=this.ta[b][l+1]);return void 0===this.tb[b]?NaN:this.tb[b][this.fb[a]]}filter(){}bA(a,b,d){if(null!==a){var g=a[0][0];if(0<g.length&&!isNaN(b)){for(let l=0;l<g.length;l++){const m=this.tb[g[l]][this.ta[b][1]];0!==m&&void 0!==m&&(void 0===a[m]?(a[m]=[[[g[l]],[],[],void 0,void 0,!1]],a[0][1].push(m)):a[0][5]||a[m][0][0].push(g[l]))}void 0===a[0][3]&&(a[0][3]=[]);void 0===d?a[0][3][this.Qf.length]=
!0:a[0][3][this.Bh(d)]=!0;a[0][5]=!0}}}OO(a,b,d,g,l){if(void 0!==b&&void 0!==b[0]){var m=b[0][0];if(0<m.length&&!isNaN(g)){for(let n=0;n<m.length;n++){const p=this.tb[m[n]][g];0!==p&&void 0!==p&&(void 0===a[p]?(a[p]=[[[m[n]],[],[],void 0,void 0]],b[0][2].push(p),this.pl[d][p]=g):-1===a[p][0][0].indexOf(m[n])&&a[p][0][0].push(m[n]))}void 0===b[0][4]&&(b[0][4]=[]);void 0===l?b[0][4][this.Qf.length]=!0:b[0][4][this.Bh(l)]=!0}}}}f.z3=c})(h.Kc||(h.Kc={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||
(u={}));(function(e){(function(k){(function(h){(function(f){class c{}c.K6={date:"date string","year/month/day":"date string","year/quarter/month/day":"date string"};class a extends k.O.Bo{constructor(b=null){super(b)}r3(){this.Zoa()}Zoa(){var b=this.mapping;for(let d in b)b=this.Ha(d,"type"),null!=b&&c.K6.hasOwnProperty(b)&&this.Kh(d,"type",c.K6[b])}}f.OM=a})(h.Kc||(h.Kc={}))})(k.external||(k.external={}))})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){class h extends v.Vd.Dj{constructor(f,c){super();this.lca=!1;this.oa=e.i.Ua.V();this.BF=null;this.e0=this.f0=this.height=this.width=0;this.wM=!1;this.z7=0;this.oF=[];this.cda=0;this.s$=!1;this.wx=d=>this.hu(d);this.MA=d=>this.iu(d);this.xx=()=>this.yL();this.ux=null;this.M$=()=>{h.Gb.qb(k.ri.uo,this.M$);this.uc.Nj(this.BF.Ft,this.BF.nb,(...d)=>{this.uc.I=null;this.oa.I=e.v.kf.zj.Hc("chart");null!=this.BF.Po&&this.BF.Po.apply(null,d);this.BF=null})};this.jFa();!0===c.accessibility&&
this.$("fm-accessibility");null!=this.sf&&this.sf.dispose();f.empty();this.sf=f;h.Gb=this;var a=c.width?"number"===typeof c.width?c.width+"px":-1<c.width.indexOf("px")||c.width.indexOf("%")==c.width.length-1?c.width:c.width+"px":"100%";f=c.height?"number"===typeof c.height?c.height+"px":-1<c.height.indexOf("px")||c.height.indexOf("%")==c.height.length-1?c.height:c.height+"px":"500px";var b=/\d+(?=px|%)/;a=a.match(b)?a:"100%";f=f.match(b)?f:"500px";this.sf.U("width",a);this.sf.U("height",f);this.G.U("width",
a);this.G.U("height",f);this.sf.append(this.G);f=[];c.toolbar?(f=["toolbar/flexmonster_toolbar.js".replace("_",".")],this.wM=!0):this.wM=!1;b=new v.Da("div","fm-csscheck");this.sf.append(b);"flexmonster"!=window.getComputedStyle(b.element).getPropertyValue("font-family")&&'"flexmonster"'!=window.getComputedStyle(b.element).getPropertyValue("font-family")&&f.unshift("flexmonster.css");b.remove();w.Ms.load(f,()=>{this.G.requestAnimationFrame(()=>{this.toolbar=c.toolbar?new FlexmonsterToolbar(this.sf.element,
e.Mh.La.Kc,"html5",a,e.i.C.Bz.V().Baa(),e.i.ua.mc.Yh(),c.accessibility):null;e.Mh.La.Kc.toolbar=this.toolbar;this.sba&&(e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.pU,this.toolbar)),this.toolbar.create());this.wM=!1;this.ve();this.jb()})},()=>{this.wM=!1});this.oa.Ja.N(e.i.qc.xd.Az,()=>this.e1());this.oa.Ja.N(e.i.qc.xd.mV,()=>this.XBa());this.oa.Ja.N(e.i.qc.xd.LU,()=>this.K0());this.oa.Ja.N(e.i.qc.xd.GD,()=>this.c1());this.oa.Ja.N(e.i.qc.xd.Mz,()=>{});this.oa.Ja.N(e.i.qc.xd.ek,d=>this.BAa(d));this.oa.Ja.N(e.i.qc.xd.cj,
()=>this.o1());this.oa.Ja.N(e.i.qc.xd.UD,()=>this.p1());this.oa.Ja.N(e.i.qc.xd.ID,()=>this.rG());this.oa.N(e.Vf.RU,d=>this.QAa(d));this.oa.N(e.Vf.BV,()=>this.cCa());this.oa.N(k.Ra.ak.V3,d=>this.YBa(d));this.oa.N(k.ri.j4,d=>this.ZBa(d));this.N(k.ri.uo,()=>this.Wza());e.rl.addEventListener("fullscreenchange",()=>this.KS(),!1);e.rl.addEventListener("mozfullscreenchange",()=>this.KS(),!1);e.rl.addEventListener("webkitfullscreenchange",()=>this.KS(),!1);e.rl.addEventListener("MSFullscreenChange",()=>this.KS(),
!1);this.sf.N("fullscreenchange",d=>this.QS(d),!1);this.sf.N("mozfullscreenchange",d=>this.QS(d),!1);this.sf.N("webkitfullscreenchange",d=>this.QS(d),!1);this.sf.N("MSFullscreenChange",d=>this.QS(d),!1)}get sba(){return this.toolbar&&null!=this.toolbar.create}get eD(){if(this.toolbar){var f=v.Da.Ib(this.sf.element.querySelector("#fm-toolbar-wrapper"));return null==f?0:f.height}return 0}static get qu(){var f=h.Gb.G.borderWidth;return h.Gb.sf.pf(w.aS())-f.left-f.right}static get Cfa(){var f=h.Gb.G.borderWidth;
return h.Gb.sf.wd(w.aS())-f.top-f.bottom}static get Hn(){return e.i.B.F.Zd==k.td.qn?h.DO:h.qu-h.Gb.uB}static get Fn(){return e.i.B.F.Zd==k.td.qn?h.BI:h.Gb.Ap()}static get SK(){return e.i.B.F.Zd==k.td.qn?h.XO:h.qu-h.Gb.uB}static get VB(){return e.i.B.F.Zd==k.td.qn?h.WO:h.Gb.Ap()}get uB(){return"right"==e.i.B.F.tB&&e.i.B.F.To?this.z7:0}set uB(f){this.z7=f}Ap(){return this.GR()&&null!=this.Wl?h.Cfa-(this.Wl.wd()+this.Wl.G.borderWidth.top)-h.Gb.eD:h.Cfa-h.Gb.eD}jb(f=!1){this.k9();if(this.s$||this.lca&&
(e.i.ua.mc.error||!e.ia(e.i.ua.mc.Fx))){var c=this.G.requestAnimationFrame(()=>{this.k9();this.oW(f)});this.oF.push(c)}else 500>this.cda++||(this.wM||e.ia(e.i.ua.mc.Fx))&&5E3>this.cda?this.Sza=e.Be(()=>{this.jb(f)},10):this.sf.visible&&(console.error("Something went wrong.\nTo fix the issue please try the following:\n1. Check if the componentFolder parameter is defined correctly.\n2. Check if the path to the css file is valid.\n3. Check if DevTools (press F12) has an exception.\n4. Ask the support team for help (https://www.flexmonster.com/forum/)"),
"hidden"!=document.visibilityState&&(e.i.ua.mc.Bp||alert("Something went wrong.\nTo fix the issue please try the following:\n1. Check if the componentFolder parameter is defined correctly.\n2. Check if the path to the css file is valid.\n3. Check if DevTools (press F12) has an exception.\n4. Ask the support team for help (https://www.flexmonster.com/forum/)")))}k9(){for(;0<this.oF.length;)this.G.cancelAnimationFrame(this.oF.pop());this.oF=[];e.Pr(this.Sza);e.Pr(this.mea)}bga(){if(!this.sf)return!1;
var f=w.aS(),c=this.sf.pf(),a=this.sf.wd();a-=this.eD;if(this.f0!==c||this.e0!==a)this.G.U("width",c+"px"),f?this.G.U("height","calc(100% - "+this.eD+"px)"):this.G.U("height",a+"px");return this.f0!==c||this.e0!==a}E1(){this.toolbar&&null!=this.toolbar.applyToolbarLayoutClasses&&this.toolbar.applyToolbarLayoutClasses();this.jb(!0)}e1(){this.oa.Ja.uf==e.i.qc.Go.INIT&&this.rF()}K0(){null!=this.uc&&this.uc.$E();this.jb()}c1(){this.oa.Ja.uf!=e.i.qc.Go.tO&&this.oa.Ja.uf!=e.i.qc.Go.kz&&this.rF()}XBa(){this.rF()}tda(){this.oa.Ja.ha.Qc&&
(null!=this.uc&&this.uc.$E(),this.jb())}sda(){this.oa.Ja.uf!=e.i.qc.Go.tO&&this.oa.Ja.uf!=e.i.qc.Go.kz&&this.rF()}gda(){this.oa.Ja.uf!=e.i.qc.Go.tO&&this.oa.Ja.uf!=e.i.qc.Go.kz&&this.rF()}BAa(f){this.oa.Ja.uf!=e.i.qc.Go.INIT&&this.oa.Ja.uf!=e.i.qc.Go.J5&&(null!=this.uc&&f.data!=e.v.j.Jd.sz&&f.data!=e.v.j.Jd.yU&&f.data!=e.v.j.Jd.Au&&f.data!=e.v.j.Jd.eN&&this.uc.$E(),this.jb())}rG(){null!=this.toolbar&&this.toolbar.updateLabels(e.i.C.Bz.V().Baa());null!=this.zh&&this.zh.updateLabels()}Iv(f){f=this.oa.ja.za.rc().getItem(f);
null!=f&&this.Vba(f)&&(this.uc.$E(),this.oa.I.Iv(f))}uv(f){f=this.oa.ja.za.rc().getItem(f);null!=f&&this.Vba(f)&&(this.uc.$E(),this.oa.I.uv(f))}Vba(f){const c=this.oa.ja.za,a=c.rows.Sb(f.A)?e.v.j.ga.Ia:e.v.j.ga.Xa;return(a==e.v.j.ga.Ia?c.Ab.indexOf(f.A):c.Fb.indexOf(f.A))+1<(a==e.v.j.ga.Ia?c.Ab.length:c.Fb.length)}o1(){this.oa.Ja.uf==e.i.qc.Go.wo?this.rF():this.sf&&this.jb()}p1(){this.qra()}KS(){this.lba()}QS(f){f.stopPropagation();this.lba()}lba(){var f=w.aS();null!=e.i.Ya.jsFullScreenHandler&&e.i.Ya.jsFullScreenHandler.call(null,
f);var c=0,a=()=>{this.sf.wd()!=parseInt(this.sf.element.style.height)&&5>c?(c++,this.sf.requestAnimationFrame(a)):this.bga()&&this.jb(!0)};this.sf.requestAnimationFrame(a)}ve(){this.toolbar&&(this.G.height-=this.eD);this.uc=new k.Y.Jja;this.uc.N(k.ri.Kw,f=>this.ZAa(f));this.uc.N(k.ri.HU,f=>this.hda(f));this.W(this.uc);this.zh=new k.ud.Lw;this.zh.N(r.da.OPENED,()=>{});this.zh.N(r.da.CLOSED,()=>{});this.zh.N(k.ud.Lw.iN,()=>this.M0());this.zh.N(k.ud.Lw.uH,f=>this.L0(f));this.W(this.zh);e.rl.addEventListener("keydown",
f=>this.hw(f));this.yE=new w.sma(this.sf.parent);this.yE.N(r.da.GV,f=>this.E1(f));this.lca=!0}XDa(){k.TM.V().fL&&k.TM.V().qt()}oW(f=!1){null!=this.oa&&0!=this.sf.width&&(this.bga(),this.XDa(),1>e.i.ua.mc.Yh()||(this.s$=!0,this.yE.refresh(),this.GR()&&this.Dta(),this.sxa()&&(this.W(this.kU),this.kU.jb()),e.i.B.F.dc&&this.oa.ja.ha&&!this.oa.ja.ha.bG&&(e.i.B.F.dc=!1,e.Wa(e.P.bind(e.i.C.u.bla,e.v.j.sa.J(this.oa.ja.ha.Fa)),e.i.C.u.CN)),e.i.B.F.dc&&e.i.B.F.Zd==k.td.qn&&this.oa.ja.ha&&this.oa.ja.ha.Fa==
e.v.j.sa.API&&(e.i.B.F.Zd=k.td.Es,e.Wa(e.P.bind(e.i.C.u.rV),e.i.C.u.CN,e.Bb.Tk)),null!=this.Oj&&this.Oj.jb(),e.w(this.oa.Ja.ha)||this.oa.Ja.ha.ib||!e.i.B.F.cQ&&!this.zh.se?this.zh.cb():this.zh.show(),f||e.i.B.F.JJ||k.Ra.AD.lJ||(e.i.B.F.To=!1),e.w(this.oa.ja.za)||e.w(this.oa.ja.O)||this.oa.ja.O.ib||!this.oa.ja.za.ib||(e.i.B.F.To=!0),e.i.B.F.To&&null!=this.oa.Ja.ha&&!this.oa.Ja.ha.ib?this.zh.open(this.oa.ja.O,this.oa.ja.za,this.oa.Ja.ha.Fa):this.zh.close(),e.i.B.F.Zd==k.td.Bi?this.SY(f):e.i.B.F.Zd==
k.td.qn?this.UY(f):this.TY(f),null!=this.cm&&this.cm.isVisible()&&(e.i.B.F.dc&&e.i.B.F.Zd===k.td.Es?this.cm.close():this.cm.U1()),this.f0=this.pf(),this.e0=this.wd()))}rF(){e.i.B.F.Zd==k.td.Bi?this.SY(!1,!0):e.i.B.F.Zd==k.td.qn?this.UY(!1):this.TY(!1,!0);e.w(this.zh)||(this.zh.close(),this.zh.cb())}OT(){if(this.oa.Ja.ha.Fa==e.v.j.sa.API&&e.i.B.F.dc&&e.i.B.F.Zd==k.td.Bi){const f=e.i.B.F.Qv(!1,!0);f.la("viewType",k.td.Es);this.oa.Jp(f.Qa())}else e.i.B.F.Zd=k.td.Es,e.i.B.F.dc&&this.zh&&this.zh.fL&&this.zh.open(this.oa.ja.O,
this.oa.ja.za,this.oa.Ja.ha.Fa),this.TY()}TY(f=!1,c=!1){null!=this.uc&&(null!=this.Zc&&this.Zc.cb(),null!=this.$j&&this.$j.cb(),f||null==this.Oj||this.Oj.close(),this.uc.I=c?null:this.oa.I=e.v.kf.zj.Hc(),this.uc.G.U("top","").U("left","").U("right","").U("bottom",""),this.uc.G.U("position","absolute"),this.uc.show(),this.uc.G.U("height",h.VB+"px"),this.uc.G.U("width",h.qu+"px"),c&&this.uc.$E(),this.uc.jb())}gM(f="",c=!1){if(this.oa.Ja.ha.Fa==e.v.j.sa.API&&e.i.B.F.dc&&e.i.B.F.Zd==k.td.Es){const a=
e.i.B.F.Qv(!1,!0);a.la("viewType",k.td.Bi);a.la("chartType",f);a.la("chartMultipleMeasures",k.nd.xe.aca(f)?c:!1);this.oa.Jp(a.Qa())}else e.i.B.F.Zd=k.td.Bi,e.i.B.F.AJ=f,e.i.B.F.XE=k.nd.xe.aca(f)?c:!1,this.SY()}SY(f=!1,c=!1){w.Ms.load("lib/d3.v3.min.js",()=>{f||null==this.Oj||this.Oj.close();null!=this.uc&&this.uc.cb();null!=this.$j&&this.$j.cb();null==this.Zc&&this.KE();this.Zc.G.U("top","").U("left","").U("right","").U("bottom","");this.Zc.G.U("position","absolute");this.Zc.show();this.Zc.G.U("height",
h.Fn+"px");this.Zc.G.U("width",h.Hn+"px");this.Zc.I=c?null:this.oa.I=e.v.kf.zj.HZ(e.i.B.F.MP);this.Zc.jb();e.i.B.F.dc&&this.zh&&this.zh.fL&&this.zh.open(this.oa.ja.O,this.oa.ja.za,this.oa.Ja.ha.Fa);c||0!=this.oF.length||(this.mea=e.Be(()=>{this.bb(k.ri.FV)},1))})}PT(f="",c="bottom",a=!1){this.oa.Ja.ha.Fa==e.v.j.sa.API&&e.i.B.F.dc?e.Wa(e.P.bind(e.i.C.u.rV),e.i.C.u.CN,e.Bb.Tk):(e.i.B.F.Zd=k.td.qn,e.i.B.F.AJ=f,e.i.B.F.zx=c,e.i.B.F.XE=a,this.UY())}UY(f=!1){w.Ms.load("lib/d3.v3.min.js",()=>{f||null==this.Oj||
this.Oj.close();null!=this.uc&&(this.uc.show(),this.uc.I=this.oa.I=e.v.kf.zj.Hc(),null==this.Zc&&this.KE(),this.Zc.show(),this.Zc.I=e.v.kf.zj.HZ(e.i.B.F.MP),null==this.$j&&this.Mpa(),this.$j.show(),this.$j.direction="left"==e.i.B.F.zx||"right"==e.i.B.F.zx?v.rO.XV:v.rO.LH,this.$j.msa=[150,150,h.qu-150,this.Ap()-150],this.r$(e.i.B.F.zx))})}DCa(f){var c=e.i.B.F.zx;this.r$(c,"left"==c||"right"==c?f.data.left:f.data.top)}r$(f="bottom",c=NaN){var a=h.qu-h.Gb.uB;isNaN(c)&&(c="left"==f||"right"==f?Math.round(a/
2):Math.round(this.Ap()/2));switch(f){case "bottom":h.XO=a;h.WO=c;this.uc.G.U("width",h.SK+"px");this.uc.G.U("height",h.VB+"px");this.uc.G.U("top",0).U("left",0).U("right","").U("bottom","");h.DO=a;h.BI=this.Ap()-this.uc.G.wd()-this.$j.wd();this.Zc.G.U("width",h.Hn+"px");this.Zc.G.U("height",h.BI+"px");this.Zc.G.U("bottom",this.GR()&&!e.w(this.Wl)?this.Wl.wd()+"px":0).U("left",0).U("right","").U("top","");this.$j.G.U("top",c+"px").U("left","").U("right","").U("bottom","");break;case "top":h.DO=a;
h.BI=c;this.Zc.G.U("width",h.Hn+"px");this.Zc.G.U("height",h.Fn+"px");this.Zc.G.U("top",0).U("left",0).U("right","").U("bottom","");h.XO=a;h.WO=this.Ap()-this.Zc.G.wd()-this.$j.wd();this.uc.G.U("width",h.SK+"px");this.uc.G.U("height",h.VB+"px");this.uc.G.U("bottom",this.GR()&&!e.w(this.Wl)?this.Wl.wd()+"px":0).U("left",0).U("right","").U("top","");this.$j.G.U("top",c+"px").U("left","").U("right","").U("bottom","");break;case "left":h.DO=c;h.BI=this.Ap();this.Zc.G.U("width",h.Hn+"px");this.Zc.G.U("height",
h.Fn+"px");this.Zc.G.U("top",0).U("left",0).U("right","").U("bottom","");h.XO=a-this.Zc.G.pf()-this.$j.pf();h.WO=this.Ap();this.uc.G.U("width",h.SK+"px");this.uc.G.U("height",h.VB+"px");this.uc.G.U("top",0).U("right",h.Gb.uB+"px").U("left","").U("bottom","");this.$j.G.U("left",c+"px").U("top","").U("right","").U("bottom","");break;case "right":h.XO=c,h.WO=this.Ap(),this.uc.G.U("width",h.SK+"px"),this.uc.G.U("height",h.VB+"px"),this.uc.G.U("top",0).U("left",0).U("right","").U("bottom",""),h.DO=a-this.uc.G.pf()-
this.$j.pf(),h.BI=this.Ap(),this.Zc.G.U("width",h.Hn+"px"),this.Zc.G.U("height",h.Fn+"px"),this.Zc.G.U("top",0).U("right",h.Gb.uB+"px").U("left","").U("bottom",""),this.$j.G.U("left",c+"px").U("top","").U("right","").U("bottom","")}this.uc.G.U("position","absolute");this.Zc.G.U("position","absolute");this.uc.jb();this.Zc.jb()}hda(f){null==this.cm&&this.opa();for(var c,a=this.oa.ja.za.ed(),b=0;b<a.length;b++){var d=a[b];d.A==f.measure.A&&d.fa==f.measure.fa&&(c=d)}this.cm.gs(this.oa.I,this.oa.ja.za,
f.Yf,f.Jg,c,f.cell)}UCa(f){if(null!=this.oa.ja&&null!=this.oa.ja.O){var c=this.oa.ja.O.rc(!1).getItem(f),a=this.oa.ja.za;null!=c&&(a.lb.Sb(f)||a.rows.Sb(f)||a.Ka.Sb(f))&&(f={hierarchy:c.Rk()},e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.Kw,f)),this.uG(c))}}JL(){e.w(this.oa.Ja.ha)||this.oa.Ja.ha.ib||("right"==e.i.B.F.tB?(e.i.B.F.JJ=!0,e.i.B.F.To=!0,this.jb()):this.zh.open(this.oa.ja.O,this.oa.ja.za,this.oa.Ja.ha.Fa))}cF(){"right"==e.i.B.F.tB?(e.i.B.F.JJ=!1,e.i.B.F.To=!1,this.jb()):this.zh.close()}L0(f){if(!w.Jc.ag(this.oa.ja.za.nj)){var c=
new e.i.ab.Io;c.nj=this.oa.ja.za.nj;f.data.nj=c.nj}this.oa.de(f.data)}Nxa(){return!e.w(this.oa.Ja.ha)&&(!this.oa.Ja.ha.Qc||this.oa.Ja.ha.Fa===e.v.j.sa.API)&&!this.oa.ja.O.ib||e.i.B.F.pt&&this.oa.Ja.ha.Fa===e.v.j.sa.Nc}IL(f=null,c=null){e.w(this.oa.Ja.ha)||this.oa.Ja.ha.ib||!this.Nxa()||(e.w(c)||(this.ux="string"==typeof c?e.i.Ya.Qaa(c):c),e.ia(f)||e.i.Ua.V().N(k.Ra.ak.vD,this.MA),e.i.Ua.V().Ga(new k.Ra.DU(f)),e.i.Ua.V().N(k.Ra.ak.gz,this.wx),e.i.Ua.V().N(k.Ra.ak.hz,this.xx))}hu(f){e.i.Ua.V().qb(k.Ra.ak.gz,
this.wx);e.w(this.ux)||this.ux({uniqueName:f.Xr,isRemoved:!1});this.ux=null}iu(f){e.i.Ua.V().qb(k.Ra.ak.vD,this.MA);e.w(this.ux)||this.ux({uniqueName:f.Xr,isRemoved:!0});this.ux=null}yL(){e.i.Ua.V().qb(k.Ra.ak.hz,this.xx);this.ux=null}YAa(f){null==this.Oj&&this.sX();this.Oj.G.eb("fm-charts-filter",!0);this.PS(f)}ZAa(f){null==this.Oj&&this.sX();this.Oj.G.eb("fm-charts-filter",!1);this.PS(f)}PS(f){var c={hierarchy:f.hierarchy.Rk()};e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.Kw,c));this.uG(f.hierarchy)}uG(f){null==
this.Oj&&this.sX();this.Oj.gs(f)}qra(){null!=this.cm&&this.cm.close()}Dta(){null!=this.Wl&&null!=this.gU||this.apa();this.W(this.Wl);this.Wl.eb("fm-layout-660",660>this.Wl.pf());this.Wl.eb("fm-layout-520",520>this.Wl.pf());var f="";e.i.ua.mc.ru&&(f=e.i.ua.pa.J(e.i.ua.pa.Zfa)+"("+w.Lh.format(e.i.ua.mc.AF,"MM/dd/yyyy")+")",new Date(Date.now()+432E6)>e.i.ua.mc.AF&&(f+=e.i.ua.pa.J(e.i.ua.pa.nua)));e.i.ua.mc.Yo&&(w.Qba()||e.i.ua.mc.g$||(f=e.i.ua.pa.J(e.i.ua.pa.vta)+e.i.ua.mc.l0+")"));this.gU.$a(f,!0)}M0(){this.JL()}hw(f){if(this.jm||
this.m_)73===f.keyCode&&f.ctrlKey&&f.altKey&&this.qfa(),27===f.keyCode&&(null!=this.Oj&&this.Oj.close(),null!=this.cm&&this.cm.close(),null!=this.TE&&this.TE.isVisible()?this.TE.close():this.zh.close())}QAa(f){this.cm&&this.cm.isVisible()?this.cm.Nj(f.Ft,f.nb,f.Po):e.i.B.F.Zd==k.td.Es?(this.uc.I=e.v.kf.zj.Hc(e.i.B.F.DR==k.Y.He.li?"flat":"pivot"),this.uc.Nj(f.Ft,f.nb,f.Po)):e.i.B.F.Zd!=k.td.Bi||f.Ft!=e.i.tc.Ci.qh&&f.Ft!=e.i.tc.Ci.ED?e.i.B.F.Zd==k.td.Bi?(null==this.Zc&&this.KE(),this.Zc.Nj(f.nb)):e.i.B.F.Zd==
k.td.qn&&(f.Ft==e.i.tc.Ci.yz||f.Ft==e.i.tc.Ci.Gu||f.Ft==e.i.tc.Ci.Hz?(null==this.Zc&&this.KE(),this.Zc.Nj(f.nb,!0,c=>{this.uc.Nj(f.Ft,f.nb,f.Po,c)})):this.uc.Nj(f.Ft,f.nb,f.Po)):(this.uc.I=e.v.kf.zj.Hc(e.i.B.F.DR==k.Y.He.li?"flat":"pivot"),this.BF=f,h.Gb.N(k.ri.uo,this.M$),this.uc.jb())}cCa(){e.i.B.F.Zd==k.td.Es?this.uc.print():e.i.B.F.Zd==k.td.Bi?(null==this.Zc&&this.KE(),this.Zc.print()):e.i.B.F.Zd==k.td.qn&&(null==this.Zc&&this.KE(),this.Zc.print(f=>this.iAa(f)))}iAa(f){this.uc.print(f)}GR(){e.i.ua.mc.Yh();
return e.i.ua.mc.wJ||e.i.ua.mc.Bp?!1:!0}sxa(){return!e.i.ua.mc.Bp&&!e.i.ua.mc.Yo&&!e.i.ua.mc.wJ}qfa(){var f=new Date(parseFloat(e.Mh.L3)/61),c=w.Lh.format(f,"MMMM yyyy")+" (v. "+e.Mh.Fw+")<br>";c+="<span class='fm-build-version'>build "+w.Lh.format(f,"MM/dd/yyyy HH:mm:ss")+"</span><br>";c+=e.i.ua.pa.J(e.i.ua.pa.ita)+e.i.ua.mc.Vya();e.i.ua.mc.Yo?c+=e.i.ua.pa.J(e.i.ua.pa.WCa)+e.i.ua.mc.l0:e.i.ua.mc.Bp&&(c+=e.i.ua.pa.J(e.i.ua.pa.Ata)+e.i.ua.mc.zca);f=!1;e.i.ua.mc.ru?e.i.ua.mc.Yo||e.i.ua.mc.Bp?c+=e.i.ua.pa.J(e.i.ua.pa.Rya)+
w.Lh.format(e.i.ua.mc.AF,"MM/dd/yyyy"):(f=!0,c+=e.i.ua.pa.J(e.i.ua.pa.qGa)+w.Lh.format(e.i.ua.mc.AF,"MM/dd/yyyy")):c+=e.i.ua.pa.J(e.i.ua.pa.Sya);f||(c+=e.i.ua.pa.J(e.i.ua.pa.UFa)+w.Lh.format(e.i.ua.mc.Z2,"MM/dd/yyyy"));c+=e.i.ua.pa.J(e.i.ua.pa.Uya)+e.i.ua.mc.Fx;c+=e.i.ua.pa.J(e.i.ua.pa.info);e.Wa(c,e.i.ua.pa.J(e.i.ua.pa.yra),e.Bb.xN)}Kf(f,c){return this.uc.Kf(f,c)}UF(){return this.uc.UF()}Sy(f,c){this.uc.Sy(f,c)}My(){this.uc.My()}get RK(){return this.uc.RK}get QK(){return this.uc.QK}YBa(f){null==
this.TE&&this.cpa();this.TE.gs(f.Xr)}ZBa(f){null==this.contextMenu&&this.fpa();var c=f.data.Cza;c&&0<c.length&&this.contextMenu.xm(this.G,c,f.data.coords,null,f.data.nJ)}Wza(){0==this.oF.length&&(this.mea=e.Be(()=>{this.bb(k.ri.FV)},1))}cpa(){this.TE=new k.Ra.AD;this.W(this.TE)}KE(){this.Zc=new k.nd.yu;this.Zc.N(k.ri.Kw,f=>this.YAa(f));this.Zc.N(k.ri.HU,f=>this.hda(f));this.W(this.Zc)}opa(){this.cm=new k.lf.CD;this.W(this.cm)}sX(){this.Oj=new k.filter.Aja;this.Oj.N(r.da.OPENED,()=>{});this.Oj.N(r.da.CLOSED,
()=>{});this.W(this.Oj)}Mpa(){this.$j=new v.rO;this.$j.cb();this.$j.N(v.rO.OU,f=>this.DCa(f));this.W(this.$j)}fpa(){this.contextMenu=new v.xq.$D(h.Gb.G);this.contextMenu.$("fm-context-menu");this.contextMenu.cb();this.W(this.contextMenu)}apa(){this.Wl=new v.Vd.Dj;this.Wl.$("fm-branding-bar");this.gU=new v.Oc;this.gU.$("fm-version-label");this.Wl.W(this.gU);this.fU=new v.Oc;this.fU.$("fm-link");this.fU.$a(e.i.ua.pa.J(e.i.ua.pa.Oda),!0);this.Wl.W(this.fU);var f=new v.Da("span","fm-info-icon");f.N("click",
()=>this.qfa());this.fU.G.append(f);this.kU=new k.Fna}dispose(){this.oa=null;this.uc&&this.uc.dispose();this.Zc&&this.Zc.dispose();this.cm&&this.cm.dispose();this.G.dispose();this.sf.dispose();k.TM.dispose();k.filter.r5.dispose();k.CV.dispose();v.vQ.KU.dispose();w.lV.dispose();h.Gb=null;this.toolbar&&(this.toolbar.dispose&&this.toolbar.dispose(),this.toolbar=null);this.yE&&(this.yE.fe(r.da.GV),this.yE.dispose(),this.yE=null)}}k.Pb=h})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){class h{static dg(f){if(e.w(f)||"string"!=typeof f)return!1;f=f.toLowerCase();return f==h.Es||f==h.Bi||f==h.qn}}h.Es="grid";h.Bi="charts";h.qn="grid_charts";k.td=h})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){class h{constructor(){this.Tl=0;this.DE=!1;this.GI=this.QI="";this.aJ=!1}show(f,c,a,b=!0,d=!1){f?(d&&this.G2(f,c,a,b),0==this.DE?(this.DE=f,this.QI=c,this.GI=a,this.aJ=b,this.Tl=e.Be(()=>this.Lfa(),h.B4)):0==this.Tl?this.G2(f,c,a,b):(this.DE=f,this.QI=c,this.GI=a,this.aJ=b)):(d&&this.G2(f,c,a,b),1==this.DE&&(this.DE=f,this.Tl=e.Be(()=>this.Lfa(),h.B4)))}G2(f,c,a,b){this.oea();this.Sda(f,c,a,b)}Lfa(){this.oea();this.Sda(this.DE,this.QI,this.GI,this.aJ)}oea(){e.Pr(this.Tl);
this.Tl=0}Sda(f,c,a,b){k.CV.V()&&k.CV.V().gs(f,c,a,b)}static V(){null==h.oe&&(h.oe=new h);return h.oe}static dispose(){h.oe=null}}h.B4=250;k.dma=h})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){class h extends v.Vd.Uw{constructor(){if(null!=h.oe)throw Error("Singleton");super(k.Pb.Gb.G);this.$("fm-preloader-view");this.ve();this.G.nT("tabindex")}gs(f=!0,c="",a="",b=!0){this.QI=c;this.GI=a;this.aJ=b;f?this.open():this.close()}open(){super.open();this.jb()}ve(){this.zC.$("fm-overlay-preloader");this.zC.qb("click",this.Y7);this.uoa=new v.Oa("div","fm-spinner");this.W(this.uoa);this.et=new v.Oc;this.et.$("fm-message-label");this.W(this.et);this.lX=new v.Oc;this.lX.$("fm-details-label");
this.W(this.lX);this.cb();k.Pb.Gb.W(this)}jb(){this.zC.qFa(!this.aJ);this.GG(this.QI);this.dFa(this.GI);this.Mc()}GG(f){this.et.$a(f)}dFa(f){this.lX.$a(f)}close(){super.close();this.clear()}clear(){this.GG("");this.GG("")}static V(){if(null==k.Pb.Gb)return null;null==h.oe&&(h.oe=new h);return h.oe}static dispose(){h.oe=null}}k.CV=h})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.Da{constructor(){super("div","fm-charts-layout");this.I2=!0;this.ol();this.ve()}ve(){this.EY();this.Osa()}EY(){this.Lo=new v.Oc;this.Lo.G.display="block";this.Lo.$("fm-chart-title");this.Lo.$("fm-pivot-title");this.Lo.LT(!0);this.Lo.G.U("position","relative");this.Lo.cb();this.FA(this.Lo)}Osa(){this.tr=new v.Oa("div","fm-ui-row fm-header-toolbar");this.FA(this.tr);this.fv=new v.Oa("div","fm-ui-col-2");this.fv.G.display="inline-block";this.tr.W(this.fv);
this.An=new v.ld.kr;this.An.$("fm-chart-measures-dropdown");this.An.N(r.da.Id,a=>this.HBa(a));this.An.cb();this.fv.W(this.An);this.gv=new v.ld.kr;this.gv.$("fm-chart-pie-dropdown");this.gv.N(r.da.Id,a=>this.bCa(a));this.gv.cb();this.fv.W(this.gv);this.Zs=new v.Oa("div","fm-ui-col-2 fm-charts-filters-container");this.Zs.G.display="inline-block";this.tr.W(this.Zs);this.av=new v.ld.kr;this.av.Fk=!1;this.av.$("fm-charts-filters-btn");this.av.Gl(e.i.C.u.Rz);this.av.N(r.da.Id,a=>this.jda(a));this.av.Ih(this.sua);
this.tr.W(this.av)}sua(a,b){var d=new c;d.setData(a);d.vm(b);d.$("fm-charts-filter");d.G.attr("title",e.i.C.u.Rz);return d}get Tq(){return this.Lo}get Me(){return this.Pm}get Dr(){return this.Ko}resize(a,b){this.oA=a;this.nA=b}jb(){this.width=this.oA;this.height=this.nA;e.w(this.I)||this.I.ib?this.yFa&&this.Tta():(e.ia(e.i.B.F.Xl)||this.WY(),null!=this.Eb&&(this.tr.G.eb("fm-fields-list-padding",this.pxa),e.i.B.F.ww&&e.i.B.F.nfa&&this.Gta(),this.Eb.type!=h.xe.yD&&e.i.B.F.jfa&&this.Nta(),this.Eb.type==
h.xe.Ju&&1<this.Eb.Sk.length&&this.Qta(),e.i.B.F.ifa&&this.Eb.Me&&0<this.Eb.Me.length&&this.q$(),this.o$(),e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.nU))))}get pxa(){return e.i.B.F.cQ&&!(e.i.B.F.To&&"right"==e.i.B.F.tB)&&!(e.i.B.F.Zd==k.td.qn&&("bottom"==e.i.B.F.zx||"left"==e.i.B.F.zx))}clear(){this.Lo.cb();this.tr.cb();this.An.cb();this.gv.cb();this.Zs.cb();this.av.cb();this.fv.Pd("fm-wide");this.Ko&&(this.Ko.fg(!0),this.Ko=null);this.Pm&&(this.Pm.fg(!0),this.Pm=null);this.CA&&this.CA.cb()}get yFa(){return e.i.Ua.V().Ja.LC==
e.i.qc.xd.cj&&(e.w(this.I)||this.I.ib&&!e.i.B.F.E2)}Tta(){null==this.CA&&(this.CA=new v.Oc(e.i.C.u.b4),this.CA.$("fm-charts-msg"),this.FA(this.CA));this.CA.$a(e.i.C.u.b4);this.CA.show()}WY(){this.Lo.$a(e.i.B.F.Xl);this.Lo.show()}Nta(){for(var a=[],b=this.Eb.gJ,d=this.I.Ea,g,l,m=0;m<d.length;m++)g=d[m],l=new e.i.ab.Bg(g.A,g.fa,g.index),l.label=e.P.ap(g.label,!0),a.push(l);if(e.i.B.F.C2||!e.i.B.F.C2&&1<a.length){this.An.VC(e.i.C.u.$ga);this.An.qq=this.Eb.sC;this.An.Pf(a);if(this.Eb.sC){d=[];for(m=0;m<
a.length;m++){g=a[m];for(var n=0;n<b.length;n++)if(!(g.A!=b[n].A||g.fa!=b[n].fa&&""!=b[n].fa||g.index!=b[n].index&&-1!=b[n].index)){d.push(m);break}}this.An.eM(d)}else g=b[0],l=new e.i.ab.Bg(g.A,g.fa,g.index),this.An.qs(p=>p.index===l.index);this.An.show();this.tr.show();this.Eb.type==h.xe.Ju&&1<this.Eb.Sk.length?this.An.Zj(this.fv.pf()/2-10):this.An.Zj(this.fv.pf()-10)}}Qta(){for(var a=[],b=0;b<this.Eb.Sk.length;b++)a.push({label:e.P.ap(this.Eb.Sk[b].label,!0)});this.gv.Pf(a);this.gv.Nk(e.i.B.F.zJ);
this.gv.show();this.tr.show();this.gv.Zj(this.fv.pf()/2-10)}Gta(){this.Zs.G.pw();if(null!=e.v.Sa.V().za){for(var a=e.v.Sa.V().za.rc(!1),b=0;b<a.length;b++)this.Zs.W(this.Lsa(a.ea(b)));this.Zs.show();this.tr.show();for(b=a=0;b<this.Zs.G.element.children.length;b++){var d=this.Zs.G.element.children.item(b);a+=d.offsetWidth}a>this.Zs.pf()&&this.Hta()}}Hta(){for(var a=[],b=e.v.Sa.V().za.rc(!1),d=0;d<b.length;d++){var g=b.ea(d);a.push({label:g.caption,A:g.A,$R:g.filter.Xg})}this.av.Pf(a);this.av.show();
this.Zs.cb();this.fv.$("fm-wide")}Lsa(a){var b=new v.kg;b.$("fm-ui-btn-superlight");b.$("fm-charts-filter");b.G.eb("fm-filtered",a.filter.Xg);b.N(v.yd.Fe,d=>this.jda(d));b.$a(a.label);b.G.attr("data-hierarchy",a.A);b.G.attr("title",e.i.C.u.Rz);return b}o$(){null!=this.Ko&&this.Ko.fg(!0);this.Ko=h.Mha.Fva(this.Eb.type);this.FA(this.Ko);this.Ko.w2((b,d,g)=>this.PCa(b,d,g));var a=this.nA-this.Lo.wd(!0)-this.tr.wd(!0)-this.Ko.padding.top-this.Ko.padding.bottom;this.Pm&&(a-=this.Pm.G.element.offsetHeight);
this.Ko.Hd(this.Eb,this.oA-20,a);this.Ko.G.U("max-width",this.oA+"px");this.Ko.G.U("max-height",a+"px")}q$(){null!=this.Pm&&this.Pm.fg(!0);this.Pm=new h.Me.Nha(this.I2);this.Pm.$("fm-chart-legend");this.Pm.$Ea((a,b,d)=>this.xBa(a,b,d));this.Pm.N(r.da.Id,()=>this.wBa());this.Pm.aFa(this.Eb.Qo);this.Pm.Hd(this.Eb.Me);this.Pm.iG.U("max-height",(this.nA-this.Lo.wd(!0)-this.tr.wd())/2+"px");this.FA(this.Pm)}wBa(){this.I2=!this.I2;this.q$();this.o$()}Kx(a,b,d){null==d||d.Rb||d.ai||((a==e.v.j.ga.Ia?this.I.Eh(b,
d):this.I.yk(b,d))?this.I.Bq(b,d,a):this.I.If(b,d,a))}Et(a,b){a==e.v.j.ga.Ia?this.I.ci(b)?this.I.collapse(b,e.v.j.ga.Ia):this.I.expand(b,e.v.j.ga.Ia):this.I.zk(b)?this.I.collapse(b,e.v.j.ga.Xa):this.I.expand(b,e.v.j.ga.Xa)}G$(a,b){a==e.v.j.ga.Ia?b.length<=e.i.B.F.st.length?this.I.collapse(b,e.v.j.ga.Ia):this.I.expand(b,e.v.j.ga.Ia):b.length<=e.i.B.F.RA.length?this.I.collapse(b,e.v.j.ga.Xa):this.I.expand(b,e.v.j.ga.Xa)}jda(a){a=a.type==r.da.Id?a.data.El.A:a.target.G.attr("data-hierarchy");a=e.v.Sa.V().O.Fg(a);
this.Ga(new k.tN(a))}xBa(a,b,d){e.i.B.F.Gn?"expand"==a?this.G$(this.Eb.hG,b):"drill"==a&&this.Kx(this.Eb.hG,b,d):"expand"==a?this.Et(this.Eb.hG,b):"drill"==a&&this.Kx(this.Eb.hG,b,d)}PCa(a,b,d){var g=this.Eb.hG==e.v.j.ga.Xa?e.v.j.ga.Ia:e.v.j.ga.Xa;e.i.B.F.Gn?"expand"==a?this.G$(g,b):"drill"==a&&this.Kx(g,b,d):"expand"==a?this.Et(g,b):"drill"==a&&this.Kx(g,b,d)}HBa(a){if(this.Eb.sC){for(var b=[],d=this.An.KK().slice(),g=0;g<d.length;g++)(a=d[g])&&b.push(a);e.i.B.F.WE=b}else e.i.B.F.En=a.data.El;this.bb("chart_changed")}bCa(a){e.i.B.F.zJ=
a.data.selectedIndex;this.bb("chart_changed")}}h.Qha=f;class c extends v.hi.Sz{jb(){var a=this.getData();null==this.label&&(this.label=new v.Oc,this.label.$("fm-text-display"),this.G.append(this.label.G));this.label.$a(a[this.ao()],!0);this.G.eb("fm-filtered",!0===a.$R);this.G.attr("data-hierarchy",a.A)}}})(k.nd||(k.nd={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{static Mc(a){return a==f.iz||a==f.mD||a==f.OH||a==f.Ju||a==f.mI||a==f.Pz||a==f.yD?a:a==f.Dma?f.Pz:a==f.dha?f.yD:a==f.J3?f.mD:f.iz}static aca(a){if("string"!=typeof a||e.ia(a))return!1;a=a.toLowerCase();return a==f.iz||a==f.mD||a==f.J3||a==f.OH||a==f.mI?!0:!1}}f.iz="column";f.mD="bar_h";f.J3="bar_horizontal";f.OH="line";f.Ju="pie";f.mI="scatter";f.Pz="stacked_column";f.Dma="bar_stack";f.yD="column_line";f.dha="bar_line";h.xe=f;class c{}c.Nz="series";c.YD=
"series_label";c.dka="legend";h.ln=c})(k.nd||(k.nd={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(b){if(!e.w(b))for(let d in b)b.hasOwnProperty(d)&&(this[d]=b[d])}Qa(){const b={};e.w(this.label)||(b.label=this.label);e.w(this.color)||(b.color=this.color);e.w(this.Mb)||(b.member=this.Mb.Qa());e.w(this.zf)||(b.tuple=this.tGa==e.v.j.ga.Ia?e.i.Ua.V().ja.za.sY(this.zf):e.i.Ua.V().ja.za.qY(this.zf));e.w(this.measure)||(b.measure={uniqueName:this.measure.A,caption:this.measure.caption,aggregation:this.measure.fa});e.w(this.level)||
(b.level=this.level);e.w(this.bg)||(b.isExpanded=this.bg);e.w(this.isCollapsed)||(b.isCollapsed=this.isCollapsed);e.w(this.qg)||(b.isDrilledDown=this.qg);e.w(this.aG)||(b.isDrilledUp=this.aG);return b}}f.L5=c;class a{constructor(){this.sC=!1;this.Dw=this.zs=this.ys="";this.Sk=[];this.ki=[];this.hG=e.v.j.ga.Xa;this.Uv=[];this.data=[];this.Bv=[];this.ZC=this.rt=this.kca=this.fca=this.Lba=this.Xv=this.Yd=this.Lf=!1}}f.Oha=a})(h.X||(h.X={}))})(k.nd||(k.nd={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.Vd.Dj{constructor(){super();this.Hn=600;this.Fn=400;this.Tca=15;this.y0=3;this.$("fm-chart")}Hd(c,a,b){this.Hn=a;this.Fn=b;this.Eb=c;this.Dxa(this.Hn,this.Fn)}Dxa(c,a){d3v3.select(k.Pb.Gb.sf.element).select(".fm-chart").selectAll("svg").remove();this.svg=d3v3.select(k.Pb.Gb.sf.element).select(".fm-chart").append("svg").attr("width",c).attr("height",a).append("g")}w2(){}fZ(c){this.G.U("overflow-y","auto");d3v3.select(k.Pb.Gb.sf.element).select(".fm-chart").selectAll("svg").attr("height",
c)}C$(c){this.G.U("overflow-x","auto");d3v3.select(k.Pb.Gb.sf.element).select(".fm-chart").selectAll("svg").attr("width",c)}jl(c,a){if(e.rf(h.yu.fB)){var b=h.yu.fB,d=h.yu.f9,g=this.Eb.type;c.each(function(l){l=d(l.data?l.data:l);l.type=a;l.chartType=g;b(this,l)})}}}h.rU=f})(k.nd||(k.nd={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends h.rU{constructor(){super();this.Dw=this.zs=this.ys="";this.IM=0;this.Bfa=!1;this.$y=10;this.RE=200;this.HX=[0,15,30,45,60,75,90]}Hd(c,a,b){super.Hd(c,a,b);this.ys=c.ys;this.zs=c.zs;this.Dw=c.Dw}Lj(c,a){this.iv=this.Hn;this.Vs=this.Fn;this.$y=this.Eb.ZC?20:10;this.RE=this.iv/5;this.nX(c,a);this.svg.attr("transform","translate("+this.lU+", "+this.$y+")")}EK(c){return d3v3.max(c,function(a){return d3v3.max(a.ii,function(b){return b.value})})}FK(c){return d3v3.min(c,
function(a){return d3v3.min(a.ii,function(b){return b.value})})}w2(c){this.vt=c}Et(c){if(!e.w(c)&&this.vt){var a=c.data,b=c.Bv,d=c.yh||c.Sg;c.collapsed||c.ng?this.vt("expand",a,b):d&&this.vt("drill",a,b)}}nX(c,a){var b=this.Hn,d=this.Fn,g=this.EK(c),l=this.FK(c);g=0>g&&(!this.Eb.rt||l==g)?0:g;l=0>l||this.Eb.rt&&l!=g?l:0;this.Ll=d3v3.scale.linear().range([d,0]).domain([l,g]).nice();var m=this.Eb.Kt,n=this.Eb.Lf,p=this.Eb.Yd,q=this.Eb.Xv,t=!0===e.i.B.F.QA||null===e.i.B.F.QA&&1E7<g,x=this.Eb.naa,z=d3v3.svg.axis().scale(this.Ll).orient("left").tickFormat(function(Z){return x(Z,
m,n,p,q,t)}),A=0,B=0,D=0;c=this.svg.append("g").attr("class","fm-y fm-axis").call(z).each(function(){A=this.getBBox().width});c.append("text").attr("class","fm-y fm-axis fm-axis-label fm-title").text(this.zs).each(function(){B=this.getBBox().width}).style("text-anchor","end").attr("dy","-0.5em").attr("transform","translate(-"+A+", 0) rotate(-90)");c.each(function(){A=this.getBBox().width;b-=A});this.lU=A;var I=!e.w(a)&&0<a.length;if(I){var Q=this.EK(a),Y=this.FK(a);Q=0>Q&&(!this.Eb.rt||Y==Q)?0:Q;
Y=0>Y||this.Eb.rt&&Y!=Q?Y:0;var C=!0===e.i.B.F.QA||null===e.i.B.F.QA&&1E7<Q;this.HM=d3v3.scale.linear().range([d,0]).domain([Y,Q]).nice();var E=this.Eb.yZ,G=this.Eb.Lba,F=this.Eb.fca,J=this.Eb.kca,H=d3v3.svg.axis().scale(this.HM).orient("right").tickFormat(function(Z){return x(Z,E,G,F,J,C)}),L=0,K=this.svg.append("g").attr("class","fm-y fm-axis fm-axis-2").call(H).each(function(){L=this.getBBox().width});K.append("text").attr("class","fm-y fm-axis fm-axis-label-2 fm-title").text(this.Dw).each(function(){D=
this.getBBox().width}).attr("dy","1.3em").attr("transform","translate("+(L+20)+", 0) rotate(90)");K.each(function(){L=this.getBBox().width+2;b-=L}).attr("transform","translate("+b+", 0)")}var P=this.Eb.Sk,M=Math.max(P.length*Math.max(this.Bfa?this.y0:this.Eb.Uv.length*this.y0,this.Tca),b);I&&K.attr("transform","translate("+M+", 0)");a=M>b;this.xj=d3v3.scale.ordinal().rangeRoundBands([0,M],a?0:.1).domain(P.map(function(Z){return Z.id}));P=d3v3.svg.axis().scale(this.xj).tickFormat(function(){return""}).orient("bottom");
P=this.svg.append("g").attr("class","fm-x fm-axis").call(P);this.DX(P);var V,N=P.each(function(){V=this.getBBox().height}).append("text").attr("class","fm-x fm-axis fm-title").attr("dy","1.2em").style("text-anchor",a?"start":"middle").text(this.ys).attr("transform","translate("+(a?0:M/2)+", "+V+")"),U=this.ys;N.each(function(){this.getBBox().width>=M&&N.append("svg:title").text(U)});d-=this.$y;d=a?d-16:d;var ba=!1;P.each(function(){V=this.getBBox().height;d=(ba=V>4*d/5)?1*d/5:d-V}).attr("transform",
"translate(0,"+d+")");c.select(".fm-y.fm-axis-label").style("text-anchor",B<d?"middle":"end").attr("transform","translate(-"+(A-20)+","+(B<d?d/2:0)+") rotate(-90)");I&&K.select(".fm-y.fm-axis-label-2").style("text-anchor",D<d?"middle":"start").attr("transform","translate("+(L+5)+","+(D<d?d/2:0)+") rotate(90)");ba&&this.fZ(d+V+this.$y);var da=Math.min(60,d/2);c.select(".tick").each(function(){var Z=this.getBBox().height;da=Math.max(da,Z)});P=Math.floor(d/da);n&&1>(g-l)/P&&(P=g-l);z.ticks(P);this.Ll.range([d,
0]);c.call(z);I&&(H.ticks(P),this.HM.range([d,0]),K.call(H));this.IM=0<l&&0<g?this.Ll.domain()[0]:0>l&&0>g?this.Ll.domain()[1]:0;I&&(0<Y&&0<Q?this.HM.domain():0>Y&&0>Q&&this.HM.domain());this.iv=b;this.Vs=d;var T=this.Ll;g=T.ticks(P);g.shift();c.selectAll(".refline").data(g).enter().append("line").attr("class","fm-refline").attr("x1",0).attr("x2",M).attr("y1",function(Z){return T(Z)}).attr("y2",function(Z){return T(Z)});a&&this.C$(I?A+M+L:A+M)}DX(c){var a=c.append("g").attr("class","fm-axis-dividers");
c=c.selectAll(".level").data(this.Eb.ki).enter().append("g").attr("class","fm-level");var b=c.selectAll("text").data(function(A){return A}).enter().append("text").on("click",A=>this.Et(A)).attr("class","fm-label").style("text-anchor","middle").text(function(A){return A.ng||A.Sg?"- "+A.label:A.collapsed||A.yh?"+ "+A.label:A.label}).style("cursor",function(A){return A.collapsed||A.ng||A.Sg||A.yh?"pointer":"auto"});c.selectAll("text").filter(function(A){return A.df&&0<A.df.length||A.collapsed||A.ng||
A.Sg||A.yh}).append("svg:title").text(function(A){return A.df&&0<A.df.length?A.df:A.collapsed||A.yh?e.i.C.u.pO:A.ng||A.Sg?e.i.C.u.oO:""});var d=0;for(d=0;d<b.length;d++)this.NL(b[d],0);var g=Math.floor(this.xj.rangeBand()),l=[],m=0;for(d=0;d<b.length;d++){var n=this.pwa(b[d],g);l.push(n);m=Math.max(m,n)}for(d=0;d<b.length;d++)0!=l[d]&&this.NL(b[d],-m);for(d=0;d<b.length;d++)0!=l[d]&&this.NL(b[d],-m);var p=[],q=6;c.each(function(){q+=this.getBBox().height+6;p.push(this.getBBox().height)});c.attr("transform",
function(A,B){q-=p[B]+6;return"translate(0, "+q+")"});p=p.reverse();for(var t=this.xj,x=1<t.range().length?(t.range()[1]-t.range()[0]-t.rangeBand())/2:0,z=0;z<this.Eb.ki.length;z++)a.selectAll(".refline").data(this.Eb.ki[z].slice(1)).enter().append("line").attr("class","fm-refline").attr("x1",function(A){return t(A.id)-x}).attr("x2",function(A){return t(A.id)-x}).attr("y1",function(){return 0}).attr("y2",function(){for(var A=0,B=p.length-z,D=0;D<B;D++)A+=p[D]+6;return A})}NL(c,a){for(var b=0;b<c.length;b++)v.Da.Ib(c[b]).U("text-anchor",
"middle"),v.Da.Ib(c[b]).attr("dy","0.38em"),v.Da.Ib(c[b]).attr("transform",this.g_(c[b])+(0!=a?" rotate("+a+")":""))}g_(c){var a=c.getBoundingClientRect().height/2;c=c.__data__;var b=1<this.xj.range().length?(this.xj.range()[1]-this.xj.range()[0]-this.xj.rangeBand())/2:0;return"translate("+(this.xj(c.id)+this.xj.rangeBand()*c.WA/2+b*(c.WA-1))+", "+a+")"}pwa(c,a){var b=0,d=0;c.forEach(function(g){g=g.getBBox();b<g.width&&(b=g.width,d=g.height)});return this.Cqa(a,Math.sqrt(b*b+d*d),this.Pfa(Math.atan(d/
b)))}Cqa(c,a,b){c=Math.min(90,this.Pfa(Math.acos(c/a))+b||0);if(0==c)return 0;for(a=0;a<this.HX.length;a++)if(this.HX[a]>c)return this.HX[a];return c}Pfa(c){return 180*c/Math.PI}xQ(c,a){var b=this.Eb.Qo,d=this.xj,g=0;if(0<this.Eb.Uv.length){var l=this.Eb.Uv;var m=d3v3.scale.ordinal().rangeRoundBands([0,d.rangeBand()],.1).domain(l);l=m.rangeBand();var n=Math.min(l,this.RE);g=l!=n?(l-n)/2:0}c=this.svg.selectAll(".state").data(c).enter().append("g").attr("transform",function(t){return"translate("+(d(t.id)+
g)+",0)"});var p=this.IM;l=c.selectAll("rect").data(function(t){return t.ii}).enter().append("rect");l.attr("class","fm-bar").attr("x",function(t){return m(t.id)}).attr("width",n).attr("y",function(t){return 0<t.value?Math.floor(100*a(t.value))/100:Math.floor(100*a(p))/100}).attr("height",function(t){return Math.floor(100*Math.abs(a(p)-a(t.value)))/100}).style("fill",function(t){return e.w(t.vq)?b(t.id):b(t.vq)}).append("title").text(function(t){return t.df});this.jl(l,h.ln.Nz);if(this.Eb.ZC){var q=
0;c=c.selectAll("text").data(function(t){return t.ii}).enter().append("text").attr("class","fm-data-label").text(function(t){return t.Nr}).each(function(){q=Math.max(q,this.getBBox().width)});q>n?c.attr("y",function(t){return m(t.id)+n/2}).attr("x",function(t){var x=0<t.value?-Math.floor(100*a(t.value))/100:-Math.floor(100*a(p))/100;this.getBBox().width+3>Math.abs(x)&&(x-=Math.min(this.getBBox().width,Math.floor(100*Math.abs(a(p)-a(t.value)))/100));return x}).attr("dx",function(t){var x=0<t.value?
-Math.floor(100*a(t.value))/100:-Math.floor(100*a(p))/100;return this.getBBox().width+3>Math.abs(x)&&this.getBBox().width+3<Math.floor(100*Math.abs(a(p)-a(t.value)))/100?"-3px":"3px"}).attr("dy","0.38em").attr("transform","rotate(-90)"):c.style("text-anchor","middle").attr("x",function(t){return m(t.id)+n/2}).attr("y",function(t){return 0<t.value?Math.floor(100*a(t.value))/100:Math.floor(100*a(p))/100}).attr("dy","-3px");c.append("title").text(function(t){return t.df});this.jl(c,h.ln.YD)}}VY(c,a){for(var b=
this.xj,d=d3v3.svg.line().interpolate("linear").x(function(n){return b(n.id)+b.rangeBand()/2}).y(function(n){return a(n.value)}),g=0;g<c.length;g++){var l=e.w(c[g].vq)?this.Eb.Qo(c[g].id):this.Eb.Qo(c[g].vq),m=this.svg.append("g");const n=m.append("path").datum(c[g]).attr("class","fm-line").style("stroke",l).attr("d",function(p){return d(p.ii)});this.jl(n,h.ln.Nz);l=m.selectAll("circle").data(c[g].ii).enter().append("circle").attr("class","fm-circle").style("stroke",l).attr("cx",function(p){return b(p.id)+
b.rangeBand()/2}).attr("cy",function(p){return a(p.value)}).attr("r",4);l.append("title").text(function(p){return p.df});this.jl(l,h.ln.Nz);this.Eb.ZC&&(m=m.selectAll("text").data(c[g].ii).enter().append("text").attr("class","fm-data-label").text(function(p){return p.Nr}),m.style("text-anchor","middle").attr("x",function(p){return b(p.id)+b.rangeBand()/2}).attr("y",function(p){p=Math.floor(100*a(p.value))/100-8;return Math.max(-10,p)}),m.append("title").text(function(p){return p.df}),this.jl(m,h.ln.YD))}}}
h.fH=f})(k.nd||(k.nd={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends h.rU{constructor(){super();this.Dw=this.zs=this.ys="";this.IM=0;this.$y=10;this.RE=200}Hd(c,a,b){super.Hd(c,a,b);this.ys=c.ys;this.zs=c.zs;this.Dw=c.Dw}Lj(c,a){this.iv=this.Hn;this.Vs=this.Fn;this.RE=this.iv/5;this.nX(c,a);this.svg.attr("transform","translate("+this.lU+", "+this.$y+")")}EK(c){return d3v3.max(c,function(a){return d3v3.max(a.ii,function(b){return b.value})})}FK(c){return d3v3.min(c,function(a){return d3v3.min(a.ii,function(b){return b.value})})}w2(c){this.vt=
c}Et(c){if(!e.w(c)&&this.vt){var a=c.data,b=c.Bv,d=c.yh||c.Sg;c.collapsed||c.ng?this.vt("expand",a,b):d&&this.vt("drill",a,b)}}nX(c){var a=this.Hn,b=this.Fn,d=this.EK(c),g=this.FK(c);d=0>d&&(!this.Eb.rt||g==d)?0:d;g=0>g||this.Eb.rt&&g!=d?g:0;this.Ll=d3v3.scale.linear().range([0,a]).domain([g,d]).nice();var l=this.Eb.Kt,m=this.Eb.Lf,n=this.Eb.Yd,p=this.Eb.Xv,q=!0===e.i.B.F.QA||null===e.i.B.F.QA&&1E7<d,t=this.Eb.naa,x=d3v3.svg.axis().scale(this.Ll).orient("bottom").tickFormat(function(H){return t(H,
l,m,n,p,q)}),z=this.svg.append("g").attr("class","fm-y fm-axis").call(x),A,B;z.each(function(){B=A=this.getBBox().height}).append("text").attr("class","fm-x fm-axis fm-title").attr("dy","1.2em").style("text-anchor","middle").text(this.zs).attr("transform","translate("+a/2+", "+B+")");b-=this.$y;z.each(function(){A=this.getBBox().height;b-=A});var D=this.Eb.Sk,I=Math.max(D.length*Math.max(this.Eb.Uv.length*this.y0,this.Tca),b);z.attr("transform","translate(0,"+I+")");c=I>b;this.xj=d3v3.scale.ordinal().rangeRoundBands([0,
I],c?0:.1).domain(D.map(function(H){return H.id}));D=d3v3.svg.axis().scale(this.xj).orient("left").tickFormat(function(){return""});var Q=0;D=this.svg.append("g").attr("class","fm-x fm-axis").call(D).each(function(){Q=this.getBBox().width;a-=Q});this.lU=Q;this.DX(D);D.each(function(){Q=this.getBBox().width});var Y=D.append("text").attr("class","fm-x fm-axis fm-axis-label fm-title").text(this.ys).style("text-anchor",c?"end":"middle").attr("dy","-0.5em").attr("transform","translate(-"+Q+", "+(c?0:I/
2)+") rotate(-90)"),C=this.ys;Y.each(function(){this.getBBox().width>=I&&Y.append("svg:title").text(C)});a=c?a-16:a;var E=!1;D.each(function(){Q=this.getBBox().width;a=(E=Q>4*a/5)?1*a/5:a-Q});E&&this.C$(a+Q);this.lU=Q;D=10;var G=20,F=0;z.selectAll(".tick").each(function(){G=this.getBBox().width;F=Math.max(F,G)});a-=G/2;F*=1.8;a/D<F&&(D=Math.floor(a/F));m&&1>(d-g)/D&&(D=d-g);x.ticks(D);this.Ll.range([0,a]);z.call(x);z.select(".fm-title").attr("transform","translate("+a/2+", "+B+")");this.IM=0<g&&0<
d?this.Ll.domain()[0]:0>g&&0>d?this.Ll.domain()[1]:0;this.iv=a;this.Vs=b;var J=this.Ll;d=J.ticks(D);d.shift();z.selectAll(".refline").data(d).enter().append("line").attr("class","fm-refline").attr("y1",0).attr("y2",-I).attr("x1",function(H){return J(H)}).attr("x2",function(H){return J(H)});d=A+I+this.$y;c&&this.fZ(d)}DX(c){var a=c.append("g").attr("class","fm-axis-dividers");c=c.selectAll(".level").data(this.Eb.ki).enter().append("g").attr("class","fm-level");var b=c.selectAll("text").data(function(q){return q}).enter().append("text").on("click",
q=>this.Et(q)).attr("class","fm-label").style("text-anchor","middle").text(function(q){return q.ng||q.Sg?"- "+q.label:q.collapsed||q.yh?"+ "+q.label:q.label}).style("cursor",function(q){return q.collapsed||q.ng||q.Sg||q.yh?"pointer":"auto"});c.selectAll("text").filter(function(q){return q.df&&0<q.df.length||q.collapsed||q.ng||q.Sg||q.yh}).append("svg:title").text(function(q){return q.df&&0<q.df.length?q.df:q.collapsed||q.yh?e.i.C.u.pO:q.ng||q.Sg?e.i.C.u.oO:""});var d=0;for(d=0;d<b.length;d++)this.NL(b[d],
0);var g=[],l=6;c.each(function(){l+=this.getBBox().width+6;g.push(this.getBBox().width)});c.attr("transform",function(q,t){l-=g[t];q="translate("+-l+", 0)";l-=6;return q});g=g.reverse();for(var m=this.xj,n=1<m.range().length?(m.range()[1]-m.range()[0]-m.rangeBand())/2:0,p=0;p<this.Eb.ki.length;p++)a.selectAll(".refline").data(this.Eb.ki[p].slice(1)).enter().append("line").attr("class","fm-refline").attr("y1",function(q){return m(q.id)-n}).attr("y2",function(q){return m(q.id)-n}).attr("x1",function(){return 0}).attr("x2",
function(){for(var q=0,t=g.length-p,x=0;x<t;x++)q+=g[x]+6;return-q})}NL(c,a){for(var b=0;b<c.length;b++)v.Da.Ib(c[b]).U("text-anchor","end"),v.Da.Ib(c[b]).attr("dy","0.38em"),v.Da.Ib(c[b]).attr("transform",this.g_(c[b])+(0!=a?" rotate("+a+")":""))}g_(c){var a=c.getBoundingClientRect().height/2;c=c.__data__;c=this.xj(c.id)+this.xj.rangeBand()*c.WA/2;return"translate("+a+", "+c+")"}xQ(c,a){var b=this.Eb.Qo,d=this.xj,g=0;if(0<this.Eb.Uv.length){var l=this.Eb.Uv;var m=d3v3.scale.ordinal().rangeRoundBands([0,
d.rangeBand()],.1).domain(l);l=m.rangeBand();var n=Math.min(l,this.RE);g=l!=n?(l-n)/2:0}c=this.svg.selectAll(".state").data(c).enter().append("g").attr("transform",function(q){return"translate(0,"+(d(q.id)+g)+")"});var p=this.IM;l=c.selectAll("rect").data(function(q){return q.ii}).enter().append("rect").attr("class","fm-bar").attr("y",function(q){return m(q.id)}).attr("height",n).attr("x",function(q){return 0>q.value?Math.floor(100*a(q.value))/100:Math.floor(100*a(p))/100}).attr("width",function(q){return Math.floor(100*
Math.abs(a(p)-a(q.value)))/100}).style("fill",function(q){return e.w(q.vq)?b(q.id):b(q.vq)});l.append("title").text(function(q){return q.df});this.jl(l,h.ln.Nz);this.Eb.ZC&&(c=c.selectAll("text").data(function(q){return q.ii}).enter().append("text").attr("class","fm-data-label").text(function(q){return q.Nr}).attr("x",function(q){return Math.floor(100*a(q.value))/100}).attr("y",function(q){return m(q.id)+n/2}).attr("dx","2px").attr("dy","0.38em"),c.append("title").text(function(q){return q.df}),this.jl(c,
h.ln.YD))}VY(c,a){for(var b=this.xj,d=d3v3.svg.line().interpolate("linear").x(function(n){return b(n.id)+b.rangeBand()/2}).y(function(n){return a(n.value)}),g=0;g<c.length;g++){var l=e.w(c[g].vq)?this.Eb.Qo(c[g].id):this.Eb.Qo(c[g].vq),m=this.svg.append("g");m.append("path").datum(c[g]).attr("class","fm-line").style("stroke",l).attr("d",function(n){return d(n.ii)});m.selectAll("circle").data(c[g].ii).enter().append("circle").attr("class","fm-circle").style("stroke",l).attr("cx",function(n){return b(n.id)+
b.rangeBand()/2}).attr("cy",function(n){return a(n.value)}).attr("r",4).append("title").text(function(n){return n.df})}}}h.Sga=f})(k.nd||(k.nd={}))})(e.K||(e.K={}))})(u||(u={}));(function(e){(function(k){(function(h){class f extends h.fH{constructor(){super()}Hd(c,a,b){super.Hd(c,a,b);this.Lj(c.data)}Lj(c){super.Lj(c);this.xQ(c,this.Ll)}}h.v4=f})(k.nd||(k.nd={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends h.fH{constructor(){super()}Hd(c,a,b){super.Hd(c,a,b);this.Lj(c.data)}Lj(c){super.Lj(c);this.VY(c,this.Ll)}}h.jka=f})(k.nd||(k.nd={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends h.fH{constructor(){super()}Hd(c,a,b){super.Hd(c,a,b);this.Lj(c.data)}Lj(c){super.Lj(c);for(var a=this.xj,b=this.Ll,d="triangle-up cross circle square triangle-down diamond".split(" "),g=0;g<c.length;g++){var l=e.w(c[g].vq)?this.Eb.Qo(c[g].id):this.Eb.Qo(c[g].vq),m=d[g%d.length],n=this.svg.append("g");m=d3v3.svg.symbol().type(m);m=n.selectAll(".scatter-point").data(c[g].ii).enter().append("path").attr("class","fm-scatter-point").attr("d",m).style("stroke",
function(){return l}).attr("transform",function(p){return"translate("+Math.round(a(p.id)+a.rangeBand()/2)+","+Math.round(b(p.value))+")"});m.append("title").text(function(p){return p.df});this.jl(m,h.ln.Nz);this.Eb.ZC&&(n=n.selectAll("text").data(c[g].ii).enter().append("text").attr("class","fm-data-label").text(function(p){return p.Nr}),n.style("text-anchor","middle").attr("x",function(p){return a(p.id)+a.rangeBand()/2}).attr("y",function(p){return Math.floor(100*b(p.value))/100}).attr("dy","-8px"),
n.append("title").text(function(p){return p.df}),this.jl(n,h.ln.YD))}}}h.Kma=f})(k.nd||(k.nd={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends h.rU{constructor(){super()}Hd(c,a,b){super.Hd(c,a,b);this.update(c.data)}update(c){if(0!=c.length){var a=this.Hn,b=Math.max(this.Fn,70),d=Math.min(a,b)/2;b>this.Fn&&this.fZ(b);var g=this.Eb.Qo,l=d3v3.svg.arc().outerRadius(d-20).innerRadius(0),m=d3v3.layout.pie().sort(null).value(function(z){return Math.abs(z.value)});this.svg.attr("transform","translate("+a/2+","+b/2+")");c=this.svg.selectAll(".arc").data(m(c[0].ii)).enter().append("g").attr("class",
"fm-arc");c.append("path").attr("d",l).style("fill",function(z){return g(z.data.id)}).append("title").text(function(z){return z.data.df});var n=d3v3.svg.arc().outerRadius(d-20).innerRadius(d),p=0;d=this.svg.append("g").attr("class","fm-pie-label");d.append("text").text("Test").each(function(){p=this.getBBox().height});d.remove();var q=[],t=[],x=[];c.each(function(z){var A=n.centroid(z);if(e.i.B.F.ffa||0==t.length||2==t.length&&Math.abs(A[1]-t[1])>p||0<=t[0]&&0>=A[0])x.push(z),q.push(A),t=A});d=this.svg.selectAll(".pie-label").data(x).enter().append("g").attr("class",
"fm-pie-label");d.append("text").text(function(z){return z.data.label+" ("+z.data.Nr+")"}).attr("transform",function(z,A){return"translate("+q[A]+")"}).attr("dy",".35em").style("text-anchor",function(z,A){return 0<q[A][0]?"start":"end"});d.selectAll("text").filter(function(z){return z.data.d0&&0<z.data.d0.length}).append("svg:title").text(function(z){return z.data.d0});this.jl(c,h.ln.Nz);this.jl(d,h.ln.YD);c=this.svg[0][0].getBBox();if(c.x+c.width>a/2||c.x<-a/2)d=v.Da.Ib(this.svg[0][0]),l=d3v3.transform(d.attr("transform")),
a=a/2/(a/2+Math.max(-a/2-c.x,c.x+c.width-a/2)),l.scale=[a,a],d.attr("transform",l.toString())}}}h.ama=f})(k.nd||(k.nd={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends h.fH{constructor(){super();this.Bfa=!0}Hd(c,a,b){super.Hd(c,a,b);this.Lj(c.data)}EK(c){return d3v3.max(c,function(a){return a.XGa})}FK(c){return d3v3.min(c,function(a){return a.WGa})}Lj(c){c.forEach(function(p){var q=0,t=0;p.ii.forEach(function(x){0<=x.value?(x.w3=q,q+=x.value,x.y1=q):(x.y1=t,t+=x.value,x.w3=t)});p.WGa=t;p.XGa=q});super.Lj(c);var a=this.Eb.Qo,b=this.xj,d=this.Ll;var g=b.rangeBand();0<this.Eb.Uv.length&&(g=this.Eb.Uv,g=d3v3.scale.ordinal().rangeRoundBands([0,
b.rangeBand()],.1).domain([g[0]]),g=g.rangeBand());var l=Math.min(g,this.RE),m=g!=l?(g-l)/2:0;m+=(b.rangeBand()-g)/2;c=this.svg.selectAll(".state").data(c).enter().append("g").attr("class","fm-bar-stack").attr("transform",function(p){return"translate("+(b(p.id)+m)+",0)"});g=c.selectAll("rect").data(function(p){return p.ii}).enter().append("rect").attr("width",l).attr("y",function(p){return Math.round(100*d(p.y1))/100}).attr("height",function(p){return Math.round(100*Math.abs(d(p.w3)-d(p.y1)))/100}).style("fill",
function(p){return a(p.id)});g.append("title").text(function(p){return p.df});c.selectAll("path").data(function(p){return p.ii}).enter().append("path").attr("d",function(p){return"M0 "+Math.round(100*d(p.y1))/100+" l"+l+" 0"});this.jl(g,h.ln.Nz);if(this.Eb.ZC){var n=0;c=c.selectAll("text").data(function(p){return p.ii}).enter().append("text").attr("class","fm-data-label").text(function(p){return p.Nr}).each(function(){n=Math.max(n,this.getBBox().height)});c.text(function(p){return n+1>Math.round(100*
Math.abs(d(p.w3)-d(p.y1)))/100?"":p.Nr});g=Math.floor(n);c.style("text-anchor","middle").attr("x",function(){return l/2}).attr("y",function(p){return Math.round(100*d(p.y1))/100}).attr("dy",g+"px");c.append("title").text(function(p){return p.df});this.jl(c,h.ln.YD)}}}h.Qma=f})(k.nd||(k.nd={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends h.fH{constructor(){super()}Hd(c,a,b){super.Hd(c,a,b);this.Lj(c.data,c.Bv)}Lj(c,a){super.Lj(c,a);this.xQ(c,this.Ll);this.VY(a,this.HM)}}h.Sha=f})(k.nd||(k.nd={}))})(e.K||(e.K={}))})(u||(u={}));(function(e){(function(k){(function(h){class f extends h.Sga{constructor(){super()}Hd(c,a,b){super.Hd(c,a,b);this.Lj(c.data)}Lj(c){super.Lj(c);this.xQ(c,this.Ll)}}h.Qga=f})(k.nd||(k.nd={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends v.hi.Sz{constructor(){super();this.CY();this.PJ()}CY(){null==this.$F&&(this.$F=new v.Da("span","fm-icon-display"))}PJ(){null==this.qo&&(this.qo=new v.Da("span","fm-text-display"))}jb(){var a=this.getData();this.G.empty();0==a.bg&&this.$F.U("background-color",a.color);this.G.append(this.$F);this.qo.html(a[this.ao()]);var b=a.df;b&&0<b.length&&this.qo.attr("title",b);a.isCollapsed||a.aG?this.G.attr("title",e.i.C.u.pO):(a.bg||a.qg)&&
this.G.attr("title",e.i.C.u.oO);this.G.$("fm-level-"+a.level);this.G.append(this.qo);e.w(a.measure)||isNaN(a.measure.index)||this.G.attr("data-measure-index",a.measure.index);this.G.eb(k.Y.X.xa.zU,a.isCollapsed||a.aG);this.G.eb(k.Y.X.xa.QU,a.bg||a.qg);this.jl(this.G.element,h.ln.dka)}jl(a,b){if(e.rf(h.yu.fB)){var d=this.getData().Qa();d.type=b;d.chartType=e.i.B.F.AJ;h.yu.fB(a,d)}}}f.ika=c})(h.Me||(h.Me={}))})(k.nd||(k.nd={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends v.Vd.Dj{constructor(a){super();this.jM=!0;this.jM=a;this.G.ol();this.color=d3v3.scale.category20c();e.i.B.F.B2&&(this.fM=new v.kg,this.jM?this.fM.$("fm-chart-legend-btn fm-hide"):this.fM.$("fm-chart-legend-btn fm-show"),this.fM.G.attr("title",this.jM?e.i.C.u.Zga:e.i.C.u.aha),this.fM.N(v.yd.Fe,()=>this.ACa()),this.W(this.fM));this.iG=new v.Da("div");this.iG.$("fm-chart-legend-container");this.jM&&this.G.append(this.iG)}ACa(){this.bb(r.da.Id)}aFa(a){this.color=
a}Hd(a){if(this.jM){this.iG.pw();this.iG.eb("fm-legend-btn-shown",e.i.B.F.B2);for(var b=new v.Da("table"),d=new v.Da("tr"),g=0;g<a.length;g++){for(var l=0;l<a[g].length;l++)a[g][l].bg||a[g][l].qg||(a[g][l].color=this.color(a[g][l].id));l=new v.Da("td");var m=new v.ld.Fi;m.$("fm-legend-lst-"+g);m.Ih(this.au);m.wf("label");m.useCache=!1;m.Pf(a[g]);m.N(r.da.Id,n=>this.W0(n));l.append(m.G);d.append(l)}b.append(d);this.iG.append(b)}}$Ea(a){this.vt=a}au(a,b){var d=new f.ika;d.setData(a);d.vm(b);return d}W0(a){a=
a.data.El;var b=a.aG||a.qg;a.isCollapsed||a.bg?this.vt("expand",a.zf,a.Mb):b&&this.vt("drill",a.zf,a.Mb)}}f.Nha=c})(h.Me||(h.Me={}))})(k.nd||(k.nd={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){}static Fva(c){switch(c){case h.xe.iz:c=new h.v4;break;case h.xe.mD:c=new h.Qga;break;case h.xe.OH:c=new h.jka;break;case h.xe.mI:c=new h.Kma;break;case h.xe.Ju:c=new h.ama;break;case h.xe.Pz:c=new h.Qma;break;case h.xe.yD:c=new h.Sha;break;default:c=new h.v4}return c}}h.Mha=f})(k.nd||(k.nd={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.Vd.Dj{constructor(){super();this.P5=50;this.i=e.i.Ua.V();this.$("fm-charts-view");this.Jh();new h.Pha(this)}dispose(){this.i=this.I=null;this.kq&&this.kq.dispose();this.kq=null}jb(){if(!(1>e.i.ua.mc.Yh())){null==this.kq&&(this.kq=this.Esa(),this.G.W(this.kq));this.kq.clear();this.kq.I=this.I;this.kq.resize(k.Pb.Hn,k.Pb.Fn);this.kq.Eb=null;if(this.I&&this.I.Th){if(null==this.EZ()){e.Wa(e.i.C.u.bha,e.i.C.u.Ca);return}this.kq.Eb=this.Dsa()}this.kq.jb()}}Esa(){var c=
new h.Qha;c.N("chart_changed",()=>this.fAa());c.N(k.ri.Kw,a=>this.PS(a));c.N("dblclick",a=>this.hAa(a));c.N("click",a=>this.gAa(a));return c}get Yl(){return this.kq}fAa(){this.jb()}PS(c){this.Ga(c)}cya(c){c=v.Da.Ib(c);return c.closest(".fm-charts-filters-container")||c.closest(".fm-charts-filters-btn")?!0:!1}uG(c){c=v.Da.Ib(c).closest(".fm-charts-filter");null!=c&&(c=e.v.Sa.V().O.Fg(c.attr("data-hierarchy")),null!=c&&this.Ga(new k.tN(c)))}Nj(c,a=!1,b=null){e.i.tc.lz.Of(this,c,a,b)}print(c=null){if(this.jca){var a=
e.i.tc.lz.EQ(this,null,!0);a=e.i.tc.lz.NJ(e.i.ls.SD.V().B.vi)+a+e.i.tc.lz.NJ(e.i.ls.SD.V().B.em)}else a=e.i.tc.lz.N$(this,null,!0);!e.ia(e.i.B.F.Xl)&&this.jca&&(a="<center><div style='"+k.Y.X.Vc.Rx(this.G.find(".fm-chart-title"))+"'>"+e.i.B.F.Xl+"</div></center>"+a);null!=c?c(a):(y.t6.print(a,"",e.i.B.F.Xl),e.i.ls.SD.V().vda());e.i.tc.lz.clear()}get jca(){var c=new v.Da("div");c.text("FM");c.U("font-size","10px");c.cb();document.body.appendChild(c.element);var a="10px"==c.U("font-size");c.remove();
return a}Dsa(){var c=new h.X.Oha;c.type=e.i.B.F.AJ;c.rt=e.i.B.F.rt;c.ZC=e.i.B.F.hfa;c.kx=this.EZ();c.sC=e.i.B.F.XE&&(c.type==h.xe.iz||c.type==h.xe.mD||c.type==h.xe.OH||c.type==h.xe.mI);c.Kt=c.kx.$f().clone();c.Lf=e.v.j.ca.Lf(c.kx.fa);c.Yd=e.v.j.ca.Yd(c.kx.fa);c.Kt.gd=c.kx.fa==e.v.j.ca.ni?"":c.Kt.gd;c.Xv=c.kx.type==e.v.j.Na.bc&&e.v.j.ca.xs(c.kx.fa);c.naa=this.maa;var a="on"==e.i.B.F.xg||"rows"==e.i.B.F.xg?this.I.vd-1:this.I.vd,b="on"==e.i.B.F.xg||"columns"==e.i.B.F.xg?this.I.od-1:this.I.od;0==a&&(a=
1);0==b&&(b=1);var d=3E3<b*a?3E3:-1;c.gJ=c.sC?this.taa():[c.kx];e.i.B.F.Gn&&(null!=this.I.oS&&(e.i.B.F.st=this.I.oS),null!=this.I.nS&&(e.i.B.F.RA=this.I.nS),0==this.Fwa(e.i.B.F.st)&&(e.i.B.F.st=[]),0==this.Gwa(e.i.B.F.RA)&&(e.i.B.F.RA=[]));var g=!1;switch(c.type){case h.xe.iz:case h.xe.mD:case h.xe.Pz:g=this.Vda(c,a,b,c.gJ,c.data,c.sC&&1<c.gJ.length,void 0,d);break;case h.xe.OH:case h.xe.mI:g=this.Wda(c,a,b,c.gJ,c.data,c.sC&&1<c.gJ.length,void 0,d);break;case h.xe.Ju:g=this.IDa(c,a,b,c.kx,void 0,
d);break;case h.xe.yD:g=0<this.I.Ea.length?this.I.Ea[0]:null;var l=1<this.I.Ea.length?this.I.Ea[1]:null;c.Kt=g.$f().clone();c.Lf=e.v.j.ca.Lf(g.fa);c.Yd=e.v.j.ca.Yd(g.fa);c.Kt.gd=g.fa==e.v.j.ca.ni?"":c.Kt.gd;c.Xv=g.type==e.v.j.Na.bc&&e.v.j.ca.xs(g.fa);e.w(l)||(c.yZ=l.$f().clone(),c.Lba=e.v.j.ca.Lf(l.fa),c.fca=e.v.j.ca.Yd(l.fa),c.yZ.gd=l.fa==e.v.j.ca.ni?"":c.yZ.gd,c.kca=l.type==e.v.j.Na.bc&&e.v.j.ca.xs(l.fa));g=this.HDa(c,a,b,g,l,d)}e.i.B.F.kfa&&g&&e.Wa(e.i.C.u.cha,e.i.C.u.X6,e.Bb.Tk);this.GDa(c);c.type!=
h.xe.Ju&&(c.ys=this.hxa(),c.type==h.xe.yD?(g=0<this.I.Ea.length?this.I.Ea[0]:null,l=1<this.I.Ea.length?this.I.Ea[1]:null,c.zs=null!=g?g.label:"",c.Dw=null!=l?l.label:""):(e.i.B.F.XE?(a=this.taa(),c.zs=1==a.length?a[0].label:""):c.zs=this.EZ().label,c.Dw=""));return c}GDa(c){if(e.w(this.N2)||0==this.N2.length)this.N2=this.Kva();c.Qo=d3v3.scale.ordinal().range(this.N2);if(c.Me&&0<c.Me.length){var a=[],b=[],d,g;for(d=0;d<c.Me.length;d++){var l=c.Me[d][0].id;var m=c.Qo(l);c.Me[d][0].bg||(a.push(l),b.push(m));
l=[];for(g=1;g<c.Me[d].length;g++)c.Me[d][g].bg||l.push(c.Me[d][g].id);a=a.concat(l);g=d3v3.rgb(m);g=d3v3.rgb(g.r-25,g.g-25,g.b-25);m=d3v3.rgb("#EEEEEE");m=d3v3.scale.linear().domain([0,l.length+1]).range([g,m]);g=1;for(l=0;g<c.Me[d].length;g++)c.Me[d][g].bg||(b.push(m(l).toString()),l++)}c.Qo=d3v3.scale.ordinal().domain(a).range(b)}}Kva(){var c=[],a=1,b=new v.Da("div");b.cb();for(k.Pb.Gb.G.W(b);100>a;){b.nT("class");b.$("fm-charts-color-"+a);var d=window.getComputedStyle(b.element).fill;e.ia(d)&&
(d="#000");if("none"!=d)c.push(d);else break;a++}b.remove();return c}EZ(){var c=this.I.Ea.find(l=>l.A===e.i.B.F.En.A);if(null!=c&&(""!=e.i.B.F.En.fa||e.i.B.F.En.index)){var a=!0,b=!0;for(g=0;g<this.I.Ea.length;g++){var d=this.I.Ea[g];if(d.A==e.i.B.F.En.A)if(""==e.i.B.F.En.fa){c=d;break}else if(d.fa==e.i.B.F.En.fa)if(a=!1,null==e.i.B.F.En.index||-1==e.i.B.F.En.index){c=d;break}else if(d.index==e.i.B.F.En.index){c=d;b=!1;break}}a&&(e.i.B.F.En.fa="");b&&(e.i.B.F.En.index=-1)}if(null==c)if(e.i.B.F.dc)for(var g=
0;g<this.I.Ea.length&&(c=this.I.Ea[g],c.type==e.v.j.Na.oc||c.type==e.v.j.Na.Pa);g++);else c=this.I.Ea[0];return c}taa(){var c=[],a=e.i.B.F.WE;if(0<a.length)for(var b=[],d=0;d<a.length;d++){for(var g=a[d],l,m=!0,n=!0,p=0;p<this.I.Ea.length;p++){var q=this.I.Ea[p];if(q.A==g.A)if(-1==b.indexOf(q.index)&&(l=q),""==g.fa)break;else if(q.fa==g.fa)if(m=!1,null==g.index||-1==g.index){if(-1==b.indexOf(q.index)){l=q;break}}else if(q.index==g.index){l=q;n=!1;break}}m&&(e.i.B.F.WE[d].fa="");n&&(e.i.B.F.WE[d].index=
-1);null!=l&&(b.push(l.index),c.push(l))}else c=this.I.Ea.slice();0==c.length&&(c=this.I.Ea.slice(),e.i.B.F.WE=[]);return c}Fwa(c){for(var a=0,b,d=0;d<this.I.od;d++)b=this.I.gp(d),this.PP(c,b)&&a++;return a}Gwa(c){for(var a=0,b,d=0;d<this.I.vd;d++)b=this.I.wk(d),this.QP(c,b)&&a++;return a}PP(c,a){return a.length!=c.length+1||0!=c.length&&0!=a.join(",").indexOf(c.join(",")+",")?!1:!0}QP(c,a){return a.join()==c.join()||a.length==c.length+1&&(0==c.length||0==a.join(",").indexOf(c.join(",")+","))?!0:
!1}hxa(){for(var c=[],a=0;a<this.I.rows.length;a++)c.push(this.I.rows.ea(a).label);return c.join(" / ")}Paa(c){for(var a=[],b,d=0;d<c.length;d++)b=c[d],b=b.$f().clone(),a.push(b);return a}MK(c,a,b,d,g,l=""){a=b+": "+a;c.type==h.xe.Ju&&0<l.length&&(a+=" of "+l);b=this.I.Xb.hb&&1==this.I.Ka.length;d=this.I.kc.hb&&1==this.I.rows.length?"":this.h_(d,e.v.j.ga.Ia,!1,null,!0);g=b?"":this.h_(g,e.v.j.ga.Xa,!1,null,!0);d=this.Rv(d);g=this.Rv(g);0<d.length&&(a=a+"\n"+d);0<g.length&&(a=a+"\n"+g);c.type!=h.xe.Ju&&
0<l.length&&(a=a+"\nTotal: "+l);return a}h_(c,a,b=!1,d=null,g=!1){if(b&&a==e.v.j.ga.Ia)return null!=d?d.hierarchy.label+": "+d.caption:e.i.C.u.dna+" "+(c[0]+1).toString();b=[];a=a==e.v.j.ga.Xa?this.I.Fb:this.I.Ab;for(var l,m=0;m<c.length;m++)d=a.ea(m),null!=d&&(l=c[m],b.push(this.Jca(d.ya(l),g)));return b.join(" - ")}hAa(c){this.Oba(c.target)&&this.Uc(c.target)}gAa(c){c=this.gR(c.target,!0);e.w(c)||e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.Z3,c))}Oba(c){if(e.w(e.v.Sa.V().ha)||!e.v.Sa.V().ha.YR||!e.i.B.F.Uc)return!1;
c=c.__data__;null!=c&&c.data&&(c=c.data);return c&&c.measure&&null==this.i.ja.O.qd(c.measure.A)?!1:c&&c.measure&&c.Yf&&c.Jg}Uc(c){var a=c.__data__;null!=a&&a.data&&(a=a.data);c=new k.J4(a.measure,a.Yf,a.Jg,this.gR(c,!0));this.Ga(c)}Jca(c,a=!1){var b="";if(!e.w(c)){for(var d=[];!e.w(c.parent);)d.unshift(c.caption),c=c.parent;b=a?c.hierarchy.label+": ":"";b+=d.join("/")}return b}Rv(c){return c=c.length<=this.P5?c:c.substr(0,this.P5)+"..."}qg(c,a){if(0==c.length)return!1;var b=a==e.v.j.ga.Xa?this.I.Ka:
this.I.rows;if(0==b.length)return!1;b=b.ea((a==e.v.j.ga.Xa?this.I.Xb:this.I.kc).hb&&(0==c.length||c.length>this.I.le)?c.length:c.length-1).ya(c[c.length-1]);return a==e.v.j.ga.Xa?this.I.yk(c,b):this.I.Eh(c,b)}xX(c,a,b){if(0!=a.length){var d=b==e.v.j.ga.Xa?this.I.Xb:this.I.kc,g=b==e.v.j.ga.Xa?this.I.Ka:this.I.rows;if(0!=g.length){var l=d.hb&&1==g.length,m=g.ea(d.hb&&a.length>this.I.le?a.length:a.length-1);d=m.ya(a[a.length-1]);var n=g=l?m.label:d.caption;g=this.Rv(g);n=g!=n?n:"";g=e.P.ap(g,!0);l=l?
"":d.level.A;l=b==e.v.j.ga.Xa?this.I.XA.indexOf(l):this.I.Lk.indexOf(l);var p=this.Eq(a),q=b==e.v.j.ga.Xa?this.I.zk(a):this.I.ci(a),t=b==e.v.j.ga.Xa?this.I.yk(a,d):this.I.Eh(a,d),x=a.length<(b==e.v.j.ga.Xa?this.I.sk:this.I.Dl)&&!q&&!t;m=m.Nf&&!d.ai&&!d.Rb&&!d.rg&&!q&&!t;0!=l&&0!=c.length||c.push([]);c[c.length-1].push(new h.X.L5({label:g,id:p,zf:a,tGa:b,Mb:d,level:l,bg:q,isCollapsed:x,qg:t,aG:m,df:n}))}}}Eq(c){return c.join("-")}CX(c,a,b,d=!1,g=null,l=null){var m=b==e.v.j.ga.Xa?this.I.Xb:this.I.kc,
n=b==e.v.j.ga.Xa?this.I.Fb:this.I.Ab,p=m.hb&&1==n.length,q=a.length-1,t=n.ea(q);if(null==t)return c.Sk.push({label:"",id:this.Eq(a)}),"";q=a[a.length-1];q=t.ya(q);var x="";if(0<a.length)if(d)x=null!=g?g.caption:(a[0]+1).toString();else if(0<n.length){x=p?t.label:q.caption;var z=p?"":q.level.A}g=this.Eq(a);var A=this.Rv(p?"":x);c.Sk.push({label:A,id:g});z=this.I.Lk.indexOf(z);null==c.ki[z]&&(c.ki[z]=[]);var B=e.i.B.F.Gn?a.length<=e.i.B.F.st.length:p?!1:b==e.v.j.ga.Xa?this.I.zk(a):this.I.ci(a);var D=
b==e.v.j.ga.Xa?this.I.sk:this.I.Dl;c.ki[z].push({label:A,id:g,data:a,Bv:q,ng:B,collapsed:p?!1:!B&&a.length<D,Sg:!1,yh:p?!1:t.Nf&&!q.ai&&!q.Rb&&!q.rg,WA:1,df:A!=x?x:""});this.BX(c,a,q,b,g);for(d=d?0:a.length-1;0<d;)d--,q=m.hb&&d+1>this.I.le?d+1:d,t=n.ea(q),q=a[d],q=t.ya(q),z=q.level.A,z=this.I.Lk.indexOf(z),null==c.ki[z]&&(c.ki[z]=[]),t=p?t.label:q.caption,A=this.Rv(t),t=A!=t?t:"",B=l.pop(),void 0===B?c.ki[z][c.ki[z].length-1].WA++:c.ki[z].push({label:A,id:g,data:B,Bv:q,ng:!0,collapsed:!1,Sg:!1,yh:!1,
WA:1,df:t}),this.BX(c,a,q,b,g);return x}BX(c,a,b,d,g){try{b.level.xb}catch(t){b.level.xb}if(b&&1<b.level.xb){var l=this.I.Lk.indexOf(b.parent.level.A);null==c.ki[l]&&(c.ki[l]=[]);var m=b.parent.caption,n=m;m=this.Rv(m);n=m!=n?n:"";if(m===(0<c.ki[l].length?c.ki[l][c.ki[l].length-1].label:""))c.ki[l][c.ki[l].length-1].WA++;else{var p=(d==e.v.j.ga.Xa?this.I.Fb:this.I.Ab).indexOf(b.hierarchy.A),q=a.slice(0,p);q[p]=b.parent.ordinal;c.ki[l].push({label:m,id:g,data:q,Bv:b.parent,ng:!1,collapsed:!1,Sg:!0,
yh:!1,WA:1,df:n})}this.BX(c,a,b.parent,d,g)}}J(c,a){if(0==c.length)return"";var b=a==e.v.j.ga.Xa?this.I.Xb:this.I.kc;a=a==e.v.j.ga.Xa?this.I.Ka:this.I.rows;if(0==a.length)return"";var d=a.ea(b.hb&&(0==c.length||c.length>this.I.le)?c.length:c.length-1);c=c[c.length-1];return b.hb&&1==a.length?d.label:this.Jca(d.ya(c))}DP(c,a,b){c.push([]);c[c.length-1].push(new h.X.L5({label:a.label,id:b,measure:a,level:0,bg:!1,isCollapsed:!1,qg:!1,aG:!1,df:""}))}fp(c,a,b,d,g,l,m,n){return this.i.Ja.ha.Fa!=e.v.j.sa.Nc&&
this.i.Ja.ha.Fa!=e.v.j.sa.ae||!e.i.B.F.Qp||d.fa!=e.v.j.ca.NONE?this.maa(c,g,l,m,n):this.I.fp(a,b,d)}maa(c,a,b,d,g,l=!1){return g?e.P.Zy(c,e.i.B.F.Pp):d?w.Ub.format(c,a,b,d):l?w.Ub.xFa(c,a,b,d):w.Ub.format(c,a,b,d)}Wda(c,a,b,d,g,l=!1,m=null,n=-1){var p=!0,q=!0,t=[],x=this.I.Xb.hb&&1==this.I.Ka.length,z=this.I.kc.hb&&1==this.I.rows.length;var A="";var B=NaN,D,I=d[0],Q=this.Paa(d),Y=Q[0],C=e.v.j.ca.Lf(I.fa),E=e.v.j.ca.Yd(I.fa);Y.gd=I.fa==e.v.j.ca.ni?"":Y.gd;var G=I.type==e.v.j.Na.bc&&e.v.j.ca.xs(I.fa);
if(null!=m)var F=this.I.wk(this.i.ja.za.rows.indexOf(m.A)),J=this.i.ja.O.Ke(m.A);var H=!1,L=b;for(b=0;b<a;b++){var K=b;K=this.I.wk(K);if(!e.i.B.F.Gn||this.QP(e.i.B.F.RA,K)||x||0==this.I.Ka.length){var P=this.qg(K,e.v.j.ga.Xa);l||x||this.xX(t,K,e.v.j.ga.Xa);if(!P){if(0<this.I.Ka.length&&0<K.length){var M=[];if(!l&&(B=this.I.Ha(M,K,I),!this.qy(B)))continue;A=this.I.Xb.hb&&(0==K.length||K.length>this.I.le)?K.length:K.length-1;A=this.I.Ka.ea(A);var V=K[K.length-1];A=x?A.label:A.ya(V).caption}P=0==K.length?
!1:this.I.zk(K);if(!P){V=[];var N=[];if(l){for(var U=0;U<d.length;U++){I=d[U];C=e.v.j.ca.Lf(I.fa);E=e.v.j.ca.Yd(I.fa);Q[U].gd=I.fa==e.v.j.ca.ni?"":Q[U].gd;G=I.type==e.v.j.Na.bc&&e.v.j.ca.xs(I.fa);q&&this.DP(t,I,U.toString());V=[];for(D=0;D<L;D++){M=this.I.gp(D);var ba=this.Eq(M);if(P=0==M.length?!1:this.I.ci(M))if(N.push(M),!e.i.B.F.Gn)continue;P=this.qg(M,e.v.j.ga.Ia);if(!P&&(!e.i.B.F.Gn||this.PP(e.i.B.F.st,M)||z||0==this.I.rows.length)){P=p?this.CX(c,M,e.v.j.ga.Ia,null,null,N.splice(0)):this.J(M,
e.v.j.ga.Ia);N=[];var da=this.I.Ha(M,K,I);if(this.qy(da)){var T=this.fp(da,M,K,I,Q[U],C,E,G);var Z=this.MK(c,T,I.label,M,K);V.push({label:P,value:da,Nr:T,id:ba,df:Z,measure:{A:I.A,fa:I.fa,index:I.index},Jg:M,Yf:K})}if(p&&0<c.Sk.length&&(ba=c.Sk.length,-1<n&&ba>=n)){L=D+1;H=!0;break}}}p=!1;ba=this.Eq(K)+"-"+U;D=U.toString();g.push({label:A,value:B,id:ba,vq:D,ii:V})}q=!1}else{for(D=0;D<L;D++){M=this.I.gp(D)||[];ba=this.Eq(M);if(P=0==M.length?!1:this.I.ci(M))if(N.push(M),!e.i.B.F.Gn)continue;P=this.qg(M,
e.v.j.ga.Ia);if(!P&&(!e.i.B.F.Gn||this.PP(e.i.B.F.st,M)||z||0==this.I.rows.length)){if(p){if(null!=m){var ha=this.I.Ha(M,F,J);ha=m.ya(ha)}P=this.CX(c,M,e.v.j.ga.Ia,!1,ha,N.slice(0))}else P=this.J(M,e.v.j.ga.Ia);N=[];da=this.I.Ha(M,K,I);this.qy(da)&&(T=this.fp(da,M,K,I,Y,C,E,G),Z=this.MK(c,T,I.label,M,K,""),V.push({label:P,value:da,Nr:T,id:ba,df:Z,measure:{A:I.A,fa:I.fa,index:I.index},Jg:M,Yf:K}));if(p&&0<c.Sk.length&&(ba=c.Sk.length,-1<n&&ba>=n)){L=D+1;H=!0;break}}}p=!1;ba=this.Eq(K);g.push({label:A,
value:B,id:ba,Yf:K,ii:V})}}}}}c.Me=t;return H}Vda(c,a,b,d,g,l=!1,m=null,n=-1){var p=!0,q=!0,t=[],x=[],z=this.I.kc.hb&&1==this.I.rows.length,A=this.I.Xb.hb&&1==this.I.Ka.length;var B="";var D=NaN,I,Q,Y,C=d[0],E=this.Paa(d),G=E[0],F=e.v.j.ca.Lf(C.fa),J=e.v.j.ca.Yd(C.fa);G.gd=C.fa==e.v.j.ca.ni?"":G.gd;var H=C.type==e.v.j.Na.bc&&e.v.j.ca.xs(C.fa);if(null!=m)var L=this.I.wk(this.i.ja.za.rows.indexOf(m.A)),K=this.i.ja.O.Ke(m.A);var P=!1,M=a,V=[];for(Q=0;Q<b;Q++){var N=this.I.gp(Q)||[];if(I=0==N.length?
!1:this.I.ci(N))if(V.push(N),!e.i.B.F.Gn)continue;var U=this.qg(N,e.v.j.ga.Ia);if(!U&&(!e.i.B.F.Gn||this.PP(e.i.B.F.st,N)||z||0==this.I.rows.length)){if(null!=m){U=this.I.Ha(N,L,K);var ba=m.ya(U)}var da=this.CX(c,N,e.v.j.ga.Ia,!1,ba,V.slice(0));V=[];var T=[];if(!l&&(D=this.I.Ha(N,T,C),!this.qy(D)&&!e.v.j.ca.cL(C.fa)))continue;var Z=[];var ha=this.fp(D,N,T,C,c.Kt,c.Lf,c.Yd,c.Xv);for(Y=0;Y<M;Y++)if(T=Y,T=this.I.wk(T),!e.i.B.F.Gn||this.QP(e.i.B.F.RA,T)||A||0==this.I.Ka.length){var ea=this.Eq(T);I=0==
T.length?!1:this.I.zk(T);U=this.qg(T,e.v.j.ga.Xa);l||(p&&!A&&this.xX(t,T,e.v.j.ga.Xa),q&&(I||U||x.push(ea)));if(!U&&(0<this.I.Ka.length&&0<T.length&&(B=this.I.Xb.hb&&(0==T.length||T.length>this.I.le)?T.length:T.length-1,B=this.I.Ka.ea(B),U=T[T.length-1],B=A?B.label:B.ya(U).caption),!I))if(l){for(var R,O=0;O<d.length;O++){C=d[O];F=e.v.j.ca.Lf(C.fa);J=e.v.j.ca.Yd(C.fa);E[O].gd=C.fa==e.v.j.ca.ni?"":E[O].gd;H=C.type==e.v.j.Na.bc&&e.v.j.ca.xs(C.fa);R=ea+"-"+O;var aa=O.toString();p&&this.DP(t,C,O.toString());
q&&(I||x.push(R));U=this.I.Ha(N,T,C);if(this.qy(U)){var X=this.fp(U,N,T,C,E[O],F,J,H);var W=c.type==h.xe.Pz?ha:"";W=this.MK(c,X,C.label,N,T,W);Z.push({label:B,value:U,Nr:X,id:R,vq:aa,df:W,measure:{A:C.A,fa:C.fa,index:C.index},Jg:N,Yf:T})}if(-1<n&&x.length>=n){M=Y+1;break}}p=!1}else if(U=this.I.Ha(N,T,C),this.qy(U)&&(X=this.fp(U,N,T,C,G,F,J,H),W=c.type==h.xe.Pz?ha:"",W=this.MK(c,X,C.label,N,T,W),Z.push({label:B,value:U,Nr:X,id:ea,df:W,measure:{A:C.A,fa:C.fa,index:C.index},Jg:N,Yf:T})),-1<n&&x.length>=
n){M=Y+1;break}}q=p=!1;ea=this.Eq(N);g.push({label:da,value:D,id:ea,ii:Z});N=c.type==h.xe.Pz?c.Sk.length:c.Sk.length*a;if(-1<n&&N>=n){P=!0;break}}}c.Me=t;c.Uv=x;return P}IDa(c,a,b,d,g=null,l=-1){c.hG=e.v.j.ga.Ia;var m=!0,n=[],p=this.I.Xb.hb&&1==this.I.Ka.length,q;var t=q="";var x,z=e.i.B.F.zJ;if(z>=a||-1==z)z=e.i.B.F.zJ=0;null!=g&&this.I.wk(this.i.ja.za.rows.indexOf(g.A));var A=!1;for(g=0;g<a;g++){var B=g;B=this.I.wk(B);var D=[];var I=this.I.Ha(D,B,d);if(0<this.I.Ka.length&&0<B.length){var Q=this.I.Xb.hb&&
(0==B.length||B.length>this.I.le)?B.length:B.length-1;t=this.I.Ka.ea(Q);Q=B[B.length-1];t=p?t.label:t.ya(Q).caption;t=this.Rv(t)}var Y=p?"":this.h_(B,e.v.j.ga.Xa);Y=this.Rv(Y);c.Sk.push({label:Y,id:this.Eq(B)});if(this.qy(I)&&(c.Sk.length-1==z||1==a)){var C=[];var E=this.fp(I,D,B,d,c.Kt,c.Lf,c.Yd,c.Xv);Y=this.I.kc.hb&&1==this.I.rows.length;for(x=0;x<b;x++)if(D=this.I.gp(x)||[],!e.i.B.F.Gn||this.QP(e.i.B.F.st,D)||Y||0==this.I.rows.length){var G=this.I.Ha(D,B,d);if(this.qy(G)&&(Q=this.qg(D,e.v.j.ga.Ia),
m&&!Y&&this.xX(n,D,e.v.j.ga.Ia),!Q&&(Q=0==D.length?!1:this.I.ci(D),!Q))){0<this.I.rows.length&&(Q=this.I.kc.hb&&(0==D.length||D.length>this.I.le)?D.length:D.length-1,q=this.I.rows.ea(Q),Q=D[D.length-1],q=Y?q.label:q.ya(Q).caption);Q=this.Eq(D);var F=this.fp(G,D,B,d,c.Kt,c.Lf,c.Yd,c.Xv);var J=this.MK(c,F,d.label,D,B,E);var H=q;q=this.Rv(q);H=Y||H==q?"":H;C.push({label:Y?"":q,value:G,Nr:F,id:Q,df:J,measure:{A:d.A,fa:d.fa,index:d.index},Jg:D,Yf:B,d0:H});D=C.length;if(-1<l&&D>=l){A=!0;break}}}m=!1;Q=
this.Eq(B);c.data.push({label:t,value:I,id:Q,Yf:B,ii:C})}}c.Me=n;return A}HDa(c,a,b,d,g,l=-1){l=this.Vda(c,a,b,[d],c.data,!1,null,l);if(!e.w(g)){var m=-1;l&&(m=c.Sk.length);c.Sk=[];c.ki=[];var n=c.Me;c.Me=[];this.Wda(c,a,b,[g],c.Bv,!1,null,m);0==n.length&&(this.DP(n,d,"0"),this.DP(n,g,"1"));c.Me=n;1==c.Bv.length&&(c.Bv[0].vq="2")}return l}gR(c,a=!1){var b=c.__data__;null!=b&&b.data&&(b=b.data);if(e.w(b)&&e.i.B.F.XE){var d=v.Da.Ib(c).closest("li.fm-ui-element");!e.w(d)&&d.attr("data-measure-index")&&
(b={qC:parseInt(d.attr("data-measure-index"))})}d=b;a&&(d=f.f9(b),e.w(d)||(d.element=c));return d}qy(c){return!isNaN(c)&&e.v.j.fN.dN!=c}static f9(c){if(e.w(c))return null;var a={};e.w(c.id)||(a.id=c.id);e.w(c.label)||(a.label=c.label);e.w(c.value)||(a.value=c.value);e.w(c.measure)||(a.measure=e.i.Ua.V().ja.za.qd(c.measure.A).Rk());e.w(c.qC)||(a.measureIndex=c.qC);e.w(c.Jg)||(a.rows=e.i.Ua.V().ja.za.sY(c.Jg));e.w(c.Yf)||(a.columns=e.i.Ua.V().ja.za.qY(c.Yf));return a}}f.fB=null;h.yu=f})(k.nd||(k.nd=
{}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.xq.tma{constructor(a){super(a);this.Kb=e.i.Ua.V()}uaa(a){var b=[];a.Kd.forEach(d=>{b.push({id:`aggregation_${d}`,label:e.v.j.ca.FX(d),isSelected:d==a.fa,handler:()=>this.fda(a,d)})});return b}fda(a,b){const d=this.Kb.ja.za.clone();a=d.ed()[a.index];e.w(a)||(a.fa=b,this.Kb.de(d))}nQ(a,b,d){e.rf(f.TJ)&&(a=f.TJ(a.slice(),b,d)||a);return a}uQ(a,b,d=null){this.Kb.bb(e.K.ri.j4,this,{Cza:a,coords:b,nJ:d})}}f.TJ=null;h.$M=f;class c extends f{constructor(a){super(a.G);
this.K=a;this.K.N(h.hc.KH,()=>this.hBa());this.K.N(h.hc.Du,b=>this.XAa(b))}hBa(){const a=this.K.ka.Qq;if(0!=a.length){var b=a[0];const d=this.K.G.mf(),g=d.left+this.K.ka.coords.ul(b.fc,this.K.ka.$b)+this.K.ka.coords.Vg(b.fc);b=d.top+this.K.ka.coords.bo(b.mb,this.K.ka.$b)+this.K.ka.coords.Md(b.mb);1==a.length?this.show(a[0],{left:g,top:b}):this.ofa(a,{left:g,top:b})}}XAa(a){const b=this.K.ka.Kf(a.mb,a.fc,!0);b.mb=a.mb;b.fc=a.fc;var d=this.K.G.mf();a=d.left+this.K.ka.coords.ul(b.fc,this.K.ka.$b)+this.K.ka.coords.Vg(b.fc);
d=d.top+this.K.ka.coords.bo(b.mb,this.K.ka.$b)+this.K.ka.coords.Md(b.mb);this.show(b,{left:a,top:d})}f1(a,b){a=this.K.ka.pK(a.target)||this.K.ka.zaa(b.clientX,b.clientY);null==a||e.ia(a.label)&&isNaN(a.value)||(this.show(a,{left:b.clientX,top:b.clientY}),this.K.ka.Lr())}u1(a){var b=this.K.G.mf(),d=a.clientX-b.left,g=a.clientY-b.top,l=a.clientX,m=a.clientY;if(!(0>d||0>g||d>this.K.pf()||g>this.K.wd())){d=this.K.ka.pK(a.target)||this.K.ka.zaa(a.clientX,a.clientY);g=this.K.ka.Qq;0==a.which&&0!=g.length&&
(d=g[0],l=b.left+this.K.ka.coords.ul(d.fc,this.K.ka.$b)+this.K.ka.coords.Vg(d.fc),m=b.top+this.K.ka.coords.bo(d.mb,this.K.ka.$b)+this.K.ka.coords.Md(d.mb));b=!1;if(1<g.length)for(var n=0;n<g.length;n++)if(g[n].mb==d.mb&&g[n].fc==d.fc){b=!0;break}(1<g.length&&b?this.ofa(g,{left:l,top:m}):this.show(d,{left:l,top:m}))&&a.preventDefault()}}ofa(a,b){if(e.i.B.F.readOnly)return!1;var d=[],g=this.K;if(this.fya(a)){var l=a[0].hierarchy,m=a.map(n=>n.Mb.ordinal);d.push({id:"group",label:e.i.C.u.oha,handler:()=>
{e.xGa({xda:n=>{l.x8(n,m);this.Kb.ja.select();this.K.ka.Lr()},HS:()=>{this.K.ka.Lr()}})}})}d=this.nQ(d,a.map(n=>n.Qa()),g.wi?"flat":"pivot");return 0<d.length?(this.uQ(d,b),!0):!1}fya(a){if(!e.i.B.F.ER)return!1;var b=a[0].hierarchy;if(e.w(b))return!1;for(var d=0;d<a.length;d++){var g=a[d];if(g.hierarchy!=b||e.w(g.Mb))return!1}return!0}show(a,b){if(e.i.B.F.readOnly)return!1;let d=[];const g=this.K;var l=e.w(a)||e.ia(a.label)&&isNaN(a.value);!l&&a.Fh&&!isNaN(a.value)&&e.i.B.F.Uc&&!e.i.B.F.dc&&e.v.Sa.V().ha&&
e.v.Sa.V().ha.YR&&d.push({id:"drillthrough",label:e.i.C.u.i4,handler:()=>{g.Uc(a)}});const m=this.Kb.ja.za;if(!e.w(m)){!l&&a.Bk&&e.i.B.F.ww&&d.push({id:"open_filter",label:e.i.C.u.l4,handler:()=>{this.K.Ga(new k.tN(a.hierarchy))}});if(!l&&a.Bk&&!e.i.B.F.dc){var n=m.Aua(a.hierarchy.A);e.w(n)||(n.A!=e.v.j.ga.Ia&&d.push({id:"move_to_rows",label:e.i.C.u.tha,handler:()=>{n.Va.removeItem(a.hierarchy.A);m.kc.Va.Ta(a.hierarchy.A,a.hierarchy);this.Kb.de(m)}}),n.A!=e.v.j.ga.Xa&&d.push({id:"move_to_columns",
label:e.i.C.u.rha,handler:()=>{n.Va.removeItem(a.hierarchy.A);m.Xb.Va.Ta(a.hierarchy.A,a.hierarchy);this.Kb.de(m)}}),n.A!=e.v.j.ga.Hs&&d.push({id:"move_to_report_filters",label:e.i.C.u.sha,handler:()=>{n.Va.removeItem(a.hierarchy.A);m.vG.Va.Ta(a.hierarchy.A,a.hierarchy);this.Kb.de(m)}}),d.push({id:"remove_field",label:e.P.bind(e.i.C.u.m4,a.hierarchy.caption),handler:()=>{n.Va.removeItem(a.hierarchy.A);this.Kb.de(m)}}))}l||!a.di&&!a.oh||(a.ng&&d.push({id:"collapse",label:e.i.C.u.hha,handler:()=>{g.Et(a)}}),
a.collapsed&&d.push({id:"expand",label:e.i.C.u.mha,handler:()=>{g.Et(a)}}),a.hierarchy&&2<a.hierarchy.ta.length&&!m.cd&&(a.Sg||a.yh)&&d.push({id:a.Sg?"drill_up":"drill_down",label:a.Sg?e.i.C.u.kha:e.i.C.u.jha,handler:()=>{g.Kx(a)}}));!l&&(a.di||a.oh)&&a.Mb&&a.Mb.rg&&d.push({id:"ungroup",label:e.i.C.u.Dha,handler:()=>{a.hierarchy.zM(a.Mb);this.Kb.ja.select()}});!l&&a.di&&!a.Bk&&a.lo&&(a.oo||d.push({id:"sort_row_desc",label:e.i.C.u.Cha,handler:()=>{g.P2(a,e.v.j.Ba.Ec)}}),a.mo||d.push({id:"sort_row_asc",
label:e.i.C.u.Bha,handler:()=>{g.P2(a,e.v.j.Ba.gc)}}),(a.mo||a.oo)&&d.push({id:"clear_sorting",label:e.i.C.u.h4,handler:()=>{g.mra()}}));!l&&a.oh&&!a.Bk&&a.lo&&(a.oo||d.push({id:"sort_column_desc",label:e.i.C.u.Aha,handler:()=>{g.kM(a,e.v.j.Ba.Ec)}}),a.mo||d.push({id:"sort_column_asc",label:e.i.C.u.zha,handler:()=>{g.kM(a,e.v.j.Ba.gc)}}),(a.mo||a.oo)&&d.push({id:"clear_sorting",label:e.i.C.u.h4,handler:()=>{g.hra()}}));if(!l&&(a.di||a.oh)){if(e.i.B.F.IG&&a.hierarchy&&a.Mb&&0<a.Mb.level.De.length){var p=
this.xwa(a.Mb.level.De,a.Mb.level.A);0<p.length&&d.push({id:"member_properties",label:e.i.C.u.vha,submenu:p})}a.Mb&&e.i.B.F.ww&&d.push({id:"filter_by",label:e.P.bind(e.i.C.u.nha,a.Mb.caption),handler:()=>{a.hierarchy.filter;this.Kb.Fl(a.hierarchy.A,{members:[a.Mb.A]})}})}l||!this.Ixa(a)&&!this.Hxa(a)||(p=this.uaa(a.measure),0<p.length&&d.push({id:"aggregation",label:e.i.C.u.g4,submenu:p}));!l&&a.measure&&k.Pb.Gb.sba&&(d.push({id:"number_formatting",label:e.i.C.u.uha,handler:()=>{this.VCa(a.measure)}}),
d.push({id:"conditional_formatting",label:e.i.C.u.iha,handler:()=>{this.TCa(a.measure)}}));!l&&a.measure&&a.measure.Ra&&d.push({id:"edit_calculated_value",label:e.P.bind(e.i.C.u.lha,a.measure.caption),handler:()=>{k.Pb.Gb.IL(a.measure.A)}});var q=m.ed();!l&&a.measure&&1<q.length&&!e.i.B.F.dc&&d.push({id:"remove_measure",label:e.i.C.u.wha,handler:()=>{m.Ly(a.measure.A);this.Kb.XL(m.e3())}});!l&&a.Bk&&e.i.B.F.dc&&(e.w(a.measure)&&e.w(a.hierarchy)||d.push({id:"remove_field",label:e.P.bind(e.i.C.u.m4,
a.hierarchy?a.hierarchy.caption:a.measure.caption),handler:()=>{a.hierarchy&&m.Ka.Sb(a.hierarchy.A)?m.Ka.removeItem(a.hierarchy.A):a.hierarchy&&m.rows.Sb(a.hierarchy.A)?m.rows.removeItem(a.hierarchy.A):a.hierarchy&&m.lb.Sb(a.hierarchy.A)&&m.lb.removeItem(a.hierarchy.A);a.measure&&q.find(t=>t.A===a.measure.A)&&m.Ly(a.measure.A);this.Kb.de(m)}}));if(!l&&a.Bk&&!e.w(a.hierarchy)&&e.i.B.F.pk&&(l=m.rows.Sb(a.hierarchy.A),p=m.Ka.Sb(a.hierarchy.A),(l?m.Ab.indexOf(a.hierarchy.A)!=m.Ab.length-1:m.Fb.indexOf(a.hierarchy.A)!=
m.Fb.length-1)&&(l||p))){let t=!0===a.hierarchy.bf;void 0===a.hierarchy.bf&&(!l||"on"!=e.i.B.F.bf&&"rows"!=e.i.B.F.bf||(t=!0),!p||"on"!=e.i.B.F.bf&&"columns"!=e.i.B.F.bf||(t=!0));d.push({id:t?"hide_hierarchy_totals":"show_hierarchy_totals",label:t?e.i.C.u.qha:e.i.C.u.yha,handler:()=>{a.hierarchy.bf=!t;this.Kb.de(m)}})}d=this.nQ(d,a?a.Qa():null,g.wi?"flat":"pivot");return 0<d.length?(this.uQ(d,b,t=>this.Spa(t,a)),!0):!1}}Spa(a,b){var d=["open_filter","drillthrough","number_formatting","conditional_formatting",
"edit_calculated_value"];if(a&&0<=d.indexOf(a.id))return!1;d=["move_to_rows","move_to_columns","move_to_report_filters","remove_field"];if(a&&0<=d.indexOf(a.id))return!0;this.K.Sy(b.mb,b.fc);return!1}VCa(a=null){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.k6,{measureName:a.A}))}TCa(a=null){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.f4,{measureName:a.A}))}Ixa(a){return!e.i.B.F.dc&&e.i.B.F.Ok&&a.measure&&!a.measure.Ra&&!a.measure.Ri}Hxa(a){return e.i.B.F.dc&&e.i.B.F.Ok&&a.measure&&!a.measure.Ra&&a.gC&&a.Vt&&0<=a.measure.index}xwa(a,
b){for(var d=[],g=0;g<a.length;g++){var l=a.ea(g);if(l){var m=this.Kb.ja.za.nj;m&&m[b]&&-1<m[b].indexOf(l.A)?d.push({id:"hide_member_property",label:e.P.bind(e.i.C.u.pha,l.caption),data:{levelName:b,propertyName:l.A},handler:n=>{this.K.pfa(n,!1)}}):d.push({id:"show_member_property",label:e.P.bind(e.i.C.u.xha,l.caption),data:{levelName:b,propertyName:l.A},handler:n=>{this.K.pfa(n,!0)}})}}return d}}h.x5=c})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.Vd.Dj{constructor(){super();this.Tf=this.Te=this.Ho=this.Sw=this.dj=0;this.Kb=e.i.Ua.V();this.Wc=[];this.I7=()=>this.iBa();this.mS=c=>this.hw(c);this.$("fm-grid-view");this.Jh();this.wm("grid");new h.x5(this);this.Kb.N("reset_grid",this.I7);this.bu=w.lV.V();this.bu.N(w.KeyboardEvent.AN,this.mS)}dispose(){this.I=null;this.Kb.qb("reset_grid",this.I7);this.Kb=null;this.ka&&this.ka.dispose();this.Ie=null}hw(c){if(this.jm&&null!=this.bu&&null!=this.Ie){var a=
c.ctrlKey||c.metaKey;switch(c.keyCode){case 37:this.scroll("left",a);c.Lq.preventDefault();break;case 38:this.scroll("up",a);c.Lq.preventDefault();break;case 39:this.scroll("right",a);c.Lq.preventDefault();break;case 40:this.scroll("down",a);c.Lq.preventDefault();break;case 13:case 32:null!=this.UF()?this.ka.focus():this.Sy(this.ka.coords.Ug,this.ka.coords.Zf),c.stopPropagation()}}}scroll(c,a=!1){switch(c){case "up":a?this.Ie.MEa():this.Ie.EG(this.Ie.coords.Ug-1);break;case "down":a?this.Ie.JEa():
this.Ie.EG(this.Ie.coords.Ug+1);break;case "left":a?this.Ie.KEa():this.Ie.aM(this.Ie.coords.Zf-1);break;case "right":a?this.Ie.LEa():this.Ie.aM(this.Ie.coords.Zf+1)}}Isa(){var c=new h.sheet.ZM;c.HB=(a,b)=>this.getData(a,b);c.N(h.hc.Fm,a=>this.tC(a));c.N(h.hc.XH,a=>this.P0(a));c.N(h.hc.Cu,a=>this.xp(a));c.N(h.hc.VD,a=>this.s1(a));c.N(h.hc.WD,a=>this.t1(a));c.N(h.hc.KH,a=>this.Ga(a));c.N(h.hc.Du,a=>this.Ga(a));this.G.append(c);return c}Fsa(){var c=new h.sheet.SA.YM;c.HB=(a,b)=>this.getData(a,b);c.N(h.hc.Fm,
a=>this.tC(a));c.N(h.hc.XH,a=>this.P0(a));c.N(h.hc.Cu,a=>this.xp(a));c.N(h.hc.VD,a=>this.s1(a));c.N(h.hc.WD,a=>this.t1(a));c.N(h.hc.KH,a=>this.Ga(a));c.N(h.hc.Du,a=>this.Ga(a));this.G.append(c);return c}Msa(){var c=new h.sheet.flat.IH;c.HB=(a,b)=>this.getData(a,b);c.N(h.hc.Fm,a=>this.tC(a));c.N(h.hc.XH,a=>this.P0(a));c.N(h.hc.Cu,a=>this.xp(a));c.N(h.hc.VD,a=>this.s1(a));c.N(h.hc.WD,a=>this.t1(a));c.N(h.hc.KH,a=>this.Ga(a));c.N(h.hc.Du,a=>this.Ga(a));this.G.append(c);return c}Vva(){if(e.i.B.F.pk){if(this.ka&&
this.ka.type==h.sheet.SA.YM.jr)return this.ka;null!=this.ka&&this.ka.fg(!0);return this.Fsa()}if(e.i.B.F.dc){if(this.ka&&this.ka.type==h.sheet.flat.IH.jr)return this.ka;null!=this.ka&&this.ka.fg(!0);return this.Msa()}if(this.ka&&this.ka.type==h.sheet.ZM.jr)return this.ka;null!=this.ka&&this.ka.fg(!0);return this.Isa()}jb(){if(!(1>e.i.ua.mc.Yh())&&(this.Ie=this.Vva(),null!=this.ka)){this.Ie.slice=e.v.Sa.V().za;this.ka.vfa=this.Kb.Ja.QG?100:1E3;if(this.I&&this.I.Th){this.ka.clearData();this.Sw=this.Ho=
this.dj=0;var c=this.I.Ym,a=e.i.B.F.pk?0<this.I.Ab.length?1:0:this.I.Dl;if(a>=c+1){var b=0;var d=b+a;var g=b+(a-c)-1}else g=0,b=0<this.I.sk?g+(c-a)+1:g,0==this.I.Fb.length&&0==this.I.Ab.length&&(b+=1),d=b+a;var l=g;this.dj=Math.min(b,l);this.Sw=l;this.Ho=0;this.Te=d;this.Tf=this.wi?0:e.i.B.F.pk?this.I.kc.hb&&this.I.xl?this.I.Lk.length+1:this.I.Lk.length:0==this.I.rows.length?0:1;e.i.B.F.ts||(this.Sw=1==a&&0==this.I.sk?0:-1,this.Te=c);this.wi&&(this.ka.bK.zea=(m,n,p)=>this.YL(m,n,p),this.ka.bK.Wea(e.i.B.F.sB));
this.wi&&"on"==e.i.B.F.xg&&"top"==e.i.B.F.YF&&this.Te++;d=this.I.$m;this.wi&&"on"==e.i.B.F.xg&&"bottom"==e.i.B.F.YF&&(d+=1);l=this.I.an;0==l&&(l=this.I.Ka.length-(this.I.Xb.hb?1:0));this.ka.Tea(d,l);this.ka.Nua(this.Tf);this.ka.oaa(this.Te);if(this.ka instanceof h.sheet.ZM&&(this.ka.coords.dF=this.Te-this.I.Ym-1,this.ka.YP.rowIndex=this.ka.coords.dF,this.ka.YP.Qy(this.I.Fb),this.ka.tea.Qy(this.I.Ab),this.ka.Ada.Qy(this.I.lb),e.i.B.F.rp)){d=this.I.Ab.length;for(l=1;l<=d;l++)this.ka.coords.uw(this.ka.coords.Xd-
l,52);this.ka.coords.uw(this.ka.coords.dF,52)}this.ka instanceof h.sheet.SA.YM&&(this.ka.coords.dF=this.Te-this.I.Ym-1,this.ka.YP.rowIndex=this.ka.coords.dF,this.ka.YP.Qy(this.I.Fb),this.ka.tea.Qy(this.I.Ab),this.ka.Ada.Qy(this.I.lb));(1<this.I.Ka.length||!this.I.Xb.hb)&&e.i.B.F.ts&&this.v8(g,this.Tf,e.v.j.ga.Xa);(1<this.I.rows.length||!this.I.kc.hb)&&e.i.B.F.ts&&(e.i.B.F.pk?this.Sna(b):this.v8(b,0,e.v.j.ga.Ia));this.pEa();this.qEa();this.oEa();this.tEa();this.rEa();this.sEa()}else this.ka.sv();this.Wc=
e.i.va.Xp.Wc.Lc();this.ka.resize(k.Pb.SK,k.Pb.VB);this.ka.jb()}}$E(){e.w(this.ka)||(this.ka.ZE(0),this.ka.UA(0))}getData(c,a,b=!1){if(null==this.I||!this.I.Th||c<this.Sw||a<this.Ho)return null;var d=c-this.Te,g=a-this.Tf;if((d>this.I.$m-1||g>this.I.an-1)&&!(this.wi&&"on"==e.i.B.F.xg&&"bottom"==e.i.B.F.YF&&d==this.I.$m&&g<=this.I.an-1))return null;var l=this.I.gp(d,!0),m=this.I.wk(g,!0);if(null==l&&null==m)return null;var n=this.I.Zh(d,g),p;if(this.wi){var q=this.I.wk(g,!0,!0);q instanceof Array&&
(p=q[0][1])}if(this.wi&&"on"==e.i.B.F.xg&&"top"==e.i.B.F.YF&&(e.i.B.F.ts&&1==c||!e.i.B.F.ts&&0==c)||this.wi&&"on"==e.i.B.F.xg&&"bottom"==e.i.B.F.YF&&(e.i.B.F.ts&&c==this.I.$m+1||!e.i.B.F.ts&&c==this.I.$m))return this.gwa(l,m,n);if(null==l)return b=1==(e.i.B.F.pk?1:this.I.Ab.length)&&0==this.I.sk?c-this.Sw:c-this.Sw-1,0==this.I.Ab.length&&0==this.I.Fb.length&&(b=c-this.Sw),this.Mva(m,n,this.I.$Q(g),b,a,p);g=this.I.pR(d);d=this.I.uR(d);return null==m?e.i.B.F.pk?this.roa(l,n,g,a,d):this.Qwa(l,n,g):this.JF(l,
m,n,c,a,b,g,d,p)}JF(c,a,b,d,g,l=!1,m=NaN,n=-1,p){if(e.w(b)){var q=new h.X.$d;q.Fh=!0;q.Yf=a;q.Jg=c;q.Gq=this.I.Dl>c.length;q.lC=this.I.sk>a.length;q.cG=0==a.length;q.Vt=0==c.length;return q}var t=b.$f().clone();b.fa==e.v.j.ca.ni?t.gd="":e.v.j.ca.Lf(b.fa)?t.Lf=!0:e.v.j.ca.Yd(b.fa)&&(t.Yd=!0,t.gd="%");q=new h.X.$d;q.Fh=!0;q.Yf=a;q.measure=b;q.hierarchy=this.Kb.ja.O.Gk(b.A);q.Jg=c;e.i.B.F.pk?0==c.length?q.level=0:(m=this.ZZ(c),-1<m&&(q.level=m)):e.i.B.F.dc||(q.level=m);p=this.I.Ha(c,a,b,p);q.value=p;
this.wi?(t=b.type!=e.v.j.Na.oc?b.$f().clone():b.$f(!0).clone(),b.type==e.v.j.Na.oc?(m=this.I.HF(a).ya(p),null!=m&&(q.Mb=m,q.label=m.caption)):b.type==e.v.j.Na.kb?"string"===typeof p?q.label=p:(q.label=w.Ub.format(p,t),q.numeric=!0):b.type==e.v.j.Na.Pa?null===p?q.label=e.i.C.u.EU:(m=this.Kb.ja.ha.mapping.Ha(b.A,"format",e.i.B.F.Pn),q.label=e.P.Yy(p,m)):b.type==e.v.j.Na.bc?isNaN(p)||(m=this.Kb.ja.ha.mapping.Ha(b.A,"format",e.i.B.F.Pp),q.label=e.P.Zy(p,m)):b.type!=e.v.j.Na.Cc||isNaN(p)||(m=this.Kb.ja.ha.mapping.Ha(b.A,
"format",e.i.B.F.Wo),q.label=e.P.cU(p,m))):(m=(this.Kb.Ja.ha.Fa==e.v.j.sa.Nc||this.Kb.Ja.ha.Fa==e.v.j.sa.ae)&&e.i.B.F.Qp&&b.fa==e.v.j.ca.NONE,m||b.type!=e.v.j.Na.kb&&b.type!=e.v.j.Na.oc)?m||b.type!=e.v.j.Na.Pa?m||b.type!=e.v.j.Na.bc?m||b.type!=e.v.j.Na.Cc?q.label=m?this.I.fp(c,a,b):e.v.RV.V().Ha(p):isNaN(q.value)||(e.v.j.ca.n3(b.fa)?(m=this.Kb.ja.ha.mapping.Ha(b.A,"format",e.i.B.F.Wo),q.label=e.P.cU(p,m)):q.label=w.Ub.format(p,t)):isNaN(p)||(e.v.j.ca.xs(b.fa)?(m=this.Kb.ja.ha.mapping.Ha(b.A,"format",
e.i.B.F.Pp),q.label=e.P.Zy(p,m)):q.label=w.Ub.format(p,t)):isNaN(p)||(e.v.j.ca.n3(b.fa)?(m=this.Kb.ja.ha.mapping.Ha(b.A,"format",e.i.B.F.Pn),q.label=e.P.Yy(q.value,m)):q.label=w.Ub.format(p,t)):"string"===typeof p?q.label=p:(q.label=w.Ub.format(p,t),q.numeric=!0);q.RL=this.I.Mt(c,a);m=!1;var x=this.I.Eh(c,void 0,b);if(this.I.Dl>c.length||x||this.I.sk>a.length){m=!0;q.Gq=this.I.Dl>c.length||x;q.lC=this.I.sk>a.length;if("on"!=e.i.B.F.bf&&!e.i.B.F.pk){var z=this.I.wy;if(0!=c.length&&(this.I.ci(c)||this.I.ci(c,
b)||x)&&("off"==e.i.B.F.bf||"columns"==e.i.B.F.bf)||0!=a.length&&(this.I.zk(a)||this.I.zk(a,b))&&("off"==e.i.B.F.bf||"rows"==e.i.B.F.bf))return null;if(0==z&&1<this.I.Ea.length)if(this.I.kc.hb&&("off"==e.i.B.F.bf||"columns"==e.i.B.F.bf)){if(d<("on"==e.i.B.F.xg||"columns"==e.i.B.F.xg?this.Te+this.I.$m-this.I.Ea.length:this.Te+this.I.$m)&&this.I.ci(c,b))return null}else if(this.I.Xb.hb&&("off"==e.i.B.F.bf||"rows"==e.i.B.F.bf)&&g<("on"==e.i.B.F.xg||"rows"==e.i.B.F.xg?this.Tf+this.I.an-this.I.Ea.length:
this.Tf+this.I.an)&&this.I.zk(a,b))return null}q.Vt=0==c.length;q.cG=0==a.length;q.UR=q.Gq&&2==n&&!q.Vt}q.measure&&(q.measure.my||q.measure.ly)&&!isNaN(q.value)&&(q.label="",q.my=q.measure.my,q.ly=q.measure.ly);if(l)return q;""!=t.textAlign&&q.Gx({"text-align":t.textAlign});if(0<this.Wc.length&&q.measure)for(l=0;l<this.Wc.length;l++)(n=this.Wc[l],n.nu!=d&&-1!=n.nu||n.wt!=g&&-1!=n.wt||!(n.measure==b.A||""==n.measure&&q.numeric||n.measure=="[Measures].["+b.A+"]")||n.nm!==m&&void 0!==n.nm||""!=n.hierarchy&&
!this.Rqa(c,a,n.hierarchy,n.Mb))||((t=n.Oe.slice(0),n.W_)?this.Kb.Ja.QG&&(x=this.I.TB(c,a,b))&&(-1<n.je.toLowerCase().indexOf(e.v.j.lc.uO)?p=x.Zo:-1<n.je.toLowerCase().indexOf(e.v.j.lc.vO)&&(p=100*x.hs),t=this.I.sx(c,a,t,p),null!=t&&q.T9(t)):(t=this.I.sx(c,a,t,p),e.w(n.format)||!0!==t&&"truestyle"!==t||(q.Gx(n.format.Nfa()),q.Wc.push(n.id)),q.CFa=!0));return q}gwa(c,a,b){if(e.w(b))return null;var d=new h.X.$d;d.Fh=!0;d.Yf=a;d.measure=b;d.hierarchy=this.Kb.ja.O.Gk(b.A);d.Jg=c;if(b.type==e.v.j.Na.kb||
b.type==e.v.j.Na.bc||b.type==e.v.j.Na.Cc){var g=b.$f().clone();if(b.fa==e.v.j.ca.ni)g.gd="";else if(e.v.j.ca.Lf(b.fa))g.Lf=!0;else if(e.v.j.ca.Yd(b.fa)||b.Ra&&-1<b.je.indexOf("percent"))g.Yd=!0,g.gd="%";d.value=this.I.Ha(null,null,b);b.type==e.v.j.Na.kb?(d.label=w.Ub.format(d.value,g),d.numeric=!0):b.type==e.v.j.Na.bc?isNaN(d.value)||(d.label=e.v.j.ca.xs(b.fa)?e.P.Zy(d.value,e.i.B.F.Pp):w.Ub.format(d.value,g)):b.type!=e.v.j.Na.Cc||isNaN(d.value)||(d.label=e.v.j.ca.n3(b.fa)?e.P.cU(d.value,e.i.B.F.Wo):
w.Ub.format(d.value,g));d.Vt=!0;d.Gq=!0;""!=g.textAlign&&d.Gx({"text-align":g.textAlign});if(0<this.Wc.length)for(g=0;g<this.Wc.length;g++){var l=this.Wc[g],m=l.Oe.slice(0);if(l.measure==b.A&&l.W_&&this.Kb.Ja.QG){var n=this.I.TB(c,a,b);if(n){var p;-1<l.je.toLowerCase().indexOf(e.v.j.lc.uO)?p=n.Zo:-1<l.je.toLowerCase().indexOf(e.v.j.lc.vO)&&(p=100*n.hs);l=this.I.sx(c,a,m,p);null!=l&&d.T9(l)}}}}return d}Rqa(c,a,b,d){var g=this.I.Ka.indexOf(b);if(-1<g){if(g<a.length)return c=this.I.Ka.getItem(b),a[g]&&
c.ya(a[g]).xF(d)}else if(a=this.I.rows.indexOf(b),-1<a&&a<c.length)return b=this.I.rows.getItem(b),c[a]&&b.ya(c[a]).xF(d);return!1}Mva(c,a,b,d,g,l){return this.wi?this.qoa(c,a,l):this.poa(c,a,b,d,g)}poa(c,a,b,d,g){if(0==c.length){if(this.I.kc.hb&&d==this.I.Ym-1)return this.OF(a,e.v.j.ga.Xa);c=this.I.an-this.I.Ea.length+1;if(this.I.Xb.hb&&d==this.I.Ym-1&&g>=c&&1==this.I.Ea.length)return this.OF(a,e.v.j.ga.Xa);c="on"==e.i.B.F.xg||"rows"==e.i.B.F.xg?this.Tf+this.I.an-this.I.Ea.length:this.Tf+this.I.an;
return this.I.Xb.hb&&0==d&&g>=c&&1<this.I.Ym?g==c?(g=this.LB(),g.label=e.i.C.u.Ija,g):this.xK():this.I.Xb.hb&&0==d&&1<this.I.Ym?this.OF(a,e.v.j.ga.Xa):this.I.Xb.hb&&d==this.I.Ym-1?g>=c||1==this.I.Xb.Va.length?this.OF(a,e.v.j.ga.Xa):this.LB():this.I.Xb.hb&&0<d&&g<=c?this.LB():0<=d?this.xK():null}var l=this.I.Xb.hb&&(c.length>this.I.le||0==this.I.le)?c.length:c.length-1,m=this.I.Ka.ea(l),n,p=this.I.L_(g-this.Tf);void 0!==p&&-1<d&&(l=n=d,this.I.Xb.hb&&l>=this.I.le&&1<this.I.Ea.length&&(n--,l++),n<p[0]&&
(p=void 0));this.I.Xb.hb&&l>this.I.le&&(1==this.I.Ea.length?l--:b++);if(b>d&&void 0===p||0>d)return 0<=d?this.xK():null;g=new h.X.$d;g.oh=!0;g.measure=this.I.Xb.hb&&(1<this.I.Ea.length||e.i.B.F.HG)?a:void 0;var q=!1,t=this.I.wy;if(void 0!==p)if(e.w(c[n]))if(d==t-1)g.label=void 0!==a?a.caption:e.i.C.u.fV,g.dS=!0;else return this.xK();else{var x=c[n];m=this.I.Fb.ea(n)}else x=c[c.length-1];x=m.ya(x);g.RL=this.I.Mt([],c);if(this.I.Xb.hb&&1<this.I.Ea.length&&d==t-1||this.I.Xb.hb&&e.i.B.F.HG&&d==t-1&&1!=
t||this.I.Xb.hb&&e.i.B.F.HG&&d==t&&1==t&&2>this.I.Ea.length)g.label=a.label,g.dS=!0,x=null;else{if(this.I.Xb.hb&&0<a.index&&d<t)return this.xK();b<d?l==d?(q=c.length-1!=this.I.sk-1&&!x.Rb,g.label=x.caption):(g.label=this.I.Ym-1==d&&e.i.B.F.HG?void 0!==a?a.caption:e.i.C.u.fV:"",x=null):(q=c.length-1!=this.I.sk-1&&!x.Rb,g.label=x.caption,this.I.Xb.hb&&d<t&&1<this.I.Ea.length&&(g.measure=a=void 0));void 0!==p&&(p[p.length-1]>=n&&(q=!0),e.w(c[n])&&(q=!1))}d=null==x?!1:this.I.yk(c,x,a);!x||1===x.children.length&&
(x.hierarchy.ya(x.children[0]).caption===e.i.C.u.Bj||x.hierarchy.ya(x.children[0]).caption===e.i.C.u.Bm)||x.Rb||x.ai||!x.hierarchy.Nf||x.level.Xt||(q||e.i.B.F.iM?d?g.Sg=!0:g.yh=!0:d?g.ng=!0:g.collapsed=!0);q&&!d&&(this.I.zk(c,a)||void 0!==p&&-1<p.indexOf(n)?g.ng=!0:g.collapsed=!0);if("on"==e.i.B.F.Lp||"columns"==e.i.B.F.Lp){g.lo=!0;if(e.ia(g.label)||e.w(a))g.lo=!1;"off"!=e.i.B.F.bf&&"rows"!=e.i.B.F.bf||!g.ng||(g.lo=!1);g.lo&&this.I.hl&&this.I.hl.toString()==c.toString()&&this.I.wq==a&&(this.I.vh==
e.v.j.Ba.Ec?g.oo=!0:this.I.vh==e.v.j.Ba.gc&&(g.mo=!0))}g.lC=this.I.sk>c.length;g.zf=void 0!==p?c.slice(0,n+1):c;g.hierarchy=m;g.Mb=x;return g}qoa(c,a,b){const d=this.I.HF(c);if(void 0===d){if(e.w(a))return null;c=new h.X.$d;c.oh=!0;c.label=a.caption;c.measure=a;this.Q8(c,a);return c}let g;void 0!==b&&(g=d.ta.ea(b));b=new h.X.$d;b.oh=!0;b.Bk=!0;b.KR=d.JQ;b.fb=d.filter.Xg;b.label=void 0===g?d.label:d.label+"."+g.caption;b.zf=c;b.hierarchy=d;b.Mb=null;b.measure=a;b.draggable=!0;this.Q8(b,a);return b}Q8(c,
a){if("on"===e.i.B.F.Lp||"columns"===e.i.B.F.Lp){c.lo=!0;const b=this.I.cR(a.A);!e.w(b)&&b.measure&&b.measure.A==a.A&&(b.sort==e.v.j.Ba.Ec?c.oo=!0:b.sort==e.v.j.Ba.gc&&(c.mo=!0),1<this.I.Pg.length&&(c.R2=this.I.Pg.indexOf(b)))}}LB(){var c=new h.X.$d;c.oh=!0;return c}xK(){var c=this.LB();c.ib=!0;return c}OF(c,a){var b=new h.X.$d;b.label=void 0===c?e.i.C.u.eV:c.hp;b.dS=void 0!==c;void 0!==c&&c.r_&&(b.label=c.label);if(a==e.v.j.ga.Xa){b.oh=!0;b.lC=b.cG=!0;if("on"===e.i.B.F.Lp||"columns"===e.i.B.F.Lp)b.lo=
!0,!this.I.hl||""!==this.I.hl.toString()||void 0!==c&&this.I.wq!==c||(this.I.vh===e.v.j.Ba.Ec?b.oo=!0:this.I.vh===e.v.j.Ba.gc&&(b.mo=!0));this.I.Xb.hb?b.measure=c:b.label=e.i.C.u.eV}else{b.di=!0;b.Gq=b.Vt=!0;if("on"===e.i.B.F.Lp||"rows"===e.i.B.F.Lp)b.lo=!0,!this.I.Vi||""!==this.I.Vi.toString()||void 0!==c&&this.I.io!==c||(this.I.sj===e.v.j.Ba.Ec?b.oo=!0:this.I.sj===e.v.j.Ba.gc&&(b.mo=!0));this.I.kc.hb?b.measure=c:b.label=e.i.C.u.eV;b.level=0}b.zf=[];return b}Qwa(c,a,b){if(0==c.length)return this.OF(a,
e.v.j.ga.Ia);var d=this.I.kc.hb&&c.length>this.I.le?c.length:c.length-1,g=c[c.length-1],l=this.I.rows.ea(d),m=new h.X.$d;m.di=!0;var n=!1;g=l.ya(g);m.level=b;void 0!==a&&this.I.kc.hb&&this.I.xl&&d<=this.I.le?(m.label=a.label,g=null):g&&(n=this.$A(g),m.LR=""!=n,m.label=g.caption+n,n=c.length!=this.I.Dl&&!g.Rb&&!g.rg);b=null==g?!1:this.I.Eh(c,g,a);g&&!g.Rb&&g.hierarchy.Nf&&!g.ai&&(1!=g.children.length||g.hierarchy.ya(g.children[0]).caption!=e.i.C.u.Bj&&g.hierarchy.ya(g.children[0]).caption!=e.i.C.u.Bm)&&
(e.i.B.F.iM?b?m.Sg=!0:m.yh=!0:b?m.ng=!0:m.collapsed=!0);n&&!b&&(this.I.ci(c,a)?m.ng=!0:m.collapsed=!0);if("on"==e.i.B.F.Lp||"rows"==e.i.B.F.Lp)if(!(this.I.kc.hb&&1<this.I.Ea.length&&this.I.le>=c.length)||a&&m.label==a.caption)m.lo=!0,this.I.Vi&&this.I.Vi.toString()==c.toString()&&this.I.io==a&&(this.I.sj==e.v.j.Ba.Ec?m.oo=!0:this.I.sj==e.v.j.Ba.gc&&(m.mo=!0));m.Gq=this.I.Dl>c.length;m.zf=c;m.hierarchy=l;m.Mb=g;m.measure=this.I.kc.hb&&1<this.I.Ea.length?a:void 0;return m}roa(c,a,b,d,g){if(0===c.length){if(0===
d)return this.OF(a,e.v.j.ga.Ia);var l=new h.X.$d;l.di=!0;l.Gq=l.Vt=!0;l.ib=!0;l.level=b;return l}var m=d;l=this.I.Lk[d];for(var n,p,q=0;q<this.I.Ab.length;q++){var t=this.I.Ab.ea(q);n=t.It(l);if(null!=n){var x=t;m=q;break}}q=null==c[m]?0:c[m];l=new h.X.$d;l.di=!0;l.Gq=this.I.Dl>c.length;l.UR=l.Gq&&2==g;n=!1;b>d&&(n=!0);b>d&&2==g&&(n=!0);b+1<d&&2==g&&(n=!0);l.level=Math.min(c.length-1,d);var z=c.slice(0);t=!1;if(d==this.I.Lk.length)l.label=a.label,t=!0;else{var A=!1;z=void 0===a?0:a.index;var B=x.ya(q);
p=this.I.Lk.indexOf(B.level.A)-d;var D=null!=B&&(B.rg||2!=g);if(0>p)if(B.Rb)t=!0;else return l;else if(0<p)for(q=0;q<p;q++)B=B.parent;B&&(q=this.I.Lk.indexOf(B.level.A),-1<q&&(l.level=q));l.Mb=B;if(2==g)B&&b==d&&(l.label=this.I.kc.hb&&1<this.I.Ea.length?B.caption+" "+a.label:B.caption+" "+e.i.C.u.fV,t=!0);else{if(0>p)return e.ia(l.label)&&(l.ib=!0),q=this.ZZ(c),-1<q&&(l.level=q),l;0<z&&(B=null);B&&0!=B.ordinal&&(q=this.$A(B),l.LR=""!=q,l.label=B.caption+q);A=1==g&&m<this.I.Ab.length-1&&0>=z&&!B.rg}l.RL=
this.I.Mt(c,[]);z=c.slice(0,m+1);if(D&&B){z[m]=B.ordinal;var I=this.I.Eh(z,B,a);B.Rb||!B.hierarchy.Nf||B.ai||2==g&&(!B.rg||I)||1==B.children.length&&(B.hierarchy.ya(B.children[0]).caption==e.i.C.u.Bj||B.hierarchy.ya(B.children[0]).caption==e.i.C.u.Bm)||(e.i.B.F.iM?I?l.Sg=!0:l.yh=!0:I?l.ng=!0:l.collapsed=!0)}A&&!I&&(this.I.ci(z,a)?l.ng=!0:l.collapsed=!0)}if(n)l.label="",l.mo=l.oo=l.collapsed=l.ng=l.Sg=l.yh=!1;else if(l.zf=z,l.hierarchy=x,l.measure=this.I.kc.hb&&1<this.I.Ea.length?a:void 0,"on"==e.i.B.F.Lp||
"rows"==e.i.B.F.Lp)l.lo=!0,!this.I.Vi||this.I.Vi.toString()!=z.toString()||this.I.io!=a||l.ng||l.Sg||this.I.kc.hb&&1<this.I.Ea.length&&(!(this.I.kc.hb&&1<this.I.Ea.length)||null!=l.Mb&&!l.UR)||(this.I.sj==e.v.j.Ba.Ec?l.oo=!0:this.I.sj==e.v.j.Ba.gc&&(l.mo=!0));t&&(q=this.ZZ(c),-1<q&&(l.level=q));e.ia(l.label)&&(l.ib=!0,l.aya=2==g&&B&&d-1>b?!1:!0);return l}ZZ(c){return(c=this.I.qR(c).ya(c[c.length-1]))?this.I.Lk.indexOf(c.level.A):-1}$A(c){if(this.Kb.Ja.ha.Fa!==e.v.j.sa.Nc&&this.Kb.Ja.ha.Fa!==e.v.j.sa.ae||
!e.i.B.F.IG)return"";var a=this.Kb.ja.za.nj[c.level.A];if(void 0===a||0===a.length)return"";for(var b=[],d=0;d<a.length;d++){var g=c.level.De.getItem(a[d]),l=c.Nwa(a[d]);e.ia(l)||null==g||b.push('<br/><span class="fm-member-property-label">'+g.caption+':</span> <span class="fm-member-property-value">'+l+"</span>")}return 0<b.length?b.join("")+"<br/>":""}tC(c){e.w(c.cell)||e.i.B.F.readOnly||!c.cell.oh&&!c.cell.di||(c.cell.EA==h.X.Yp.F4?this.Kx(c.cell):c.cell.EA==h.X.Yp.DN&&c.cell.nya||(e.w(c.cell.Mb)||
c.cell.EA==h.X.Yp.lI?c.cell.EA==h.X.Yp.lI&&(c.cell.oh&&this.kM(c.cell,null,!w.Di.eo&&c.Lq.ctrlKey||w.Di.eo&&c.Lq.metaKey),c.cell.di&&this.P2(c.cell)):e.i.B.F.iM||c.cell.Mb.ai?this.Et(c.cell):this.Kx(c.cell)))}xp(c){e.i.B.F.ww&&c.hierarchy.jL&&this.Ga(new k.tN(c.hierarchy))}Kx(c){if(c.yh||c.Sg||c.ng||c.collapsed){var a=c.zf,b=e.i.B.F.pk?void 0:c.measure,d=c.Mb;if(null!=d&&!d.Rb&&!d.ai){if(c.di){c=e.v.j.ga.Ia;var g=this.I.Eh(a,d,b)}else c=e.v.j.ga.Xa,g=this.I.yk(a,d,b);g?this.I.Bq(a,d,c,b):this.I.If(a,
d,c,b)}}}Et(c){if(!e.w(this.ka)&&(c.ng||c.collapsed)){var a=c.zf,b=c.oh?e.v.j.ga.Xa:e.v.j.ga.Ia,d=e.i.B.F.pk&&b==e.v.j.ga.Ia?void 0:c.measure;c.ng?(this.ka.clearData(),this.I.collapse(a,b,d)):c.collapsed&&(this.ka.clearData(),this.I.expand(a,b,d));c.oh?this.ka.ZE(c.fc+1):this.ka.UA(c.mb+1)}}P0(c){c.ica?this.EFa(c.cell):(e.i.B.F.Uc&&!e.i.B.F.dc&&this.Kb.ja.ha&&this.Kb.ja.ha.YR&&this.Uc(c.cell),this.Bta(c.cell))}Uc(c){c.Fh&&void 0!==c.measure&&(c=new k.J4({A:c.measure.A,fa:c.measure.fa},c.Yf,c.Jg,c.Qa()),
this.Ga(c))}EFa(c){var a=c.Qa();this.BT(a,c.fc,c.mb);e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.Y3,a))}Bta(c){var a=c.Qa();this.BT(a,c.fc,c.mb);e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.UM,a))}BT(c,a,b){c.x=this.ka.coords.ul(a,this.ka.$b);c.y=this.ka.coords.bo(b,this.ka.$b);c.width=this.ka.coords.Vg(a);c.height=this.ka.coords.Md(b)}P2(c,a=""){var b=c.zf;c=c.measure;void 0===c&&(c=this.I.Ea[0]);this.I.Vi&&this.I.Vi.toString()==b.toString()&&this.I.io==c?this.I.sj=this.I.sj==e.v.j.Ba.Ec?e.v.j.Ba.gc:e.v.j.Ba.Ec:(this.I.sj=
e.v.j.Ba.Ec,this.I.Vi=b,this.I.io=c);""!=a&&(this.I.sj=a);this.I.sort();this.ka.ZE(0);this.jb()}kM(c,a="",b=!1){e.i.B.F.dc?(a=this.I.cR(c.measure.A),e.w(a)?(c={measure:c.measure,sort:e.v.j.Ba.oR("",c.measure.type!=e.v.j.Na.oc,!0)},!e.w(this.I.Pg)&&b?this.I.Pg.push(c):this.I.Pg=[c]):(a.sort=e.v.j.Ba.oR(a.sort,c.measure.type!=e.v.j.Na.oc,!0),a.sort==e.v.j.Ba.Yc?this.I.Pg.splice(this.I.Pg.indexOf(a),1):b||(this.I.Pg=[a]))):(this.I.hl=c.zf,this.I.wq=e.w(c.measure)?this.I.Ea[0]:c.measure,this.I.vh=e.ia(a)?
e.v.j.Ba.oR(this.I.vh):a);this.I.sort();this.ka.UA(0);this.jb()}hra(){this.I.vh=e.v.j.Ba.Yc;this.I.hl=null;this.I.wq=void 0;this.I.kc.aF();this.I.sort();this.ka.UA(0);this.jb()}mra(){this.I.sj=e.v.j.Ba.Yc;this.I.Vi=null;this.I.io=void 0;this.I.Xb.aF();this.I.sort();this.ka.ZE(0);this.jb()}pfa(c,a){var b=this.Kb.ja.za.nj;b||(b={});b[c.levelName]||(b[c.levelName]=[]);var d=b[c.levelName].indexOf(c.propertyName);a?-1==d&&(b[c.levelName].push(c.propertyName),this.Kb.ja.za.nj=b):-1<d&&b[c.levelName].splice(d,
1);this.ka.clearData();this.ka.UA(0);this.jb()}YL(c,a,b){c=this.getData(c,a);c.label!=b&&c.value!=b&&(this.I.save(c.Jg,c.Yf,c.hierarchy,b),this.wi&&this.jb())}v8(c,a,b){for(var d=b==e.v.j.ga.Xa?this.I.Fb:this.I.Ab,g,l=0,m=0;m<d.length;m++){var n=d.ea(m);n.cg||(g=new h.X.$d,g.label=n.label,g.Bk=!0,g.draggable=!0,g.KR=!0,g.fb=n.filter.Xg,g.level=l,g.hierarchy=n,b==e.v.j.ga.Xa?(g.isFrozen=!this.wi,this.ka.I.DT(c,a+m,g)):(g.di=!0,this.ka.I.DT(c+l,a,g),l++))}}Sna(c){for(var a=this.I.Ab,b,d=0,g=this.I.kc.hb&&
1<this.I.Ea.length?this.Tf-1:this.Tf,l=0;l<a.length;l++){var m=a.ea(l);b=new h.X.$d;b.label=m.label;b.Bk=!0;b.draggable=!0;b.KR=!0;b.fb=m.filter.Xg;b.hierarchy=m;this.ka.I.DT(c,0+d,b);d++;if(2<m.ta.length)for(var n=null==m.ec?2:m.ec.xb+1;n<m.ta.length;n++){var p=m.ta.ea(n);-1!=this.I.Lk.indexOf(p.A)&&(b=new h.X.$d,b.label=p.caption,b.di=!0,b.KR=!0,this.ka.I.DT(c,0+d,b),d++);if(d>=g)break}if(d>=g)break}}get wi(){return e.i.B.F.dc}get ka(){return this.Ie}Nj(c,a,b=null,d=null){c==e.i.tc.Ci.yz&&e.i.tc.V4.Of(this,
a,d);c==e.i.tc.Ci.Gu&&e.i.tc.U4.Of(this,a,this.ka.coords.kl,this.ka.coords.Uo,d);c==e.i.tc.Ci.qh&&e.i.tc.T4.Of(this,a,this.ka.coords.kl,this.ka.coords.Uo,b);c==e.i.tc.Ci.JSON&&e.i.tc.W4.Of(this,a,this.ka.coords.kl,this.ka.coords.Uo,b);c==e.i.tc.Ci.Hz&&e.i.tc.Ge.Of(this,a,this.ka.coords.kl,this.ka.coords.Uo,d);c==e.i.tc.Ci.ED&&(a.az=a.az&&(this.Kb.Ja.ha.Fa==e.v.j.sa.Nc||this.Kb.Ja.ha.Fa==e.v.j.sa.ae)&&e.i.B.F.Qp,e.i.tc.Y4.Of(this,a,this.ka.coords.kl,this.ka.coords.Uo))}print(c=""){e.i.ls.SD.V().Of(this,
c)}Kf(c,a){var b=null;this.ka&&(b=this.ka.Kf(c,a,!0));if(null==b){b=new h.X.$d;b.mb=c;b.fc=a;var d=this.getData(c,a,!0);b.value=d?d.value:NaN;isNaN(b.value)||(b.label=w.Ub.format(b.value))}-1==b.mb&&(b.mb=c);-1==b.fc&&(b.fc=a);c=b.Qa();this.BT(c,b.fc,b.mb);return c}UF(){if(e.w(this.ka))return null;var c=this.ka.Qq.map(a=>a.Qa());if(0==c.length)return null;if(1<c.length)return c;c=c[0];this.BT(c,c.columnIndex,c.rowIndex);return c}Sy(c,a){e.w(this.ka)||this.ka.select(c,a,c,a)}My(){e.w(this.ka)||this.ka.Lr()}get RK(){return this.I.Th?
this.I.$m+this.Te:0}get QK(){return this.I.Th?this.I.an+this.Tf:0}s1(c){this.V7(c.data.fc,c.data.width)}t1(c){this.W7(c.data.mb,c.data.height)}V7(c,a){if(c<this.Tf)0<a?e.i.size.jd.mg[c]=a:delete e.i.size.jd.mg[c];else{var b=this.I.wk(c-this.Tf,!0);null!=b&&(c=this.I.bR(c-this.Tf),this.I.Xb.hb&&b.push(c),0<a?e.i.size.jd.jf[b.join(",")]=a:delete e.i.size.jd.jf[b.join(",")])}}pEa(){var c=e.i.size.jd.tk;e.i.size.jd.tk={};var a=[],b;for(b in c)isNaN(c[b])||(a[parseInt(b)]=c[b]);for(var d in a)this.ka.c2(parseInt(d),
a[d]),this.V7(parseInt(d),a[d])}qEa(){var c=e.i.size.jd.mg,a=[],b;for(b in c)isNaN(c[b])||(a[b]=c[b]);for(var d in a)c=parseInt(d),c<this.Tf&&this.ka.c2(c,a[c])}oEa(){var c=e.i.size.jd.jf,a=[],b;for(b in c)if(!isNaN(c[b])){var d=this.I.FB(""==b?[]:b.split(","));-1!=d&&(d+=this.Tf,a[d]=c[b])}for(var g in a)this.ka.c2(parseInt(g),a[g])}tEa(){var c=e.i.size.jd.rj;e.i.size.jd.rj={};var a=[],b;for(b in c)isNaN(c[b])||(a[parseInt(b)]=c[b]);for(var d in a)this.ka.e2(parseInt(d),a[d]),this.W7(parseInt(d),
a[d])}rEa(){e.i.size.jd.cD=this.dj;var c=e.i.size.jd.wg,a=[],b;for(b in c)isNaN(c[b])||(a[parseInt(b)+this.dj]=c[b]);for(var d in a)parseInt(d)<this.Te&&this.ka.e2(parseInt(d),a[d])}sEa(){var c=e.i.size.jd.vf,a=[],b;for(b in c)if(!isNaN(c[b])){var d=this.I.QB(""==b?[]:b.split(","));-1!=d&&(d+=this.Te,a[d]=c[b])}for(var g in a)this.ka.e2(parseInt(g),a[g])}W7(c,a){e.i.size.jd.cD=this.dj;if(c<this.dj)0<a?e.i.size.jd.Ig[c]=a:delete e.i.size.jd.Ig[c];else if(c<this.Te)0<a?e.i.size.jd.wg[c-this.dj]=a:delete e.i.size.jd.wg[c-
this.dj];else{var b=this.I.gp(c-this.Te,!0);null!=b&&(c=this.I.tR(c-this.Te),this.I.kc.hb&&b.push(c),0<a?e.i.size.jd.vf[b.join(",")]=a:delete e.i.size.jd.vf[b.join(",")])}}iBa(){this.ka&&(this.ka.EG(0),this.ka.aM(0),this.ka.Lr())}}h.Jja=f})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{}f.Fm="mclick";f.XH="singledoubleclick";f.H4="dthclosed";f.Cu="filter_click";f.QH="live_filter_change";f.VD="resize_c";f.WD="resize_r";f.ima="request_data_doubleclick";f.E4="dragndrop_remove";f.D4="dragndrop_move";f.Du="filter_keyboard_select";f.KH="grid_keyboard_select";h.hc=f;class c extends r.da{constructor(l,m=null,n=null){super(f.Fm);this.cell=l;this.element=m;this.Lq=n}}h.w5=c;class a extends r.da{constructor(l,m,n=null){super(f.XH);this.cell=l;
this.ica=m;this.element=n}}h.y5=a;class b extends r.da{constructor(l,m,n=null){super(f.Cu);this.hierarchy=l;this.cell=m;this.element=n}}h.sN=b;class d extends r.da{constructor(l,m){super(f.Du);this.mb=l;this.fc=m}}h.$U=d;class g extends r.da{constructor(l,m){super(f.QH);this.pg=l;this.value=m}}h.kka=g})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{static Mc(c){return c==f.jz||c==f.xu||c==f.li?c:f.jz}}f.jz="compact";f.xu="classic";f.li="flat";h.He=f})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){class h extends v.Vd.Uw{constructor(){if(null!=h.oe)throw Error("Singleton");super(k.Pb.Gb.G);this.$("fm-alert-view");this.ve()}static V(){null==h.oe&&(h.oe=new h);return h.oe}static dispose(){h.oe=null}ve(){this.zC.$("fm-overlay-alert");this.zI=[];var f=new v.Oa("div","fm-content");this.W(f);this.yr=new v.Oc;this.yr.$("fm-popup-title");f.W(this.yr);this.et=new v.Oc;f.W(this.et);this.jx=new v.Oa("div","fm-ui-btns-row");f.W(this.jx);this.qE=new v.Oa("div","fm-alert-icon");
this.W(this.qE)}gs(f="",c="",a=e.Bb.Tk,b=null,d=null,g=!1){this.clear();this.dfa(c);this.GG(f);this.iFa(a);this.YEa(b,d);k.Pb.Gb.W(this);this.R_=g;this.open();this.qt()}clear(){this.dfa("");for(this.GG("");0<this.zI.length;)this.zI.pop().fg();this.G.eb("fm-alert",!1);this.G.eb("fm-confirmation",!1);this.G.eb("fm-error",!1);this.G.eb("fm-info",!1);this.G.eb("fm-question",!1)}dfa(f){this.yr.LT(!1);this.yr.$a(f)}GG(f){this.et.$a(f,!0)}YEa(f,c){null==f&&(f=[e.i.C.u.qU]);f.reverse();null!=c&&c.reverse();
this.yW=c;for(var a=0;a<f.length;a++)c=new v.kg,c.$a(f[a]),c.N(v.yd.Fe,b=>this.Bqa(b)),this.zI.push(c),this.isPrimary(f[a])&&c.$("fm-ui-btn-dark"),this.isPrimary(f[a])&&(w.Di.eo||w.Di.hC)?this.jx.W(c):this.isPrimary(f[a])?this.jx.G.prepend(c.G):this.jx.W(c)}isPrimary(f){switch(f){case e.i.C.u.qU:case e.i.C.u.N3:case e.i.C.u.qD:return!0}return!1}Bqa(f){f=f.target;for(var c=-1,a=0;a<this.zI.length;a++)if(this.zI[a]==f){c=a;break}if(!(0>c)&&(this.close(),null!=this.yW&&null!=this.yW[c]))this.yW[c]()}iFa(f){this.qE.G.pw();
f==e.Bb.Tk?this.qE.G.W(this.Psa()):f==e.Bb.xo?this.qE.G.W(this.Qsa()):f==e.Bb.Ca?this.qE.G.W(this.Rsa()):f==e.Bb.xN&&this.qE.G.W(this.Ssa())}Qsa(){var f=new v.Da("span","fm-circle");f.W(new v.Da("span","fm-ui-icon fm-icon-notif_confirm"));return f}Ssa(){var f=new v.Da("span","fm-circle");f.W(new v.Da("span","fm-ui-icon fm-icon-notif_info"));return f}Psa(){var f=new v.Da("span","fm-triangle-wrap");f.W(new v.Da("span","fm-triangle"));f.W(new v.Da("span","fm-ui-icon fm-icon-notif_warning"));return f}Rsa(){var f=
new v.Da("span","fm-hexagon");f.W(new v.Da("span","fm-ui-icon fm-icon-notif_arrow"));return f}close(){super.close();this.clear()}l1(){this.R_||super.l1()}}k.TM=h})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){class h extends v.Vd.Uw{constructor(){if(null!=h.oe)throw Error("Singleton");super(k.Pb.Gb.G);this.$("fm-prompt-view");this.ve()}static V(){null==h.oe&&(h.oe=new h);return h.oe}static dispose(){h.oe=null}ve(){this.zC.$("fm-overlay-alert");var f=new v.Oa("div","fm-content");this.W(f);this.et=new v.Oc;this.et.$("fm-message-label");f.W(this.et);this.bJ=new v.gk;this.bJ.$("fm-prompt-input");f.W(this.bJ);this.jx=new v.Oa("div","fm-ui-btns-row");f.W(this.jx);f=new v.kg("fm-ui-btn-dark");
f.$a(e.i.C.u.qU);f.N(v.yd.Fe,()=>this.uC());this.jx.W(f);f=new v.kg;f.$a(e.i.C.u.Ml);f.N(v.yd.Fe,()=>this.es());this.jx.W(f,w.Di.eo||w.Di.hC)}gs(f="",c=null){this.B=c;this.et.$a(f);this.bJ.Yi(c&&c.defaultValue?c.defaultValue:"");k.Pb.Gb.W(this);this.open();this.qt();this.bJ.G.element.focus()}uC(){this.B&&this.B.xda&&this.B.xda(this.bJ.Qi());this.close()}es(){this.B&&this.B.HS&&this.B.HS();this.close()}}k.ema=h})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(){this.value=NaN;this.label="";this.level=NaN;this.oo=this.mo=this.lo=this.Sg=this.yh=this.draggable=this.collapsed=this.ng=this.fb=this.LR=this.KR=this.CFa=this.nya=this.Fh=this.UR=this.cG=this.Vt=this.lC=this.Gq=this.dS=this.oh=this.di=this.isFrozen=this.Bk=this.Tt=this.numeric=!1;this.fc=this.mb=this.R2=-1;this.RL=null;this.Ak=this.aya=this.ib=!1;this.Wc=[];this.ly=this.my=!1;this.EA=f.Yp.I3}get BQ(){return this.LR?this.label:
e.P.ap(this.label,!0)}get nm(){return this.Gq||this.lC}get gC(){return this.Vt||this.cG}bwa(){return this.Sg||this.yh?this.hierarchy.ta.ea(this.Mb.level.xb+1).caption:""}J(a=!1){if(null!=c.Av){var b=new Ta;b.clear();b.tag="div";b.text+=this.BQ;c.Av(b.node,this.Qa());var d=b.text;d=e.i.Vb.valid(d)?d:e.i.Vb.Mc(d);this.Tt=d!=this.label?!0:this.Tt;b.clear();b=document.createElement("div");b.innerHTML=d;d=b.textContent&&"number"!=typeof d?b.textContent.trim():d;a&&!this.LR&&(d=e.P.ap(d,!0));return d}return a?
this.BQ:this.label}Gx(a){this.Tt=!0;null==this.style&&(this.style=new f.s4);this.style.bpa(a)}T9(a){this.Tt=!0;null==this.style&&(this.style=new f.s4);this.style.kv(a);this.style.gpa(a)}Qa(){if(this.dda)return this.dda;var a=e.i.Ua.V().ja.za,b=[];e.i.B.F.dc||e.w(a)||(b=a.qY(this.oh&&this.zf?this.zf:this.Yf));var d=[];e.i.B.F.dc||e.w(a)||(d=a.sY(this.di&&this.zf?this.zf:this.Jg));a={columnIndex:this.fc,columns:b,label:this.label,escapedLabel:this.BQ,measure:this.measure?this.measure.Rk():null,hierarchy:this.hierarchy?
this.hierarchy.Rk():null,member:this.Mb?this.Mb.Qa():null,rowIndex:this.mb,rows:d,type:this.oh||this.di||this.Bk?"header":"value",value:this.value,expanded:this.ng,collapsed:this.collapsed,drilledUp:this.yh,drilledDown:this.Sg,recordId:this.RL,isTotal:this.nm,isTotalRow:this.Gq,isTotalColumn:this.lC,isClassicTotalRow:this.UR,isGrandTotal:this.gC,isGrandTotalRow:this.Vt,isGrandTotalColumn:this.cG,isDrillThrough:this.Ak};isNaN(this.level)||(a.level=this.level);0<this.Wc.length&&(a.conditions=this.Wc);
return this.dda=a}}c.Av=null;f.$d=c})(h.X||(h.X={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));(function(e){(function(k){(function(h){(function(f){class c{constructor(){this.$T=[];this.eB=[];this.U={}}kv(a){-1==this.$T.indexOf(a)&&this.$T.push(a)}gpa(a){-1==this.eB.indexOf(a)&&this.eB.push(a)}bpa(a){for(var b in a)this.U[b]=a[b]}fR(){return this.eB.join(" ")}xR(){var a="",b;for(b in this.U)a+=b+":"+this.U[b]+";";return a}}f.s4=c})(h.X||(h.X={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(){}static jwa(b){return 500<b?c.Nga:c.yla}}c.yla="";c.Nga="Bold";f.Fja=c;class a{merge(b){this.color=this.color||b.color;this.backgroundColor=this.backgroundColor||b.backgroundColor;this.backgroundImage=this.backgroundImage||b.backgroundImage;this.borderColor=this.borderColor||b.borderColor;this.fontSize=this.fontSize||b.fontSize;this.fontWeight=this.fontWeight||b.fontWeight;this.textAlign=this.textAlign||b.textAlign;this.fontFamily=
this.fontFamily||b.fontFamily;this.width=this.width||b.width;this.maxWidth=this.maxWidth||b.maxWidth;this.minWidth=this.minWidth||b.minWidth;this.height=this.height||b.height;this.maxHeight=this.maxHeight||b.maxHeight;this.minHeight=this.minHeight||b.minHeight}clone(){var b=new a;b.color=this.color;b.backgroundColor=this.backgroundColor;b.backgroundImage=this.backgroundImage;b.borderColor=this.borderColor;b.fontSize=this.fontSize;b.fontWeight=this.fontWeight;b.textAlign=this.textAlign;b.fontFamily=
this.fontFamily;b.width=this.width;b.maxWidth=this.maxWidth;b.minWidth=this.minWidth;b.height=this.height;b.maxHeight=this.maxHeight;b.minHeight=this.minHeight;return b}static Wua(b,d=null){var g=new a;if(null==d||null!=d&&d.U("color")!=b.U("color"))g.color=b.U("color");if(null==d||null!=d&&d.U("background-color")!=b.U("background-color"))g.backgroundColor=b.U("background-color");if(null==d||null!=d&&d.U("background-image")!=b.U("background-image"))g.backgroundImage=b.U("background-image");if(null==
d||null!=d&&d.U("border-color")!=b.U("border-color"))g.borderColor=b.U("border-color");if(null==d||null!=d&&d.U("font-size")!=b.U("font-size"))g.fontSize=parseInt(b.U("font-size"));if(null==d||null!=d&&d.U("font-weight")!=b.U("font-weight"))g.fontWeight=b.U("font-weight");if(null==d||null!=d&&d.U("fill")!=b.U("fill"))g.fill=b.U("fill");if(null==d||null!=d&&d.U("text-align")!=b.U("text-align"))g.textAlign=b.U("text-align");if(null==d||null!=d&&d.U("font-family")!=b.U("font-family"))g.fontFamily=b.U("font-family");
if(null==d||null!=d&&d.U("width")!=b.U("width"))g.width=parseInt(b.U("width"));if(null==d||null!=d&&d.U("max-width")!=b.U("max-width"))g.maxWidth=parseInt(b.U("max-width"));if(null==d||null!=d&&d.U("min-width")!=b.U("min-width"))g.minWidth=parseInt(b.U("min-width"));if(null==d||null!=d&&d.U("height")!=b.U("height"))g.height=parseInt(b.U("height"));if(null==d||null!=d&&d.U("max-height")!=b.U("max-height"))g.maxHeight=parseInt(b.U("max-height"));if(null==d||null!=d&&d.U("min-height")!=b.U("min-height"))g.minHeight=
parseInt(b.U("min-height"));return g}static sl(b,d=null,g=!0){var l=new v.Da("div");l.$(b).cb();b=new v.Da("div");null==d?k.Pb.Gb.G.append(l).append(b):d.append(l).append(b);d=a.Wua(l,g?b:null);l.remove();b.remove();return d}static UQ(b){var d=new a,g;for(b=b.replace(/ /g,";");-1<(g=b.indexOf(";"));)this.rta(b.substring(0,g),d),b=b.substring(g+1);return d}static PR(b){b=b.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(d,g,l,m){return g+g+l+l+m+m});b=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(b);
return null==b?"":"rgb("+parseInt(b[1],16)+","+parseInt(b[2],16)+","+parseInt(b[3],16)+")"}static rta(b,d){-1<b.indexOf("background-color")?d.backgroundColor=this.PR(b.substring(17,b.length)):-1<b.indexOf("background-image")?d.backgroundImage=b.substring(17,b.length):-1<b.indexOf("border-color")?d.borderColor=this.PR(b.substring(13,b.length)):-1<b.indexOf("color")?d.color=this.PR(b.substring(6,b.length)):-1<b.indexOf("font-size")?d.fontSize=parseInt(b.substring(10,b.length)):-1<b.indexOf("fill")?
d.fill=this.PR(b.substring(5,b.length)):-1<b.indexOf("text-align")?d.textAlign=b.substring(11,b.length):-1<b.indexOf("max-width")?d.maxWidth=parseInt(b.substring(10,b.length)):-1<b.indexOf("max-height")?d.maxHeight=parseInt(b.substring(11,b.length)):-1<b.indexOf("width")&&(d.width=parseInt(b.substring(6,b.length)))}static Rx(b,d=null,g=null){var l="";null==d&&(d=a.Vha);for(var m=0;m<d.length;m++)if(null==g||null!=g&&b.U(d[m])!=g.U(d[m]))l+=d[m]+":"+b.U(d[m])+";";return l}static vk(b,d=null,g=null){var l=
new v.Da("div");l.$(b).cb();if(void 0===m){var m=new v.Da("div");m.cb()}null==d?k.Pb.Gb.G.append(l).append(m):d.append(l).append(m);b=a.Rx(l,g,m);l.remove();null!=m&&m.remove();return b}static L1(b){var d=[],g=b.split("rgb");2<g.length&&(b=g[2]);b=b.replace(/[^\d,]/g,"");b=b.split(",");for(g=0;g<b.length;g++)d[g]=parseInt(b[g]);void 0==d[3]&&(d[3]=1);return d}}a.Vha="background-color background-image color font-family font-size font-weight text-align padding-top padding-left padding-right padding-bottom border border-top-width border-top-color border-top-style border-bottom-width border-bottom-color border-bottom-style border-left-width border-left-color border-left-style border-right-width border-right-color border-right-style".split(" ");
f.Vc=a})(h.X||(h.X={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));var Ua=u||(u={}),Va=Ua.K||(Ua.K={}),Wa=Va.Y||(Va.Y={});
{var Xa=Wa.X||(Wa.X={});class e{}e.SV="fm-pivot-title";e.we="fm-cell";e.xU="fm-empty";e.gO="fm-sheet-header";e.Aj="fm-header";e.xz="fm-header-c";e.Fu="fm-header-r";e.Mka="fm-measure-header";e.dr="fm-filter-header";e.PH="fm-live-filtering-header";e.RJa="fm-page-header";e.SJa="fm-page-header-items";e.EH="fm-filter-icon";e.WU="fm-filtered";e.yH="fm-filtered-icon";e.oIa="fm-draggable";e.pIa="fm-droppable";e.Qu="fm-total";e.jna="fm-total-r";e.ina="fm-total-c";e.JH="fm-grand-total";e.Hja="fm-grand-total-r";
e.Gja="fm-grand-total-c";e.hV="fm-hierarchy-link";e.DN="fm-link";e.xna="fm-v-sort";e.Ana="fm-v-sort-icon";e.yna="fm-v-sort-asc";e.zna="fm-v-sort-desc";e.Kja="fm-h-sort";e.Nja="fm-h-sort-icon";e.Lja="fm-h-sort-asc";e.Mja="fm-h-sort-desc";e.Oz="fm-sort-icon";e.I6="fm-with-order";e.QU="fm-expanded";e.R4="fm-expanded-icon";e.zU="fm-collapsed";e.d4="fm-collapsed-icon";e.Ue="fm-level-";e.fia="fm-drilled-up";e.eia="fm-drilled-down";e.iV="fm-icon";e.C5="fm-kpi";e.Sja="fm-kpi-status-bad-icon";e.Wja="fm-kpi-status-risk-icon";
e.Uja="fm-kpi-status-ok-icon";e.Vja="fm-kpi-status-rising-icon";e.Tja="fm-kpi-status-good-icon";e.Xja="fm-kpi-trend-bad-icon";e.aka="fm-kpi-trend-risk-icon";e.Zja="fm-kpi-trend-ok-icon";e.$ja="fm-kpi-trend-rising-icon";e.Yja="fm-kpi-trend-good-icon";Xa.xa=e}var Ya=u||(u={}),Za=Ya.K||(Ya.K={}),$a=Za.Y||(Za.Y={});{var ab=$a.X||($a.X={});class e{}e.cka="left icon";e.eJa="main icon";e.lI="right icon";e.dk="label";e.F4="drill";e.DN="link";e.I3="backgroud";ab.Yp=e}
(function(e){(function(k){(function(h){class f extends k.Y.$M{constructor(c){super(c.G);this.Zc=c}f1(c,a){this.show(c.target,{left:a.clientX,top:a.clientY},c)}u1(c){this.show(c.target,{left:c.clientX,top:c.clientY},c)}twa(c){c=this.Zc.gR(c);var a=this.Kb.ja.za.ed();if(c&&!isNaN(c.qC))return a[c.qC];if(c&&c.measure)for(var b=0;b<a.length;b++)if(a[b].A==c.measure.A&&a[b].fa==c.measure.fa&&a[b].index==c.measure.index)return a[b];return null}show(c,a,b){if(!e.i.B.F.readOnly){var d=[];this.Zc.Oba(b.target)&&
d.push({id:"drillthrough",label:e.i.C.u.i4,handler:()=>{this.Zc.Uc(b.target)}});this.Zc.cya(b.target)&&d.push({id:"open_filter",label:e.i.C.u.l4,handler:()=>{this.Zc.uG(b.target)}});var g=this.twa(c);g&&!g.Ra&&!g.Ri&&e.i.B.F.Ok&&(g=this.uaa(g),0<g.length&&d.push({id:"aggregation",label:e.i.C.u.g4,submenu:g}));d=this.nQ(d,this.Zc.gR(c,!0),"charts");0<d.length&&b.preventDefault();this.uQ(d,a)}}fda(c,a){var b=this.Kb.ja.za.clone();c=b.ed()[c.index];c.fa=a;e.i.B.F.En.fa=c.fa;this.Kb.de(b)}}h.Pha=f})(k.nd||
(k.nd={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(){this.Yu=this.Zu=-1;this.dF=this.sZ=this.bU=this.scrollLeft=this.scrollTop=this.Zf=this.Ug=this.Xd=this.Fd=this.Uo=this.kl=this.cX=this.sP=0;this.xA=15E5;this.zA=this.yA=1;this.Gi=[];this.Rs=[];this.$s=[];this.qr=[];this.at=[];this.dE=[];this.CE=[];this.xA=this.Xwa();this.sP=c.G6;this.cX=c.F6;this.TC();this.afa()}get ke(){return this.bU+this.sZ}afa(){if(void 0===this.aX||void 0===this.$W){var b=this.Ywa();b&&(this.aX=b.width,
this.$W=b.height)}}Ywa(){return w.Dd().lm?this.e9():w.Dd().K_?{width:15,height:15}:w.Di.eo||w.Dd().TR||w.Dd().eca?this.e9():{width:17,height:17}}e9(){if(null==k.Pb.Gb.G.element.offsetParent)return null;var b=document.createElement("div");b.style.width="100%";b.style.height="100px";var d=document.createElement("div");w.Di.eo&&d.classList.add("fm-scrollbars");d.style.position="absolute";d.style.top="0px";d.style.left="0px";d.style.visibility="hidden";d.style.width="50px";d.style.height="50px";d.style.overflow=
"hidden";d.appendChild(b);k.Pb.Gb.G.element.appendChild(d);let g=b.offsetWidth;d.style.overflow="scroll";let l=b.offsetWidth;g==l&&(l=d.clientWidth);b.style.width="100px";b.style.height="100%";d.style.overflow="hidden";var m=b.offsetHeight;d.style.overflow="scroll";b=b.offsetHeight;m==b&&(b=d.clientHeight);k.Pb.Gb.G.element.removeChild(d);d=g-l;m-=b;w.Dd().eL&&(m=d);return{width:d,height:m}}Xwa(){return w.rQ().TR||w.rQ().eL?1E7:15E5}ZE(b){this.Rs.length-1>=b&&(this.Rs.length=b);this.qr.length-1>=
b&&(this.qr.length=b);this.dE.length-1>=b&&(this.dE.length=b);for(let d in this.Gi)this.Gi.hasOwnProperty(d)&&!e.w(this.Gi[d])&&this.Gi[d].length-1>=b&&(this.Gi[d].length=b);this.Zu=-1}UA(b){this.$s.length-1>=b&&(this.$s.length=b);this.at.length-1>=b&&(this.at.length=b);this.CE.length-1>=b&&(this.CE.length=b);this.Gi.length-1>=b&&(this.Gi.length=b);this.Yu=-1}reset(){this.Rs.length=0;this.$s.length=0;this.qr.length=0;this.at.length=0;this.dE.length=0;this.CE.length=0;this.Yu=this.Zu=-1;this.sZ=this.bU=
this.scrollLeft=this.scrollTop=this.Zf=this.Ug=this.Xd=this.Fd=this.Uo=this.kl=0;this.sP=c.G6;this.cX=c.F6;this.zA=this.yA=1;this.Gi.length=0;this.TC()}TC(){var b=k.Y.X.Vc.sl(w.Dd().lm?"fm-grid-column-mobile":"fm-grid-column");isNaN(b.minWidth)||(c.xD=b.minWidth);isNaN(b.width)||(c.Cs=Math.max(c.xD,b.width));isNaN(b.maxWidth)||(c.Wp=0>=b.maxWidth?0:Math.max(c.xD,b.maxWidth));var d=k.Y.X.Vc.sl(w.Dd().lm?"fm-grid-row-mobile":"fm-grid-row");isNaN(d.minHeight)||(c.wD=d.minHeight);isNaN(d.height)||(c.wu=
Math.max(c.wD,d.height));isNaN(d.maxHeight)||(c.$q=0>=b.maxHeight?0:Math.max(c.wD,d.maxHeight))}setScale(){var b=this.nt(this.Xd,this.Xd+this.Uo);this.zA=b>this.xA?this.xA/b:1;b=this.ot(this.Fd,this.Fd+this.kl);this.yA=b>this.xA?this.xA/b:1}resize(b,d){this.oA=b;this.nA=d}get NC(){return this.YB?this.aX:0}get MC(){return this.WB?this.$W:0}get pp(){return this.oA}get Vr(){return this.nA}get ox(){return this.nA-this.MC-this.ke}get kt(){return this.oA-this.NC}get vd(){return this.oA-this.Ep}get od(){return this.nA-
this.uq-this.ke}get mj(){return this.Fd+this.kl}get om(){return this.Xd+this.Uo}Md(b){var d=isNaN(this.$s[b])?c.wu:this.$s[b];return 0<c.$q&&!this.kC(b)?Math.min(c.$q,d):d}uw(b,d,g=!1,l=!1){0!=d&&(d=Math.max(d,c.wD));if(g){if(isNaN(this.at[b])||d>this.at[b])this.at[b]=d}else this.$s[b]=d,this.Yu=-1;l&&(this.CE[b]=!0)}nEa(b){if(this.kC(b)){delete this.$s[b];delete this.at[b];delete this.CE[b];this.Yu=-1;for(let d in this.Gi)this.Gi.hasOwnProperty(d)&&delete this.Gi[d]}}Vg(b){if(-1==b)return this.Sr();
if(b>=this.mj)return Math.max(100,c.Cs);var d=isNaN(this.Rs[b])?c.Cs:this.Rs[b];return 0<c.Wp&&!this.eC(b)?Math.min(c.Wp,d):d}jK(b,d,g){return 0>=g?Math.max(d,b):Math.min(g,Math.max(d,b))}bM(b,d,g=!1,l=!1){0!=d&&(d=this.jK(d,c.xD,c.Wp));if(g){if(isNaN(this.qr[b])||d>this.qr[b])this.qr[b]=d}else-1==b?this.sP=d:this.Rs[b]=d,this.Zu=-1;l&&(this.dE[b]=!0)}lEa(b){if(this.eC(b)){delete this.Rs[b];delete this.qr[b];delete this.dE[b];this.Zu=-1;for(let d in this.Gi)this.Gi.hasOwnProperty(d)&&(e.w(this.Gi[d])||
delete this.Gi[d][b])}}eC(b){return!0===this.dE[b]}kC(b){return!0===this.CE[b]}IP(){const b=new a;for(var d in this.at){var g=parseInt(d);if(!isNaN(g)&&!this.kC(g)){var l=this.at[g];!isNaN(l)&&l>this.Md(g)&&(this.uw(g,l),b.rows.push(g))}}this.at.length=0;for(var m in this.qr)d=parseInt(m),isNaN(d)||this.eC(d)||(g=this.qr[d],!isNaN(g)&&g>this.Vg(d)&&(this.bM(d,g),b.Ka.push(d)));this.qr.length=0;return b}IK(b,d=!1){var g=b/this.zt*(this.Vr/this.zA-this.Vr)*this.zA;if(1!=this.zA&&b+g>=this.zt-this.Vr){d=
this.om;for(g=this.zt;g>b;)g-=this.Md(d),d--;return d+1}d=d?0:this.Xd;for(var l=0;l<b+g;)l+=this.Md(d)*this.zA,d++;return d}rK(b,d=!1){var g=b/this.At*(this.pp/this.yA-this.pp)*this.yA;if(1!=this.yA&&b+g>=this.At-this.pp){d=this.mj;for(g=this.At;g>b;)g-=this.Vg(d),d--;return d+1}d=d?0:this.Fd;for(var l=0;l<b+g;)l+=this.Vg(d)*this.yA,d++;return d}hba(b){for(var d=0,g=0,l=this.od;g<l;)g+=this.Md(b+d),d++;return d}gba(b){for(var d=0,g=0,l=this.vd;g<l;)g+=this.Vg(b+d),d++;return d}get At(){return 0<=
this.Zu?this.Zu:this.Zu=1>this.yA?this.xA:this.ot(this.Fd,this.Fd+this.kl)}ot(b,d){if(b>=d)return 0;var g=0,l=0,m;for(m in this.Rs){var n=parseInt(m);!isNaN(n)&&!isNaN(this.Rs[n])&&n>=b&&n<d&&(l++,g+=this.Vg(n))}g+=(Math.min(d,this.mj)-b-l)*(0<c.Wp?Math.min(c.Wp,c.Cs):c.Cs);d>=this.mj&&(g+=(d-this.mj)*this.Vg(d));return g}get zt(){return 0<=this.Yu?this.Yu:this.Yu=1>this.zA?this.xA:this.nt(this.Xd,this.Xd+this.Uo)}nt(b,d){if(b>=d)return 0;var g=0,l=0,m;for(m in this.$s){var n=parseInt(m);!isNaN(n)&&
!isNaN(this.$s[n])&&n>=b&&n<d&&(l++,g+=this.Md(n))}return g+=(d-b-l)*(0<c.$q?Math.min(c.$q,c.wu):c.wu)}gra(){this.Gi.length=0}Iba(b,d){return e.w(this.Gi[b])?!1:!0===this.Gi[b][d]}ZEa(b,d){e.w(this.Gi[b])&&(this.Gi[b]=[]);this.Gi[b][d]=!0}SP(){this.Zu=this.Yu=-1}get Hza(){for(var b=0,d=this.Fd+this.kl,g=this.Fd;g<d;g++)if(b+=this.Vg(g),b>c.g6)return c.g6;return b}get Ep(){for(var b=this.Sr(),d=0;d<this.Fd;d++)b+=this.Vg(d);return b}get uq(){for(var b=this.Ot(),d=0;d<this.Xd;d++)b+=this.Md(d);return b}Sr(){return e.i.B.F.Pk?
this.sP:0}Ot(){return e.i.B.F.Pk?this.cX:0}Iva(){for(var b=[],d=this.Fd;d<this.kl&&(this.Jba(d)||(b.push(d),!(50<=b.length)));d++);return b}Jva(b){var d=[];b.bottom=Math.min(b.bottom,this.om);for(var g=b.left;g<=b.right;g++)for(var l=b.top;l<=b.bottom;l++)if(!this.Iba(l,g)){d.push(g);break}return d}Jba(b,d=!0){return!isNaN(this.Rs[b])||(d?!isNaN(this.qr[b]):!1)}get WB(){return this.At+(this.zt>this.od?this.aX:0)>this.vd}get YB(){return this.zt+(this.At>this.vd?this.$W:0)>this.od}RB(b,d=!1){var g=
e.i.B.F.Pk&&d?this.Ot():0;return g+=this.nt(d?0:this.Xd,b)}FF(b,d=!1){var g=e.i.B.F.Pk&&d?this.Sr():0;return g+=this.ot(d?0:this.Fd,b)}get ov(){return w.Dd().Si?!1:500>Math.max(this.mj,this.kt/c.Cs)*Math.max(this.om,this.ox/c.wu)}get Jqa(){return w.Dd().Si?!1:(this.YB||this.WB)&&1E5>this.mj*this.om}Zn(b=!1){return new f.uD(this.BB(b),this.DB(b),this.CB(b),this.Tx(b))}DB(b=!1){return this.ov?this.Xd:b?Math.max(this.Xd,this.Ug-c.z6):Math.max(this.Xd,this.Ug)}BB(b=!1){return this.ov?this.Fd:b?Math.max(this.Fd,
this.Zf-c.e4):Math.max(this.Fd,this.Zf)}Tx(b=!1){var d=this.hba(this.Ug);return this.ov?this.YB?this.om:this.Ug+d:b?Math.min(this.Ug+d+(this.YB?c.z6:0),this.YB?this.om:Number.MAX_VALUE):this.Ug+d}CB(b=!1){var d=this.gba(this.Zf);return this.ov?this.WB?this.mj:this.Zf+d:b?Math.min(this.Zf+d+(this.WB?c.e4:0),this.WB?this.mj:Number.MAX_VALUE):this.Zf+d}iC(b=NaN){isNaN(b)&&(b=this.CB());return 0<this.scrollLeft&&b>=this.mj}jC(b=NaN){isNaN(b)&&(b=this.Tx());return 0<this.scrollTop&&b>=this.om}qK(b=NaN){isNaN(b)&&
(b=this.Zf);return this.iC()?this.At-this.scrollLeft-this.ot(b,this.mj):0}HK(b=NaN){isNaN(b)&&(b=this.Ug);return this.jC()?this.zt-this.scrollTop-this.nt(b,this.om):0}sR(b,d){if(b<this.ke)return NaN;if(e.i.B.F.Pk&&b<this.ke+this.Ot())return-1;var g=0,l=this.ke+this.Ot();b>this.uq&&(g=this.Ug,l=this.ke+this.uq,d&&g>this.Xd?(d=this.scrollTop-this.RB(g-1),0<d&&(l-=d,g--)):d||(b-=this.HK()));for(;l<b;)l+=this.Md(g),g++;return g-1}ZQ(b,d){if(e.i.B.F.Pk&&b<this.Sr())return-1;var g=0,l=this.Sr();b>this.Ep&&
(g=this.Zf,l=this.Ep,d&&g>this.Fd?(d=this.scrollLeft-this.FF(g-1),0<d&&(l-=d,g--)):d||(b-=this.qK()));for(;l<b;)l+=this.Vg(g),g++;return g-1}bo(b,d,g=!0){var l=0,m=(g?this.ke:0)+this.Ot();b>this.Xd&&(l=this.Ug,m=(g?this.ke:0)+this.uq,l<=b&&(m+=d?this.RB(this.Ug)-this.scrollTop:this.HK()));return m+=this.nt(l,b)}ul(b,d){var g=0,l=this.Sr();b>this.Fd&&(g=this.Zf,l=this.Ep,g<=b&&(l+=d?this.FF(this.Zf)-this.scrollLeft:this.qK()));return l+=this.ot(g,b)}Bya(b){return isNaN(this.$s[b])}get Mua(){return this.scrollLeft+
this.vd-this.At-this.NC}get Lua(){return this.scrollTop+this.od-this.zt-this.MC}co(b,d){return!isNaN(b)&&0==this.Md(b)||!isNaN(d)&&0==this.Vg(d)?!0:!1}}c.z6=5;c.e4=5;c.Cs=100;c.xD=50;c.Wp=480;c.wu=30;c.wD=30;c.$q=100;c.F6=25;c.G6=25;c.g6=200;f.gh=c;class a{constructor(){this.rows=[];this.Ka=[]}}f.iKa=a})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends v.Da{constructor(a,b){super("div");this.BW=!1;this.cell=new Ta;this.ba=a;this.Om=b;this.element.addEventListener("click",d=>this.VS(d))}tx(a=!1){for(var b=!1,d=this.element.children,g=0;g<d.length;g++){var l=d.item(g);b=this.dga(l,!0)||b;l=l.children;for(var m=0;m<l.length;m++){const n=l.item(m);b=this.AM(n,a)||b}}this.BW=b}get fC(){return this.BW}dga(a,b=!1){if(null!=this.ba){var d=!1,g=parseInt(a.getAttribute("data-r"));if(isNaN(g)||
this.ba.kC(g))return!1;var l=a.clientHeight;a=a.offsetHeight;var m=a-l;a-this.ba.Md(g)>m?(this.ba.uw(g,Math.ceil(a),b),d=!0):l<=f.gh.wu&&this.ba.uw(g,f.gh.wu,b);return d}}AM(a,b=!1,d=!1){if(null!=this.ba){var g=!1,l=parseInt(a.getAttribute("data-c")),m=parseInt(a.getAttribute("data-r"));if(isNaN(l)||a.classList.contains(h.X.xa.gO)&&0<=l||this.ba.eC(l)||this.ba.Iba(m,l)&&!d)return!1;a=a.offsetWidth;if(a>this.ba.Vg(l)){if(1<a-this.ba.Vg(l)||1==window.devicePixelRatio||1!=window.devicePixelRatio&&this.ba.Vg(l)==
f.gh.Cs)this.ba.bM(l,Math.ceil(a+3),b),g=!0}else-1!=l&&a<=f.gh.Cs&&!this.ba.Jba(l,!0)&&this.ba.bM(l,f.gh.Cs,b);this.ba.ZEa(m,l);return g}}Dx(a,b){var d=this.Om?this.Om(a,b):null;this.cell.clear();this.cell.tag="div";if(this.ba.co(a,b))return this.cell.style.display="none",this.cell;this.cell.$(h.X.xa.we);var g=a>=this.ba.om||b>=this.ba.mj;!d&&g&&this.cell.$(h.X.xa.xU);d&&!isNaN(d.level)&&this.cell.$(h.X.xa.Ue+d.level);d&&d.di&&(this.cell.$(h.X.xa.Aj),this.cell.$(h.X.xa.Fu),this.cell.$(h.X.xa.Ue+d.level));
d&&d.oh&&(this.cell.$(h.X.xa.Aj),this.cell.$(h.X.xa.xz));d&&d.dS&&this.cell.$(h.X.xa.Mka);d&&d.nm&&this.cell.$(h.X.xa.Qu);d&&d.lC&&this.cell.$(h.X.xa.ina);d&&d.Gq&&this.cell.$(h.X.xa.jna);d&&d.gC&&this.cell.$(h.X.xa.JH);d&&d.cG&&this.cell.$(h.X.xa.Gja);d&&d.Vt&&this.cell.$(h.X.xa.Hja);d&&d.ng&&(this.cell.$(h.X.xa.QU),this.cell.text+=this.On(h.X.xa.R4,e.i.C.u.oO));d&&d.collapsed&&(this.cell.$(h.X.xa.zU),this.cell.text+=this.On(h.X.xa.d4,e.i.C.u.pO));d&&d.my&&(this.cell.$(h.X.xa.C5),-.75>=d.value?this.cell.$(h.X.xa.Xja):
-.25>=d.value?this.cell.$(h.X.xa.aka):.25>d.value?this.cell.$(h.X.xa.Zja):.75>d.value?this.cell.$(h.X.xa.$ja):1>=d.value&&this.cell.$(h.X.xa.Yja));d&&d.ly&&(this.cell.$(h.X.xa.C5),-.75>=d.value?this.cell.$(h.X.xa.Sja):-.25>=d.value?this.cell.$(h.X.xa.Wja):.25>d.value?this.cell.$(h.X.xa.Uja):.75>d.value?this.cell.$(h.X.xa.Vja):1>=d.value&&this.cell.$(h.X.xa.Tja));this.cell.text+=d?d.BQ:"";d&&(d.yh||d.Sg)&&(this.cell.text+='<span class="'+h.X.xa.hV+'" title="'+(d.yh?e.i.C.u.ana:e.i.C.u.bna)+'">'+d.bwa()+
"</span>",d.yh&&this.cell.$(h.X.xa.fia),d.Sg&&this.cell.$(h.X.xa.eia));if(d&&d.oh){if(d.lo&&!d.ib){var l="";0<=d.R2&&(l="<span>"+(d.R2+1)+"</span>");const n=e.w(d.measure)||d.measure.type!=e.v.j.Na.oc;this.cell.text=d.mo?this.cell.text+this.On([h.X.xa.Oz,h.X.xa.yna,e.ia(l)?"":h.X.xa.I6],this.PF(e.v.j.Ba.gc,n,e.i.B.F.dc),l):d.oo?this.cell.text+this.On([h.X.xa.Oz,h.X.xa.zna,e.ia(l)?"":h.X.xa.I6],this.PF(e.v.j.Ba.Ec,n,e.i.B.F.dc),l):this.cell.text+this.On([h.X.xa.Oz,h.X.xa.Ana],this.PF(e.v.j.Ba.Yc,n,
e.i.B.F.dc))}d.ib&&this.cell.$(h.X.xa.xU);d.ib||this.cell.$(h.X.xa.xna)}d&&d.di&&(d.lo&&!d.ib&&(this.cell.text=d.mo?this.cell.text+this.On([h.X.xa.Oz,h.X.xa.Lja],this.PF(e.v.j.Ba.gc)):d.oo?this.cell.text+this.On([h.X.xa.Oz,h.X.xa.Mja],this.PF(e.v.j.Ba.Ec)):this.cell.text+this.On([h.X.xa.Oz,h.X.xa.Nja],this.PF(e.v.j.Ba.Yc))),this.cell.$(h.X.xa.Kja));this.cell.attr["data-c"]=b;this.cell.attr["data-r"]=a;this.cell.attr["data-n"]=0==a%2?"even":"odd";0!=b||e.i.B.F.Pk||(this.cell.style.height=this.ba.Md(a)+
"px");if(d&&d.style){for(l=0;l<d.style.$T.length;l++)this.cell.$(d.style.$T[l]);l=d.style.U;for(var m in l)this.cell.style[m]=l[m]}this.Pea(this.cell,a,b,d&&d.Fh);null==h.X.$d.Av||g||(null==d&&(d=new h.X.$d,d.mb=a,d.fc=b),h.X.$d.Av(this.cell.node,d.Qa()));return this.cell}PF(a,b=!0,d=!1){a=e.v.j.Ba.oR(a,b,d);return a==e.v.j.Ba.gc?e.i.C.u.ena:a==e.v.j.Ba.Ec?e.i.C.u.fna:a==e.v.j.Ba.Yc?e.i.C.u.hna:e.i.C.u.gna}E_(a,b){return this.Om?(a=this.Om(a,b),e.w(a)||e.ia(a.label)):!0}Pea(a,b,d,g=!1){this.ba.eC(d)||
this.ba.kC(b)?(a.style.width=this.ba.Vg(d)+"px",a.style.height=this.ba.Md(b)+"px"):(a.style["min-width"]=this.ba.Vg(d)+"px",a.style[g?"height":"min-height"]=this.ba.Md(b)+"px");!this.ba.eC(d)&&0<f.gh.Wp&&(a.style["max-width"]=f.gh.Wp+"px");!this.ba.kC(b)&&0<f.gh.$q&&(a.style["max-height"]=f.gh.$q+"px")}On(a,b=null,d=""){Array.isArray(a)&&(a=a.join(" "));a='<i class="'+h.X.xa.iV+" "+a+'"';b&&(a+='title="'+b+'"');return a+(">"+d+"</i>")}Zsa(){this.cell.clear();this.cell.tag="div";this.cell.$(h.X.xa.we);
this.cell.$(h.X.xa.gO);this.cell.style.width=this.ba.Sr()+"px";this.cell.style.height=this.ba.Ot()+"px";return this.cell}H9(a){this.cell.clear();this.cell.tag="div";if(this.ba.co(-1,a))return this.cell.style.display="none",this.cell;this.cell.$(h.X.xa.we);this.cell.$(h.X.xa.gO);this.cell.text+=a+1;this.cell.style.width=this.ba.Vg(a)+"px";0<f.gh.Wp&&!this.ba.eC(a)&&(this.cell.style["max-width"]=f.gh.Wp+"px");this.cell.style.height=this.ba.Ot()+"px";this.cell.attr["data-r"]=-1;this.cell.attr["data-c"]=
a;return this.cell}kQ(a){this.cell.clear();this.cell.tag="div";if(this.ba.co(a,-1))return this.cell.style.display="none",this.cell;this.cell.$(h.X.xa.we);this.cell.$(h.X.xa.gO);this.cell.text+=a+1;this.cell.style["min-width"]=this.ba.Sr()+"px";this.cell.style.height=this.ba.Md(a)+"px";this.cell.style["line-height"]=this.ba.Md(a)-2+"px";0<f.gh.$q&&!this.ba.kC(a)&&(this.cell.style["max-height"]=f.gh.$q+"px");this.cell.attr["data-r"]=a;this.cell.attr["data-c"]=-1;return this.cell}GZ(a,b){a=this.ba.rK(a)-
1;b=this.ba.IK(b)-1;var d=null;null!=this.Om&&(d=this.Om(b,a));null==d&&(d=new h.X.$d,d.mb=b,d.fc=a);return d}pK(a){for(;!a.yc(h.X.xa.we);)if(a=a.parent,null==a)return null;var b=parseInt(a.attr("data-c"));a=parseInt(a.attr("data-r"));var d=null;null!=this.Om&&(d=this.Om(a,b));null==d&&(d=new h.X.$d,d.mb=a,d.fc=b);return d}VS(a){var b=v.Da.Ib(a.target),d=this.pK(b)||this.GZ(a.offsetX,a.offsetY);switch(a.type){case "click":var g=new h.w5(d,b,a)}g&&this.Ga(g)}dispose(){super.dispose();this.ba=this.Om=
null}}f.SM=c})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends f.SM{constructor(a,b){super(a,b);this.fP=!1;this.$("fm-sheet-canvas");this.dl=new bb;this.W(this.dl);this.Ol=new f.uD;this.Ph=new f.uD}jb(){}Jx(){}get $b(){return this.fP}set $b(a){this.fP!=a&&(this.fP=a,this.bb(this.$b?c.Q4:c.PU))}Kfa(){0!=this.$b&&(this.Ol.reset(),this.Ph.reset(),this.jb())}YE(){this.Ol.reset()}dra(){this.Ph.reset()}tv(){this.YE();this.dra()}tx(a=!1){for(var b=!1,d=this.dl.content.element.children,g=0;g<d.length;g++){var l=
d.item(g);b=this.dga(l,a)||b;l=l.children;for(var m=0;m<l.length;m++){var n=l.item(m);b=this.AM(n,a)||b}}this.BW=b}Oy(){this.dl.content.width=this.iv-this.ba.NC;this.dl.content.height=this.Vs-this.ba.MC}get vb(){return this.dl}get width(){return this.iv}set width(a){this.iv!=a&&(this.element.style.minWidth=a+"px",this.iv=a,this.dl.width=a)}get height(){return this.Vs}set height(a){this.Vs!=a&&(this.element.style.height=a+"px",this.Vs=a,this.dl.height=a)}Dva(a,b){a=this.ba.ZQ(a,this.$b);b=this.ba.sR(b,
this.$b);var d=null;null!=this.Om&&(d=this.Om(b,a));null==d&&(d=new h.X.$d,d.mb=b,d.fc=a);return d}VS(a){var b=this.parent.mf();var d=a.clientX-b.left;var g=a.clientY-b.top;b=a.target;b==this.vb.placeholder.element&&(this.vb.placeholder.U("pointer-events","none"),b=document.elementFromPoint(a.clientX,a.clientY),this.vb.placeholder.U("pointer-events",""));b=v.Da.Ib(b);d=this.pK(b)||this.Dva(d,g);null!=d&&null!=b&&(g=h.X.Yp.I3,b.yc(h.X.xa.hV)?g=h.X.Yp.F4:b.yc(h.X.xa.R4)||b.yc(h.X.xa.d4)?g=h.X.Yp.cka:
b.yc(h.X.xa.Oz)?g=h.X.Yp.lI:b.yc(h.X.xa.DN)&&(g=h.X.Yp.DN),d.EA=g);switch(a.type){case "click":var l=new h.w5(d,b,a)}l&&this.Ga(l)}iF(a,b=!1,d=!1){var g=[],l=new Ta;d&&g.push(this.Gsa(a));for(d=a.top;d<a.bottom;d++){l.tag="div";l.$("fm-row");l.attr["data-r"]=d;b&&(l.text+=cb(this.kQ(d)));for(var m=a.left;m<a.right;++m)l.text+=cb(this.Dx(d,m));g.push(cb(l))}return g.join("")}Gsa(a){for(var b="",d=a.left;d<a.right;++d)b+=cb(this.H9(d));a=new Ta;a.tag="div";a.$("fm-row");a.text=b;return b=cb(a)}eba(){var a=
this.ba.DB();return this.$b?this.ba.nt(this.Ph.top,a)-this.vb.cB:this.ba.HK(a)}dba(){var a=this.ba.BB();return this.$b?this.ba.ot(this.Ph.left,a)-this.vb.Gr:this.ba.qK(a)}dispose(){this.vb.dispose();super.dispose()}}c.Q4="switched_to_smooth";c.PU="switched_to_simple";f.sD=c})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(a=0,b=0,d=0,g=0){this.left=a;this.top=b;this.right=d;this.bottom=g}set(a){this.left=a.left;this.top=a.top;this.right=a.right;this.bottom=a.bottom}reset(){this.bottom=this.right=this.top=this.left=0}contains(a){return this.left<=a.left&&this.top<=a.top&&this.right>=a.right&&this.bottom>=a.bottom}clone(){return new c(this.left,this.top,this.right,this.bottom)}}f.uD=c})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||
(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(a){this.yB=[];this.data=[];this.coords=a}reset(){this.data=[];this.yB=[]}setData(a,b,d,g=!1){d.mb=a;d.fc=b;if(b<this.coords.Fd||g)null==this.data[a]&&(this.data[a]=[]),this.data[a][b]=d}DT(a,b,d){null==this.yB[a]&&(this.yB[a]=[]);this.yB[a][b]=d}Kqa(a,b){void 0===this.data[a]&&(this.data[a]=[]);return void 0!==this.data[a][b]}getData(a,b,d=!0){if(0==this.Kqa(a,b)){var g=this.HB(a,b);null!=g&&(g.mb=a,g.fc=b);if(d)this.data[a][b]=g;
else return g}if(null!==this.data[a][b])return this.data[a][b]}Zva(a,b){return this.yB[a]&&this.yB[a][b]?this.yB[a][b]:null}fra(a,b){null!=this.data[a]&&(this.data[a][b]=this.getData(a,b))}dispose(){this.reset();this.HB=null}}f.Nma=c})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(b){this.GE=this.ex=null;this.Ti=new e.wb;this.VI={};this.DI={};this.mS=d=>this.hw(d);this.ka=b;this.coords=this.ka.coords;this.um=new f.Lma(this,this.ka);this.UEa=new f.Lga;this.bu=w.lV.V();this.bu.N(w.KeyboardEvent.AN,this.mS)}dispose(){null!=this.Ti&&0<this.Ti.length&&this.YX();this.bu.qb(w.KeyboardEvent.AN,this.mS);this.bu=this.ka=null;this.um.dispose()}jb(){this.um.U1()}Pda(b,d){this.um.iS?this.zEa(b,d):this.yea(b,d);this.jb()}Qda(b,
d){this.um.VR||(null==this.um.jo&&(this.um.jo=new f.L6(this.ka)),this.um.jo.pv=b.toString()+"|"+d.toString(),this.jb())}select(b,d){this.Lr();this.ex=b;this.GE=d;this.Pda(b,d)}zEa(b,d){this.Kba(b,d)&&!this.Ti.Sb(this.fF(b,d))&&(this.YX(),this.yea(b,d))}yea(b,d){null!=this.um.jo&&(this.um.jo.remove(),this.um.jo=null);if(!this.um.VR||this.Kba(b,d))if(this.Ti.Sb(this.fF(b,d)))g=this.Ti.getItem(this.fF(b,d)),null!=g.ho&&delete this.VI[b.y.toString()],null!=g.In&&delete this.DI[b.x.toString()],g.remove(),
this.Ti.removeItem(this.fF(b,d));else if(null!=b&&null!=d){var g=new f.L6(this.ka);g.pv=this.fF(b,d);this.Ti.Ta(g.pv,g)}}YX(){for(;0<this.Ti.length;)this.Ti.ea(0).remove(),this.Ti.SL(0);this.VI={};this.DI={}}fF(b,d){return b.x.toString()+"|"+b.y.toString()+"|"+d.x.toString()+"|"+d.y.toString()}mF(b){b=b.split("|");var d={};4==b.length?(d.from=new e.K.Y.sheet.hr(parseInt(b[0]),parseInt(b[1])),d.ro=new e.K.Y.sheet.hr(parseInt(b[2]),parseInt(b[3]))):2==b.length&&(d.nu=parseInt(b[0]),d.wt=parseInt(b[1]));
return d}gca(b){return this.VI.hasOwnProperty(b.y.toString())&&this.DI.hasOwnProperty(b.x.toString())&&this.VI[b.y.toString()]==f.t4.QM&&this.DI[b.x.toString()]==f.t4.QM}Kba(b,d){return null==b||null==d||!b.xF(d)||this.gca(b)||this.gca(d)||0>b.x*b.y||0>d.x*d.y?!1:!0}selectAll(){this.select(new a(0,0),new a(this.coords.kl+this.coords.Fd-1,this.coords.Uo+this.coords.Xd-1))}Lea(b){if(!(null==this.ex||this.ex.xF(b)&&this.Ti.Sb(this.fF(this.ex,b)))){var d=this.ex;this.Lr();this.ex=d;this.GE=b;this.Pda(d,
b)}}TEa(b){this.Lr();this.Qda(b,-1)}QEa(b){this.Lr();this.Qda(-1,b)}Lr(){!this.um.VR&&0<this.Ti.length&&!this.um.iS&&this.YX();null!=this.um.jo&&(this.um.jo.remove(),this.um.jo=null);this.GE=this.ex=null}clear(){this.Lr();this.jb()}Oxa(b){return b.Fh&&!isNaN(b.value)||b.Ak&&b.Fh&&""!=b.label}tqa(b){if(null==b)return!1;let d=0;for(let g=0;g<b.length;g++)if(this.Oxa(b[g])&&d++,2<=d)return!0;return!1}get Qq(){return this.Ti}get ro(){return this.GE}set ro(b){this.GE=b}get from(){return this.GE}set from(b){this.ex=
b}Pua(b,d){return b&&d?Math.min(b.x,d.x):-1}$Fa(b,d){return b&&d?Math.max(b.x,d.x):-1}Xua(b,d){return b&&d?Math.min(b.y,d.y):-1}kGa(b,d){return b&&d?Math.max(b.y,d.y):-1}move(b,d,g=!1){switch(b){case 37:this.Mza(g);break;case 38:this.Pza(g);break;case 39:this.Nza(g);break;case 40:this.Lza(g)}}get uea(){return this.VI}get q9(){return this.DI}Mza(b=!1){this.Zca(-1,b)}Nza(b=!1){this.Zca(1,b)}Pza(b=!1){this.$ca(-1,b)}Lza(b=!1){this.$ca(1,b)}Zca(b,d=!1){if(1==this.Ti.length){var g=this.mF(this.Ti.ea(0).pv),
l=g.from,m=g.ro;g=d?m.x:l.x;var n=d?m.x:l.x;g=this.Eua(g+b,d?m.y:l.y);g<this.coords.Zf?(b=Math.max(g,this.coords.Fd),this.ka.aM(b)):g>=this.coords.gba(this.coords.Zf)+this.coords.Zf-1&&(b=this.coords.Zf+(g-n),this.ka.aM(b+1));b=d?m.y:l.y;m=g;this.select(new a(d?l.x:g,l.y),new a(m,b))}}$ca(b,d=!1){if(1==this.Ti.length){var g=this.mF(this.Ti.ea(0).pv),l=g.from,m=g.ro;g=d?m.y:l.y;var n=d?m.y:l.y;g=this.Fua(g+b,d?m.x:l.x);g<this.coords.Ug?(b=Math.max(g,this.coords.Xd),this.ka.EG(b)):g>=this.coords.hba(this.coords.Ug)+
this.coords.Ug-1&&(b=this.coords.Ug+(g-n),this.ka.EG(b+1));b=g;m=d?m.x:l.x;this.select(new a(l.x,d?l.y:g),new a(m,b))}}Fua(b,d){return Math.max(d<this.coords.Fd?this.coords.Xd:this.coords.dF+1,Math.min(b,this.coords.om-1))}Eua(b,d){return Math.max(d<this.coords.Xd?this.coords.Fd:this.coords.Fd-1,Math.min(b,this.coords.mj-1))}get xqa(){return this.UEa}hw(b){if(null!=this.bu&&(this.ka.jm||this.bu.Tba)){var d=b.ctrlKey||b.metaKey;switch(b.keyCode){case 13:case 32:d||this.ka.bb(h.hc.KH);break;case 65:d&&
(this.selectAll(),b.Lq.preventDefault());break;case 37:case 39:case 38:case 40:this.move(b.keyCode,b.ctrlKey,b.shiftKey),b.Lq.preventDefault()}!d||b.altKey||b.shiftKey||this.bu.Tba||67!==b.keyCode||this.hF()}}hF(){var b="";if(0<this.Ti.length)for(var d,g=0;g<this.Ti.length;g++)d=this.Ti.ea(g),null!=d.gj&&(d=this.mF(d.pv),b+=this.usa(d.from,d.ro),g<this.Ti.length-1&&(b+="\n"));0<b.length&&this.bu.hF(b)}usa(b,d){var g="";if(null==b||null==d)return g;var l=Math.min(b.x,d.x),m=Math.max(b.x,d.x),n=Math.max(b.y,
d.y);for(d=Math.min(b.y,d.y);d<=n;d++){for(var p=l;p<=m;p++){p>l&&(g+="\t");b=this.ka.Kf(d,p,!0);if(null==b&&(b=d<this.coords.Ug&&p>=this.coords.Zf?this.ka.Kf(d,p-this.coords.Zf+this.coords.Fd,!0):null,null==b))continue;g+=null==b?"":b.J()}d<n&&(g+="\n")}return g}}f.Mma=c;class a{constructor(b=0,d=0){this.x=b;this.y=d}xF(b){return b.x==this.x&&b.y==this.y}}f.hr=a})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(d,g){this.EE=this.VR=!1;this.jq=this.m8=null;this.U8=5;this.NEa=17;this.iS=!1;this.pG=l=>this.VS(l);this.Xca=l=>this.h1(l);this.fi=d;this.ka=g;this.coords=this.ka.coords;this.jq=new f.Kga;this.jq.cb();this.ka.W(this.jq);this.ka.element.addEventListener("mousedown",this.pG);this.ka.element.addEventListener("mouseup",this.pG)}get Wy(){return this.EE}set Wy(d){this.EE=d;this.Wy||(this.ka.element.removeEventListener("mousemove",this.pG),
document.removeEventListener("mousemove",this.Xca))}get jo(){return this.m8}set jo(d){this.m8=d}VS(d){if(1==d.which||3==d.which){var g=v.Da.Ib(d.target);if("mousedown"!=d.type||!(g.yc(h.X.xa.dr)||g.yc(h.X.xa.EH)||g.yc(h.X.xa.yH)||null!=g.closest(".fm-filters")||null!=g.closest("."+h.X.xa.PH))){var l=this.ka.mf();g=d.clientX-l.left;l=d.clientY-l.top;if(!(g>this.coords.kt||l>this.coords.ke+this.coords.ox||(l=this.coords.sR(l,this.ka.$b),g=this.coords.ZQ(g,this.ka.$b),isNaN(l)||isNaN(g))))switch(this.VR=
!w.Di.eo&&d.ctrlKey||w.Di.eo&&d.metaKey,this.iS=3==d.which,d.type){case "mousedown":this.iw(l,g);break;case "mousemove":this.jw(l,g);break;case "mouseup":this.Jq(l,g)}}}}h1(d){var g=v.Da.Ib(this.ka.element),l=d.clientX;d=d.clientY;(l<g.left||d<g.top||l>g.left+this.ka.width||d>g.top+this.ka.height)&&this.SFa()}select(d,g,l,m){this.Wy=!1;this.fi.select(new f.hr(g,d),new f.hr(m,l))}SFa(){this.Wy=!1}iw(d,g){this.Wy=!0;this.fi.select(new f.hr(g,d),new f.hr(g,d));this.ka.element.addEventListener("mousemove",
this.pG);e.rl.addEventListener("mousemove",this.Xca)}Jq(d,g){this.Wy&&(this.Wy=!1,this.iS||(-1==d?this.fi.QEa(g):-1==g?this.fi.TEa(d):this.fi.from&&!this.fi.from.xF(new f.hr(g,d))&&this.fi.Lea(new f.hr(g,d))))}jw(d,g){this.Wy&&(!this.fi.ro||this.fi.ro.x==g&&this.fi.ro.y==d||this.fi.Lea(new f.hr(g,d)))}dispose(){this.ka.element&&this.ka.element.removeEventListener("mousedown",this.pG);this.ka.element&&this.ka.element.removeEventListener("mouseup",this.pG);this.jq.dispose();this.coords=this.ka=this.fi=
null;null!=this.jo&&(this.jo.remove(),this.jo=null)}U1(){this.jq.mEa();for(var d=0;d<this.fi.Qq.length;d++){var g=this.fi.Qq.ea(d);var l=this.fi.mF(this.fi.Qq.Ah(d));this.Qoa(g,l.from,l.ro)}this.Roa(this.jq);this.Ita(this.jo)}Ita(d){if(null!=d){d.cb();var g=this.fi.mF(d.pv);-1!=g.nu&&this.Sta(g.nu,d);-1!=g.wt&&this.Rta(g.wt,d)}}Roa(d){d.cb();if(e.i.B.F.gfa&&d.Rxa()&&null!=e.v.Sa.V()&&null!=e.v.Sa.V().O){var g=this.ka.Qq;if(this.fi.tqa(g)&&(d.mza(),this.zGa(d,g),!d.Jxa())){d.show();d.jv.Zj("auto");
d.top=d.il.bottom;g=this.coords.ul(this.coords.Fd,this.ka.$b);for(var l=0,m=0;m<d.No.length;m++)l+=d.No.ea(m).width;l=l+2*this.U8+2*(d.No.length-1)*this.U8;d.jv.width=l;g-d.il.right+l>this.coords.scrollLeft?d.il.right=d.il.left+l:g>d.il.right-l?(d.jv.U("left","auto"),d.jv.right=0,l=d.il.right-g):d.il.rea>=this.coords.kt&&(d.jv.U("left","right"),d.jv.left=0,l=l-(d.il.rea-this.coords.kt)-1,l=0>l?0:l);this.coords.ke+this.coords.ox<=d.il.bottom+d.height&&(d.top=d.il.bottom-this.NEa);d.left=d.il.right-
l;d.iea.width=l;d.width=l}}}zGa(d,g){this.fi.xqa.WDa(d,g)}Qoa(d,g,l){d.cb();var m=Math.min(g.x,l.x),n=Math.min(g.y,l.y),p=Math.max(g.x,l.x);g=Math.max(g.y,l.y);this.NDa(m,p,n,g,d);e.i.B.F.Pk&&this.Lta(m,p,n,g,d);l=this.coords.kt;var q=this.coords.ke+this.coords.ox,t=Math.max(this.coords.ke,this.coords.bo(n,this.ka.$b)-1),x=this.coords.bo(g+1,this.ka.$b),z=Math.min(q,x),A=Math.max(0,this.coords.ul(m,this.ka.$b)-1),B=this.coords.ul(p+1,this.ka.$b),D=Math.min(l,B),I=z-t,Q=D-A;2>=Q||2>=I?null!=d.gj&&
d.gj.cb():A<l&&t<q?(null!=d.gj&&(d.gj.show(),d.gj.top=t,d.gj.left=A,d.gj.width=Q,d.gj.height=I,this.jq.il.bottom*this.jq.il.right<=D*z&&(this.jq.il.left=A,this.jq.il.right=D,this.jq.il.bottom=z,this.jq.il.rea=B)),n<this.coords.Xd&&B>D&&(d.E9(),d.qk.top=t,d.qk.left=D,d.qk.width=Math.min(B,this.coords.pp)-D,d.qk.height=Math.min(z,this.coords.ke+this.coords.uq)-t,d.qk.eb("fm-clear-border-bottom",g>this.coords.Xd),d.qk.eb("fm-clear-border-right",B>this.coords.pp),d.qk.Pd("fm-clear-border"),d.qk.show()),
m<this.coords.Fd&&x>z&&(d.L9(),d.Kk.top=z,d.Kk.left=A,d.Kk.width=Math.min(D,this.coords.Ep)-A,d.Kk.height=Math.min(x,this.coords.Vr)-z,d.Kk.eb("fm-clear-border-bottom",x>this.coords.Vr),d.Kk.eb("fm-clear-border-right",p>this.coords.Fd),d.Kk.Pd("fm-clear-border"),d.Kk.show()),null!=d.gj&&(d.gj.eb("fm-clear-border-right",B>D),d.gj.eb("fm-clear-border-bottom",x>z))):null!=d.gj&&d.gj.cb()}Sta(d,g){if(!isNaN(d)){null==g.ho&&g.M9();var l=this.coords.bo(d,this.ka.$b);d=this.coords.bo(d+1,this.ka.$b);var m=
Math.min(this.coords.ke+this.coords.ox,d);l<this.coords.ke+this.coords.ox?(g.ho.left=0,g.ho.top=l,g.ho.width=this.coords.kt,g.ho.height=m-l,g.ho.show(),d>m&&(g.L9(),g.Kk.top=m,g.Kk.left=0,g.Kk.width=this.coords.Ep,g.Kk.height=Math.min(d,this.coords.Vr)-m,g.Kk.$("fm-clear-border"),g.Kk.show())):g.ho.cb()}}Rta(d,g){if(!isNaN(d)){null==g.In&&g.F9();var l=this.coords.ul(d,this.ka.$b);d=this.coords.ul(d+1,this.ka.$b);var m=Math.min(this.coords.kt,d);l<this.coords.kt?(g.In.left=l,g.In.top=this.coords.ke,
g.In.width=m-l,g.In.height=this.coords.ox,g.In.show(),d>m&&(g.E9(),g.qk.top=this.coords.ke,g.qk.left=m,g.qk.width=Math.min(d,this.coords.pp)-m,g.qk.height=this.coords.uq,g.qk.$("fm-clear-border"),g.qk.show())):g.In.cb()}}Lta(d,g,l,m,n){this.Jta(n.In,d,g);this.Kta(n.ho,l,m)}NDa(d,g,l,m,n){if(!this.fi.uea.hasOwnProperty(l.toString())){n.M9();for(var p=l;p<=m;p++)this.fi.uea[p.toString()]=l==m&&d==g?a.o6:a.QM}if(!this.fi.q9.hasOwnProperty(d.toString()))for(n.F9(),p=d;p<=g;p++)this.fi.q9[p.toString()]=
l==m&&d==g?a.o6:a.QM}Jta(d,g,l){null!=d&&(g=this.coords.ul(g,this.ka.$b),l=Math.min(this.coords.pp,this.coords.ul(l+1,this.ka.$b)),g<this.coords.pp?(d.left=g,d.top=this.coords.ke,d.width=l-g,d.height=this.coords.Ot(),d.show()):d.cb())}Kta(d,g,l){null!=d&&(g=this.coords.bo(g,this.ka.$b),l=Math.min(this.coords.Vr,this.coords.bo(l+1,this.ka.$b)),d.left=0,d.top=g,d.width=this.coords.Sr(),d.height=l-g,d.show())}}f.Lma=c;class a{}a.o6=1;a.QM=2;f.t4=a;class b{constructor(d){this.ka=this.UI=this.CI=this.AE=
this.cE=this.CO=null;this.ka=d;this.CO=this.QJ()}QJ(){var d=new v.Da("div","fm-sheet-selection-canvas");d.cb();this.ka.W(d);return d}F9(){null==this.cE&&(this.cE=this.QJ(),this.cE.$("fm-sheet-selection-header"))}M9(){null==this.AE&&(this.AE=this.QJ(),this.AE.$("fm-sheet-selection-header"))}L9(){null==this.UI&&(this.UI=this.QJ(),this.UI.$("fm-clear-border-top"))}E9(){null==this.CI&&(this.CI=this.QJ(),this.CI.$("fm-clear-border-left"))}get pv(){return this.Vna}set pv(d){this.Vna=d}get Kk(){return this.UI}get qk(){return this.CI}get ho(){return this.AE}set ho(d){this.AE=
d}get In(){return this.cE}set In(d){this.cE=d}get gj(){return this.CO}set gj(d){this.CO=d}cb(){this.In&&this.In.cb();this.ho&&this.ho.cb();this.qk&&this.qk.cb();this.Kk&&this.Kk.cb();this.gj&&this.gj.cb()}remove(){null!=this.gj&&(this.gj.remove(),this.CO=null);null!=this.In&&(this.In.remove(),this.cE=null);null!=this.ho&&(this.ho.remove(),this.AE=null);null!=this.qk&&(this.qk.remove(),this.CI=null);null!=this.Kk&&(this.Kk.remove(),this.UI=null);this.ka=null}}f.L6=b})(h.sheet||(h.sheet={}))})(k.Y||
(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(){this.E7=null}WDa(a,b){this.Yn=this.Cua(b);var d=null==this.Yn?e.i.cc.bk.$f("").clone():this.Yn.$f().clone();d.ml=d.ml==e.i.cc.bk.MZ().ml?2:d.ml;for(var g=0;g<a.ty.length;g++){var l=this.Eqa(a.ty[g],b);0!=l?a.Kh(a.ty[g],this.kwa(l,a.ty[g],d.clone())):a.txa(a.ty[g])}this.Yn=null}kwa(a,b,d){var g="count"==b||null!=this.Yn&&e.v.j.ca.Lf(this.Yn.fa),l="count"!=b&&null!=this.Yn&&e.v.j.ca.Yd(this.Yn.fa),m=null!=this.Yn&&this.Yn.type==
e.v.j.Na.bc&&e.v.j.ca.xs(this.Yn.fa);d.Yd="count"==b?!1:d.Yd;d.gd=null!=this.Yn&&this.Yn.fa==e.v.j.ca.ni?"":d.gd;return m&&!isNaN(a)&&"count"!=b?e.P.Zy(a,e.i.B.F.Pp):w.Ub.format(a,d,g,l)}Eqa(a,b){switch(a){case "sum":return this.Hqa(b);case "average":return this.Fqa(b);case "count":return this.Gqa(b)}return 0}Hqa(a){for(var b=0,d=0;d<a.length;d++)b+=a[d].Fh&&!isNaN(a[d].value)&&this.fS(a[d])?a[d].value:0;return b}Fqa(a){for(var b=0,d=0,g=0;g<a.length;g++)a[g].Fh&&!isNaN(a[g].value)&&this.fS(a[g])&&
(b+=a[g].value,d++);return 0==d?0:b/d}Gqa(a){for(var b=0,d=0;d<a.length;d++)(a[d].Fh&&!isNaN(a[d].value)||a[d].Ak&&a[d].Fh&&""!=a[d].label)&&b++;return b}Cua(a){for(var b=null,d=0;d<a.length;d++)if(this.fS(a[d])&&null==b&&!e.w(a[d].measure))b=a[d].measure;else if(this.fS(a[d])&&null!=b&&b.A!=a[d].measure.A){b=null;break}return b}fS(a){return a.Ak&&a.Fh&&!isNaN(a.value)||a.Fh&&null!=a.measure&&!isNaN(a.value)&&e.v.j.Na.oc!=a.measure.type&&e.v.j.Na.Pa!=a.measure.type&&e.v.j.Na.Cc!=a.measure.type}get Yn(){return this.E7}set Yn(a){this.E7=
a}}f.Lga=c})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends v.Da{constructor(b=null){super("div","fm-auto-calculation-bar");this.MW=["average","count","sum"];this.EP={};this.HO={right:-1E3,bottom:1E3};this.Tna=new e.wb;this.MW=null==b?this.MW:b;this.Bxa();this.ve()}Bxa(){this.EP.average=e.i.C.u.F3;this.EP.sum=e.i.C.u.J6;this.EP.count=e.i.C.u.n4}get No(){return this.Tna}ve(){this.YW=new v.Da("div");this.YW.U("position","relative");this.W(this.iea);this.Rna=new v.Da("div","fm-auto-calculation-bar-conainer");
this.jv.U("position","absolute");this.YW.W(this.jv);for(var b,d=0;d<this.ty.length;d++)b=new a,b.VEa(this.EP[this.ty[d]]),this.jv.W(b),this.No.Ta(this.ty[d],b)}Rxa(){return-1E3!=this.HO.right&&1E3!=this.HO.bottom}Kh(b,d){this.No.getItem(b).WEa(d)}txa(b){this.No.getItem(b).cb()}get jv(){return this.Rna}get iea(){return this.YW}mza(){for(var b,d=0;d<this.No.length;d++)b=this.No.ea(d),b.visible||b.show()}Jxa(){for(var b=0;b<this.No.length;b++)if(this.No.ea(b).visible)return!1;return!0}get il(){return this.HO}get ty(){return this.MW}mEa(){this.HO=
{right:-1E3,bottom:1E3}}clear(){for(;0<this.No.length;)this.No.ea(0).dispose(),this.No.SL(0);this.dispose()}}f.Kga=c;class a extends v.Da{constructor(){super("div","fm-auto-calculation-bar-content");this.display="inline-block";this.ve()}ve(){this.J8=new v.Da("div","fm-auto-calculation-bar-content-text");this.W(this.J8);this.K8=new v.Da("div","fm-auto-calculation-bar-content-results");this.W(this.K8)}show(){this.element.style.display=this.display}VEa(b){this.J8.text(b+":")}WEa(b){this.K8.text(b)}}
f.bHa=a})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
class bb extends v.Da{constructor(){super("div","fm-scroll-pane");this.l8=()=>this.v1();this.xE=!1;this.jW=this.iW=0;w.Di.eo&&this.$("fm-scrollbars");this.Ys=new v.Da("div","fm-scroll-placeholder");this.GO=new v.Da("div","fm-scroll-content");this.W(this.Ys);this.W(this.GO);this.element.addEventListener("scroll",this.l8,!0)}v1(){if(this.xE)return this.xE=!1;this.bb(db)}get dB(){return this.Ys.width}set dB(e){this.Ys.width=e}get pY(){return this.Ys.height}set pY(e){this.Ys.height=e}get scrollLeft(){return this.element.scrollLeft}set scrollLeft(e){this.xE=
!1;this.element.scrollLeft=Math.max(0,e)}set yT(e){this.xE=!0;this.element.scrollLeft=Math.max(0,e)}get scrollTop(){return this.element.scrollTop}set scrollTop(e){this.xE=!1;this.element.scrollTop=Math.max(0,e)}set zT(e){this.xE=!0;this.element.scrollTop=Math.max(0,e)}get placeholder(){return this.Ys}get content(){return this.GO}get Gr(){return this.iW}set Gr(e){this.iW=e;this.GO.left=-this.iW}get cB(){return this.jW}set cB(e){this.jW=e;this.GO.top=-this.jW}set wxa(e){this.element.style.overflowX=
e?"scroll":"hidden"}set NGa(e){this.element.style.overflowY=e?"scroll":"hidden"}dispose(){this.element&&this.element.removeEventListener("scroll",this.l8);super.dispose()}}var db="fm_scroll_event";
(function(e){(function(k){(function(h){(function(f){class c extends f.SM{constructor(a){super(a,null);this.ba=a}jb(){var a=[],b=new Ta;if(e.i.B.F.Pk){b.tag="div";b.$("fm-row");b.text+=cb(this.Zsa());for(var d=0;d<this.ba.Fd;d++)b.text+=cb(this.H9(d));a.push(cb(b));for(d=0;d<this.ba.Xd;d++)b.text=cb(this.kQ(d)),a.push(cb(b))}a=a.join("");this.element.innerHTML!=a&&this.html(a)}clear(){}}f.Oma=c})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
class eb{constructor(e="div"){this.text=this.tag="";this.style={};this.attr={};this.classes=[];this.addClass=function(k){0>this.classes.indexOf(k)&&this.classes.push(k)};this.toHtml=function(){var k="<"+this.tag,h=[],f;for(f in this.style)h.push(f+":"+this.style[f]);0<h.length&&(k+=' style="'+h.join(";")+';"');0<this.classes.length&&(k+=' class="'+this.classes.join(" ")+'"');for(var c in this.attr)k+=" "+c+'="'+this.attr[c]+'"';return k+=">"+(this.text||"")+"</"+this.tag+">"};this.tag=e}}
function cb(e,k=!0){var h=e.node.toHtml();k&&e.clear();null!=u.K.Y.X.$d.Av&&(h=u.i.Vb.valid(h)?h:u.i.Vb.Mc(h));return h}
class Ta{get node(){return this.Goa}constructor(e="div"){this.Goa=new eb;this.clear();this.tag=e}get tag(){return this.node.tag}set tag(e){this.node.tag=e}get text(){return this.node.text}set text(e){this.node.text=e}get style(){return this.node.style}set style(e){this.node.style=e}get attr(){return this.node.attr}set attr(e){this.node.attr=e}$(e){this.node.addClass(e)}clear(){this.tag="div";this.text="";this.style={};this.attr={};this.node.classes=[]}}
(function(e){(function(k){(function(h){(function(f){class c extends f.sD{jb(){this.Oy();var a=this.Zn();if(this.$b||this.ba.jC(a.bottom)||this.ba.iC(a.right)||!this.Ol.contains(a)){var b=a.clone();0!=this.ba.mj&&(b.right=Math.min(b.right,this.ba.mj));0!=this.ba.om&&(b.bottom=Math.min(b.bottom,this.ba.om));if(!this.$b||!this.Ph.contains(b)||!this.ba.ov&&(a.left>this.ba.Fd&&a.left<=this.Ph.left||a.top>this.ba.Xd&&a.top<=this.Ph.top))this.ba.iC(a.right)&&(a.left=Math.max(a.left-1,this.ba.Fd)),this.ba.jC(a.bottom)&&
(a.top=Math.max(a.top-1,this.ba.Xd)),this.vb.content.html(this.iF(a)),this.$b=!1,this.Ol.set(a)}}mJ(){this.$b?(this.vb.cB=this.ba.scrollTop-this.ba.nt(this.ba.Xd,this.Ph.top),this.vb.Gr=this.ba.scrollLeft-this.ba.ot(this.ba.Fd,this.Ph.left)):(this.vb.cB=-this.ba.HK(this.Ol.top),this.vb.Gr=-this.ba.qK(this.Ol.left))}Jx(){var a=this.vb.dB;this.Oy();a=this.vb.dB-a;var b=this.Zn(!0);if(!(this.$b&&this.ba.ov&&this.Ph.contains(b))){var d=this.eba(),g=this.dba(),l=this.Zn();this.Ph=b;this.vb.content.html(this.iF(b));
this.vb.cB=this.ba.nt(this.Ph.top,l.top)-d;this.vb.Gr=this.ba.ot(this.Ph.left,l.left)-g;this.$b||this.ba.jC(this.Ol.bottom)||(this.vb.zT=this.ba.RB(this.ba.Ug,!1));this.$b||(this.vb.yT=this.ba.FF(this.ba.Zf,!1),this.ba.iC(this.Ol.right)&&(this.vb.Gr+=a));this.$b=!0}}Zn(a=!1){var b=new f.uD;b.top=this.ba.DB(a);b.left=this.ba.BB(a);b.bottom=this.ba.Tx(a);b.right=this.ba.CB(a);return b}Oy(){this.vb.dB=Math.max(this.ba.At,this.ba.vd-this.ba.NC);this.vb.pY=Math.max(this.ba.zt,this.ba.od-this.ba.MC);this.vb.content.right=
this.ba.NC;this.vb.content.bottom=this.ba.MC;this.vb.wxa=this.ba.WB;this.vb.NGa=this.ba.YB}OL(a,b){for(var d=[],g=this.Zn(!0),l=g.top;l<g.bottom;l++)for(var m=0;m<a.length;m++){var n=a[m];this.E_(l,n)||d.push(cb(this.Dx(l,n)))}var p=this.dl.content.element.querySelector(".fm-row-hidden");null==p&&(p=document.createElement("div"),p.classList.add("fm-row"),p.classList.add("fm-row-hidden"),this.dl.content.element.appendChild(p),this.dl.content.element.insertBefore(p,this.dl.content.element.childNodes[0]));
p.innerHTML=d.join("");this.requestAnimationFrame(()=>{for(var q=0;q<p.children.length;q++)this.AM(p.children.item(q),!1,!0);b()})}dispose(){super.dispose();this.vb.dispose()}}f.lia=c})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends f.sD{jb(){this.Oy();var a=this.Zn();if(this.$b||this.ba.jC(a.bottom)||!this.Ol.contains(a)){var b=a.clone();0!=this.ba.om&&(b.bottom=Math.min(b.bottom,this.ba.om));this.$b&&this.Ph.contains(b)||(this.ba.jC(a.bottom)&&(a.top=Math.max(a.top-1,this.ba.Xd)),this.vb.content.html(this.iF(a,e.i.B.F.Pk)),this.fP=!1,this.Ol.set(a))}}kQ(a){this.cell=super.kQ(a);this.cell.style["min-height"]=this.cell.style.height;delete this.cell.style.height;
delete this.cell.style["line-height"];return this.cell}mJ(){this.vb.cB=this.$b?this.ba.scrollTop-this.ba.nt(this.ba.Xd,this.Ph.top):-this.ba.HK(this.Ol.top)}Zn(a=!1){var b=new f.uD;b.top=this.ba.DB(a);b.left=0;b.bottom=this.ba.Tx(a);b.right=this.ba.Fd;a&&b.bottom==this.ba.om&&b.bottom++;return b}Jx(){var a=this.Zn(!0);if(!(this.$b&&this.ba.ov&&this.Ph.contains(a))){var b=this.eba(),d=this.Zn();this.Ph=a;this.vb.content.html(this.iF(a,e.i.B.F.Pk));this.vb.cB=this.ba.nt(this.Ph.top,d.top)-b;this.$b||
this.ba.jC(this.Ol.bottom)||(this.ba.scrollTop=this.vb.zT=this.ba.RB(this.ba.Ug,!1));this.$b=!0}}HGa(a){for(var b=0;b<a.Ka.length;b++){const d=this.vb.content.element.querySelectorAll(`[data-c="${b}"]`);for(let g=0;g<d.length;g++)d.item(g).style.minWidth=this.ba.Vg(b)+"px"}}Oy(){this.vb.pY=this.ba.zt+this.ba.MC;this.vb.content.bottom=0;this.vb.scrollTop=this.ba.scrollTop}GZ(a,b){a=this.ba.rK(a,!0)-1;b=this.ba.IK(b)-1;var d=this.Om(b,a);null==d&&(d=new h.X.$d,d.mb=b,d.fc=a);return d}}f.uma=c})(h.sheet||
(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends f.sD{constructor(a,b){super(a,b);this.Rm=new f.nV(this)}jb(){w.cancelIdleCallback(this.xI);this.Oy();var a=this.Zn();if(this.$b||this.ba.iC(a.right)||!this.Ol.contains(a)){var b=a.clone();0!=this.ba.mj&&(b.right=Math.min(b.right,this.ba.mj));this.$b&&this.Ph.contains(b)||(this.ba.iC(a.right)&&(a.left=Math.max(a.left-1,this.ba.Fd)),this.Rm.ZL(),this.vb.content.html(this.iF(a,!1,e.i.B.F.Pk)),this.Rm.TL(),this.$b=!1,this.Ol.set(a))}}mJ(){this.vb.Gr=
this.$b?this.ba.scrollLeft-this.ba.ot(this.ba.Fd,this.Ph.left):-this.ba.qK(this.Ol.left)}Zn(a=!1){var b=new f.uD;b.top=0;b.left=this.ba.BB(a);b.bottom=this.ba.Xd;b.right=this.ba.CB(a);a&&b.right==this.ba.mj&&b.right++;return b}Jx(){var a=this.vb.dB;this.Oy();a=this.vb.dB-a;var b=this.Zn(!0);if(!(this.$b&&this.ba.ov&&this.Ph.contains(b))){w.cancelIdleCallback(this.xI);var d=this.dba(),g=this.Zn();this.Ph=b;this.Rm.ZL();this.vb.content.html(this.iF(b,!1,e.i.B.F.Pk));this.Rm.TL();this.vb.Gr=this.ba.ot(this.Ph.left,
g.left)-d;this.$b||(this.vb.yT=this.ba.FF(this.ba.Zf,!1),this.ba.iC(this.Ol.right)&&(this.vb.Gr+=a));this.$b=!0}}Oy(){this.vb.dB=this.ba.At+this.ba.NC;this.vb.content.right=0}yqa(){w.cancelIdleCallback(this.xI);this.xI=w.requestIdleCallback(()=>this.i7())}i7(){var a=this.ba.Iva();if(0!=a.length){for(var b=[],d=0;d<this.ba.Xd;d++)for(var g=0;g<a.length;g++){var l=a[g];this.E_(d,l)||b.push(cb(this.Dx(d,l)))}var m=this.dl.content.element.querySelector(".fm-row-hidden");null==m&&(m=document.createElement("div"),
m.classList.add("fm-row"),m.classList.add("fm-row-hidden"),this.dl.content.element.insertBefore(m,this.dl.content.element.childNodes[0]));m.innerHTML=b.join("");this.requestAnimationFrame(()=>{for(var n=0;n<m.children.length;n++)this.AM(m.children.item(n),!1,!0);this.xI=w.requestIdleCallback(()=>this.i7())})}}OL(a,b){for(var d=[],g=0;g<this.ba.Xd;g++)for(var l=0;l<a.length;l++){var m=a[l];this.E_(g,m)||d.push(cb(this.Dx(g,m)))}var n=this.dl.content.element.querySelector(".fm-row-hidden");null==n&&
(n=document.createElement("div"),n.classList.add("fm-row"),n.classList.add("fm-row-hidden"),this.dl.content.element.insertBefore(n,this.dl.content.element.childNodes[0]));n.innerHTML=d.join("");this.requestAnimationFrame(()=>{for(var p=0;p<n.children.length;p++)this.AM(n.children.item(p),!1,!0);b()})}GZ(a,b){a=this.ba.rK(a)-1;b=this.ba.IK(b,!0)-1;var d=this.Om(b,a);null==d&&(d=new h.X.$d,d.mb=b,d.fc=a);return d}BJ(){w.cancelIdleCallback(this.xI)}dispose(){this.BJ();super.dispose()}}f.w4=c})(h.sheet||
(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends v.Da{constructor(){super("div","fm-grid-layout");this.vfa=1E3;this.nx=[];this.LI=!1;this.cY=a=>this.qAa(a);this.vea=a=>this.pCa(a);this.efa=a=>this.zCa(a);this.VP=0;this.ol();this.ba=new f.gh;this.Nm=new f.Nma(this.ba);this.Um=new f.Mma(this);this.ve();this.Jh(-1)}ve(){this.EY();this.$sa();this.G9();this.Ysa();this.Jsa();this.Xsa()}EY(){this.xr=new v.Oc;this.xr.G.display="block";this.xr.$("fm-grid-title");this.xr.$("fm-pivot-title");
this.xr.LT(!0);this.xr.G.U("position","relative");this.xr.cb();this.FA(this.xr)}$sa(){this.wr=new f.Oma(this.ba);this.wr.$("fm-sheet-headers");this.W(this.wr)}G9(){this.fd=new f.w4(this.ba,(a,b)=>this.Kf(a,b));this.fd.$("fm-cols-sheet");this.fd.vb.element.addEventListener("wheel",this.cY);this.fd.N(h.hc.Fm,a=>this.Tj(a));w.Dd().lm&&(this.fd.vb.U("overflow","scroll"),this.fd.vb.placeholder.U("z-index","1"),this.fd.vb.N(db,()=>this.pAa(),!0));this.W(this.fd)}Ysa(){this.pe=new f.uma(this.ba,(a,b)=>this.Kf(a,
b));this.pe.$("fm-rows-sheet");this.pe.vb.element.addEventListener("wheel",this.vea);this.pe.N(h.hc.Fm,a=>this.Tj(a));w.Dd().lm&&(this.pe.vb.U("overflow","scroll"),this.pe.vb.placeholder.U("z-index","1"),this.pe.vb.N(db,()=>this.oCa(),!0));this.W(this.pe)}Jsa(){this.Pc=new f.lia(this.ba,(a,b)=>this.Kf(a,b));this.Pc.$("fm-data-sheet");this.Pc.vb.N(db,()=>this.CAa(),!0);this.Pc.N(f.sD.PU,a=>this.rda(a));this.Pc.N(f.sD.Q4,a=>this.rda(a));this.Pc.N(h.hc.Fm,a=>this.Tj(a));this.W(this.Pc)}Xsa(){this.pr=
new f.Tha(this);this.pr.$("fm-cols-resize");this.pr.N(h.hc.VD,a=>this.mAa(a));this.W(this.pr);this.vr=new f.vma(this);this.vr.$("fm-rows-resize");this.vr.N(h.hc.WD,a=>this.nCa(a));this.W(this.vr);this.element.addEventListener("dblclick",this.efa)}jb(a=!1){this.ba.afa();this.ba.SP();this.Pc.width&&this.Pc.height||this.tF();this.ba.setScale();this.H8();e.Pr(this.pW);this.RY();this.nx.push(this.requestAnimationFrame(()=>this.oW(a)))}RY(){for(;0<this.nx.length;)this.cancelAnimationFrame(this.nx.pop())}oW(a=
!1){this.bb(k.ri.Ew,this,{smooth:!1});k.Pb.Gb.bb(k.ri.Ew,this,{smooth:!1});const b=this.ba.IP();this.$b&&this.pe.HGa(b);this.sF();this.LI&&(this.RX()&&(this.ba.IP(),this.fd.YE(),this.pe.YE(),this.sF()),this.LI=!1);this.ZJ();e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.uo,{smooth:!1}));this.nx.push(this.requestAnimationFrame(()=>{this.tF();this.Um.jb()}));this.nx.push(this.requestAnimationFrame(()=>{var d=!a&&this.QX();d?(this.fd.YE(),this.pe.YE(),this.Pc.YE(),this.jb(!0)):this.ba.Jqa&&(e.Pr(this.pW),this.pW=e.Be(()=>
this.Jx(),this.vfa));!d&&e.i.B.F.Dv&&this.lG()}));this.nx.push(this.requestAnimationFrame(()=>{this.bb(k.ri.uo,this,{smooth:!1});k.Pb.Gb.bb(k.ri.uo,this,{smooth:!1})}))}sF(){this.WY();this.ba.bU=this.rba()?this.xr.wd(!0):0;this.fd.jb();this.fd.mJ();this.pe.jb();this.pe.mJ()}ZJ(){this.wr.jb();this.Um.jb();this.pr.jb();this.vr.jb();this.Pc.jb();this.Pc.mJ()}WY(){this.rba()?(this.xr.$a(e.i.B.F.ip),this.xr.show()):this.xr.cb()}rba(){return!(e.ia(e.i.B.F.ip)||this instanceof f.flat.IH&&this.Ak)}RX(){this.fd.tx(!0);
this.pe.tx(!0);return this.fd.fC||this.pe.fC}QX(){this.Pc.tx(!0);this.fd.tx(!0);this.pe.tx(!0);return this.Pc.fC||this.fd.fC||this.pe.fC}Jx(){this.RY();this.nx.push(this.requestAnimationFrame(()=>this.goa()))}goa(){this.OL(()=>{k.Pb.Gb.bb(k.ri.Ew,this,{smooth:!0});this.fd.Jx();this.pe.Jx();this.Pc.Jx();this.ba.scrollLeft=this.Pc.vb.scrollLeft;this.ba.scrollTop=this.Pc.vb.scrollTop;e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.uo,{smooth:!0}));this.type==f.flat.IH.jr&&e.i.B.F.Dv&&this.lG();this.ba.ov||0!=this.ba.scrollLeft||
this.fd.yqa();this.nx.push(this.requestAnimationFrame(()=>{k.Pb.Gb.bb(k.ri.uo,this,{smooth:!0})}))})}OL(a){var b=this.ba.Jva(this.ba.Zn(!0));0==b.length?a():this.fd.OL(b,()=>{this.Pc.OL(b,a)})}rda(a){a.type==f.sD.PU&&this.requestAnimationFrame(()=>{this.fd.Kfa();this.pe.Kfa()})}CAa(){this.u2(this.Pc.vb.scrollTop,this.Pc.vb.scrollLeft)}oCa(){this.u2(this.pe.vb.scrollTop)}pAa(){this.u2(NaN,this.fd.vb.scrollLeft)}pCa(a){if(this.coords.YB){var b=a.wheelDeltaY||a.deltaY||a.wheelDelta||0;w.Dd().eL&&(b*=
-40);w.Dd().Si&&(b*=-1);isNaN(b)||0==b||(this.Pc.vb.scrollTop=this.ba.scrollTop-b);a.preventDefault()}}qAa(a){if(this.coords.WB){var b=a.wheelDeltaX||a.deltaX||0;w.Dd().eL&&(b*=-40);w.Dd().Si&&(b*=-1);0!=b&&(this.Pc.vb.scrollLeft=this.ba.scrollLeft-b);a.preventDefault()}}get slice(){return this.Wb}set slice(a){this.Wb=a}get type(){return this.lg}get coords(){return this.ba}tF(){this.width=this.coords.pp;this.height=this.coords.Vr;this.pr.left=0;this.pr.top=this.coords.ke;this.pr.right=0;this.pr.height=
this.coords.Ot();this.vr.left=0;this.vr.top=this.coords.ke;this.vr.bottom=0;this.vr.width=this.coords.Sr()}get Qq(){var a=[];if(0<this.m2.Qq.length)for(var b,d=0;d<this.Um.Qq.length;d++)null!=this.Um.Qq.ea(d).gj&&(b=this.Um.mF(this.Um.Qq.ea(d).pv),this.Zwa(a,b.from,b.ro));return a}Zwa(a,b,d){if(b&&d)for(var g=this.Um.Xua(b,d);g<=this.Um.kGa(b,d);g++)for(var l=this.Um.Pua(b,d);l<=this.Um.$Fa(b,d);l++){var m=this.Kf(g,l,!0);null==m&&(m=new h.X.$d,m.mb=g,m.fc=l);a.push(m)}}Kf(a,b,d=!1){var g=this.Nm.getData(a,
b,!d);return d&&null==g?this.Nm.Zva(a,b):g}insertCell(a,b,d,g=!1){this.Nm.setData(a,b,d,g)}resize(a,b){this.ba.resize(a,b,!0)}set HB(a){this.Nm.HB=a}Tea(a,b){this.ba.Uo=a;this.ba.kl=b}oaa(a){a!=this.ba.Xd&&(this.ba.Ug=a+(this.ba.Ug-this.ba.Xd));this.ba.Xd=a}Nua(a){a!=this.ba.Fd&&(this.ba.Zf=a+(this.ba.Zf-this.ba.Fd));this.ba.Zf<a&&(this.ba.Zf=a);this.ba.Fd=a}sv(){this.LI=!0;this.Nm.reset();this.ba.reset();this.fd.tv();this.pe.tv();this.Pc.tv();this.Um.clear();this.Pc.vb.scrollTop=0;this.Pc.vb.scrollLeft=
0;this.BJ()}clearData(){this.Nm.reset();this.fd.tv();this.pe.tv();this.Pc.tv();this.ba.SP();this.ba.gra()}ZE(a){this.LI=!0;this.ba.ZE(a)}UA(a){this.LI=!0;this.ba.UA(a)}select(a,b,d,g){this.Um.select(new f.hr(b,a),new f.hr(g,d));this.element.focus({preventScroll:!0})}Lr(){this.Um.clear();this.element.blur()}BJ(){this.RY();e.Pr(this.pW);e.Pr(this.pra);this.fd.BJ()}dispose(){this.Nm.dispose();this.Um.dispose();this.BJ();this.fd.vb.element&&this.fd.vb.element.removeEventListener("wheel",this.cY);this.fd.dispose();
this.pe.vb.element&&this.pe.vb.element.removeEventListener("wheel",this.vea);this.pe.dispose();this.Pc.dispose();this.pr.dispose();this.vr.dispose();this.element&&this.element.removeEventListener("dbclick",this.efa);super.dispose()}Tj(a){null!=a.cell&&this.Ga(a);this.IS(a)}xp(a){this.Ga(a)}IS(a){this.VP++;1==this.VP&&(this.pra=e.Be(()=>{if(1==this.VP){if(a.cell){var b=new h.y5(a.cell,!0,a.element);this.Ga(b)}}else a.cell&&(b=new h.y5(a.cell,!1,a.element),this.Ga(b));this.VP=0},300))}u2(a=NaN,b=NaN){var d=
!1;isNaN(a)||a==this.coords.scrollTop||(this.coords.scrollTop=a,this.coords.Ug=this.coords.IK(a),this.pe.vb.scrollTop=a,d=!0);isNaN(b)||b==this.coords.scrollLeft||(this.coords.scrollLeft=b,this.coords.Zf=this.coords.rK(b),this.fd.vb.scrollLeft=b,d=!0);d&&this.jb()}mAa(a){this.Ga(a);this.ba.IP();0<a.data.width?this.ba.bM(a.data.fc,a.data.width,!1,!0):this.ba.lEa(a.data.fc);this.wQ()}nCa(a){this.Ga(a);this.ba.IP();0<a.data.height?this.ba.uw(a.data.mb,a.data.height,!1,!0):this.ba.nEa(a.data.mb);this.wQ()}zCa(a){if(0!=
e.i.B.F.Pk){var b=this.mf(),d=a.clientX-b.left;a=a.clientY-b.top;d>this.coords.Sr()&&a>this.coords.ke+this.coords.Ot()||(a=this.coords.sR(a,this.$b),d=this.coords.ZQ(d,this.$b),-1!=a||isNaN(d)||this.pr.bb(h.hc.VD,this,{width:-1,fc:d}),-1!=d||isNaN(a)||(this.vr.bb(h.hc.WD,this,{height:-1,mb:a}),this.bb(h.hc.ima,this,{height:-1,mb:a})))}}wQ(){this.fd.tv();this.pe.tv();this.Pc.tv();this.H8();this.jb()}H8(){if(0<this.coords.scrollLeft&&0<this.coords.Mua){var a=Math.max(0,this.coords.At-this.coords.vd+
this.coords.NC);this.coords.scrollLeft=a;this.coords.Zf=this.coords.rK(a);this.Pc.vb.yT=a;this.fd.vb.yT=a}0<this.coords.scrollTop&&0<this.coords.Lua&&(a=Math.max(0,this.coords.zt-this.coords.od+this.coords.MC),this.coords.scrollTop=a,this.coords.Ug=this.coords.IK(a),this.Pc.vb.zT=a,this.pe.vb.zT=a)}pK(a){var b=v.Da.Ib(a);a=b.closest(".fm-cell");return null!=a?(b=parseInt(a.attr("data-r")),a=parseInt(a.attr("data-c")),this.Kf(b,a,!0)):null!=b.closest(".fm-page-filter")&&null!=b.closest(".fm-filter-header")?
(a=b.closest(".fm-filter-header"),a=parseInt(a.attr("data-h")),a=this.slice.lb.ea(a),b=new h.X.$d,b.label=a.caption,b.Bk=!0,b.hierarchy=a,b):null}zaa(a,b){b=this.coords.sR(b-this.offset().top,!1);a=this.coords.ZQ(a-this.offset().left,!1);let d=this.Kf(b,a,!0);e.w(d)&&(d=new h.X.$d,d.mb=b,d.fc=a);return d}get $b(){return this.Pc.$b}EG(a){this.Pc.vb.scrollTop=this.coords.RB(a)}aM(a){this.Pc.vb.scrollLeft=this.coords.FF(a)}JEa(){this.Pc.vb.scrollTop+=this.coords.od}MEa(){this.Pc.vb.scrollTop-=this.coords.od}LEa(){this.Pc.vb.scrollLeft+=
this.coords.vd}KEa(){this.Pc.vb.scrollLeft-=this.coords.vd}get I(){return this.Nm}get m2(){return this.Um}c2(a,b){this.coords.bM(a,b,!1,!0)}e2(a,b){this.coords.uw(a,b,!1,!0)}lG(){this.Mr({rm:(a,b,d,g)=>this.rm(a,b,d,g),qm:(a,b,d,g)=>this.qm(a,b,d,g),yl:(a,b,d,g)=>this.yl(a,b,d,g)})}I9(a){var b=new v.Da("span");b.$("fm-helper");b.$("fm-draggable");b.$("fm-header-helper");b.U("position","absolute");b.U("z-index",100);b.text(a.element.firstChild.textContent);a=new v.Da("i","fm-remove-icon");b.W(a);return b}qm(a,
b,d,g){a&&a.eb("fm-drag-remove",!1);b&&b.eb("fm-drag-remove",!1);a=v.Da.Ib(g.target);a.yc("fm-header-drop-indicator")||this.aD(a,a)}yl(a,b){this.Cl();a&&a.eb("fm-drag-remove",!0);b&&b.eb("fm-drag-remove",!0)}rm(){}aD(){}yv(){return this.kd?this.kd:new v.Da("div","fm-header-drop-indicator")}Cl(){this.kd&&(this.kd.fg(!0),this.kd=null)}TS(a){e.Pr(this.Xya);var b=this.slice.ad.Fg(a.pg);if(!e.w(b)){var d=this.Tsa(b,a.value);if(b.filter.gy||null!=d)b.filter.gy&&a.value==b.filter.query.value||(this.Xya=
e.Be(()=>{e.i.Ua.V().Fl(b.A,d);b.filter.Wba=!0},300))}}Tsa(a,b){var d={};if(e.i.ab.wz.lR(a)==e.v.j.pb.kb){a=parseFloat(b);if(isNaN(a))return null;d.query={equal:a}}else{if(e.ia(b))return null;d.query={contain:b}}return d}}f.Q3=c})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends f.SM{constructor(a){super(a,null);this.ba=a;this.sb=[];this.$("fm-filters");this.N(h.hc.Fm,b=>this.Tj(b));this.N("keydown",b=>this.CL(b));this.Rm=new f.nV(this)}jb(){for(var a=[],b=new Ta,d=0;d<this.ba.Xd;d++){b.tag="div";b.$("fm-row");for(var g=0;g<this.ba.Fd;g++)if(e.i.B.F.ts){var l=d-this.ba.Xd+this.sb.length;b.text+=cb(this.iQ(d,g,0<=l?this.sb[l]:null))}else b.text+=cb(this.Dx(d,g));a.push(cb(b))}a=a.join("");this.element.innerHTML!=
a&&(this.Rm.ZL(),this.html(a),this.Rm.TL())}iQ(a,b,d){var g=this.sb.indexOf(d);this.cell.clear();this.cell.tag="div";this.cell.$(h.X.xa.we);this.cell.$(h.X.xa.Aj);this.cell.$(h.X.xa.Fu);d?(this.cell.$(h.X.xa.Ue+g),this.cell.text=e.P.ap(d.caption,!0).replace(/\n/g,"<br>"),e.i.B.F.rp?(this.hy(this.cell,d),this.cell.$(h.X.xa.PH),this.cell.attr["data-h-name"]=d.A,this.cell.text+=this.Rm.BY(d)):e.i.B.F.ww&&d.jL&&(this.cell.attr.title=e.i.C.u.Rz,this.hy(this.cell,d))):this.cell.$(h.X.xa.xU);this.Pea(this.cell,
a,b);this.cell.attr["data-c"]=b;this.cell.attr["data-r"]=a;0<=g&&(this.cell.attr["data-h"]=g,this.cell.attr.tabindex="0");return this.cell}hy(a,b){a.$(h.X.xa.dr);b.filter.Xg&&(a.$(h.X.xa.WU),a.text+=this.On(h.X.xa.yH,e.i.C.u.TV));a.text+=this.On(h.X.xa.EH)}Qy(a){for(var b=this.sb.length=0;b<a.length;b++){var d=a.ea(b);0==d.cg&&this.sb.push(d)}}Tj(a){if(!e.i.B.F.rp){var b=a.element;b.yc(h.X.xa.dr)&&(b=parseInt(b.attr("data-h")),isNaN(b)||this.Ga(new h.sN(this.sb[b],a.cell)))}}CL(a){if(!e.i.B.F.rp&&
(32==a.keyCode||13==a.keyCode)){var b=a.target;a=parseInt(b.getAttribute("data-r"));b=parseInt(b.getAttribute("data-c"));isNaN(a)||isNaN(b)||this.Ga(new h.$U(a,b))}}clear(){this.sb.length=0;this.jb()}}f.E6=c})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends f.SM{constructor(a){super(a,null);this.rowIndex=0;this.ba=a;this.sb=[];this.$("fm-filters");this.cb();this.N(h.hc.Fm,b=>this.Tj(b));this.N("keydown",b=>this.CL(b));this.Rm=new f.nV(this)}jb(){this.Rm.ZL();this.pw();if(e.i.B.F.ts){var a=new Ta("div");a.$("fm-row");a.style.height=this.ba.Md(this.rowIndex)+"px";for(var b=0;b<this.sb.length;b++)a.text+=cb(this.iQ(this.rowIndex,b,this.sb[b]));this.html(cb(a));this.Rm.TL();0==this.sb.length?
this.cb():this.show()}else this.cb()}iQ(a,b,d){this.cell.clear();this.cell.tag="div";this.cell.$(h.X.xa.we);this.cell.$(h.X.xa.Aj);d&&(this.cell.text=e.P.ap(d.caption,!0).replace(/\n/g,"<br>"),e.i.B.F.rp?(this.hy(this.cell,d),this.cell.$(h.X.xa.PH),this.cell.attr["data-h-name"]=d.A,this.cell.text+=this.Rm.BY(d)):e.i.B.F.ww&&d.jL&&(this.cell.attr.title=e.i.C.u.Rz,this.hy(this.cell,d)));this.cell.style["min-height"]=this.ba.Md(a)+"px";this.cell.style["max-height"]=this.ba.Md(a)+"px";this.cell.attr["data-r"]=
a;this.cell.attr["data-c"]=this.ba.Zf+b;this.cell.attr["data-h"]=b;this.cell.attr.tabindex="0";return this.cell}hy(a,b){a.$(h.X.xa.dr);b.filter.Xg&&(a.$(h.X.xa.WU),a.text+=this.On(h.X.xa.yH,e.i.C.u.TV));a.text+=this.On(h.X.xa.EH)}Qy(a){for(var b=this.sb.length=0;b<a.length;b++){var d=a.ea(b);0==d.cg&&this.sb.push(d)}0==this.sb.length?this.cb():this.show()}Tj(a){if(!e.i.B.F.rp&&(a=a.element,a.yc(h.X.xa.dr))){var b=parseInt(a.attr("data-h"));isNaN(b)||this.Ga(new h.sN(this.sb[b],null,a))}}CL(a){if(!e.i.B.F.rp&&
(32==a.keyCode||13==a.keyCode)){var b=a.target;a=parseInt(b.getAttribute("data-r"));b=parseInt(b.getAttribute("data-c"));isNaN(a)||isNaN(b)||this.Ga(new h.$U(a,b))}}clear(){this.sb.length=0;this.jb()}}f.Uha=c})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends v.Da{constructor(){super();this.sb=[];this.$("fm-ui-hgroup");this.$("fm-filters");this.cb()}jb(){this.pw();if(e.i.B.F.ww&&e.i.B.F.JG){for(var b=[],d=0;d<this.sb.length;d++){var g=this.sb[d];g.jL?(g=new a(g,!0),g.G.attr("data-h",d),g.N(v.yd.Fe,l=>this.Tj(l)),this.W(g.G)):b.push(d)}0==this.sb.length||b.length==this.sb.length?this.cb():this.show()}else this.cb()}Qy(b){for(var d=this.sb.length=0;d<b.length;d++){var g=b.ea(d);0==g.cg&&
this.sb.push(g)}this.jb()}Tj(b){b=b.target;this.Ga(new h.sN(b.hierarchy,null,b.G))}clear(){this.sb.length=0;this.jb()}get ib(){return 0==this.sb.length}}f.$la=c;class a extends v.yd{constructor(b,d=!1){super();this.Fc=b;this.Aoa=d;this.$a(this.Fc.caption);this.Pd("fm-ui-btn");this.$(h.X.xa.dr);this.$(h.X.xa.Aj);this.G.attr("title",e.i.C.u.Rz);this.B7=new v.Da("i",h.X.xa.iV);this.B7.$(h.X.xa.EH);this.G.append(this.B7);this.C7=new v.Da("i",h.X.xa.iV);this.C7.$(h.X.xa.yH);this.G.append(this.C7);this.$R=
this.Fc.filter.Xg;this.Aoa&&(this.ej=new v.Oc,this.ej.$a(this.fwa()),this.ej.$("fm-filter-desc"),this.W(this.ej))}get hierarchy(){return this.Fc}get $R(){return this.G.yc("fm-filtered")}set $R(b){this.G.eb("fm-filtered",b)}fwa(){var b=e.i.C.u.zH;this.hierarchy.filter.Xg&&(b=1==this.hierarchy.fb.length?this.hierarchy.ya(this.hierarchy.fb[0]).caption:e.i.C.u.FH);return b}}f.lIa=a})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends f.Q3{constructor(){super();this.lg=c.jr;this.$("fm-compact-view")}ve(){super.ve();this.Wsa();this.N9();this.Hsa()}Hsa(){this.Eg=new f.Uha(this.ba);this.Eg.$("fm-cols-filter");this.Eg.N(h.hc.Cu,a=>this.xp(a));this.Eg.N(h.hc.QH,a=>this.TS(a));this.Eg.N(h.hc.Du,a=>this.Ga(a));this.W(this.Eg)}N9(){this.ce=new f.E6(this.ba);this.ce.$("fm-rows-filter");this.ce.N(h.hc.Cu,a=>this.xp(a));this.ce.N(h.hc.Fm,a=>this.Tj(a));this.ce.N(h.hc.QH,
a=>this.TS(a));this.ce.N(h.hc.Du,a=>this.Ga(a));this.W(this.ce)}Wsa(){this.Ii=new f.$la;this.Ii.$("fm-page-filter");this.Ii.N(h.hc.Cu,a=>this.xp(a));this.W(this.Ii)}sF(){this.ba.sZ=this.Ii.ib?0:this.Ii.element.offsetHeight;super.sF();this.ce.jb()}ZJ(){super.ZJ();this.Eg.jb()}RX(){this.ce.tx(!0);return super.RX()||this.ce.fC}QX(){this.ce.tx(!0);return super.QX()||this.ce.fC}tF(){super.tF();this.Ii.ib||(this.Ii.top=this.ba.bU,this.Ii.left=0,this.Ii.right=0);this.wr.top=this.ba.ke;this.wr.left=0;this.wr.width=
this.ba.Ep;this.wr.height=this.ba.uq;this.ce.left=this.ba.FF(0,!0);this.ce.top=this.ba.ke+this.ba.RB(0,!0);this.Eg.top=this.ba.ke+this.ba.RB(this.Eg.rowIndex,!0);this.Eg.left=this.ba.Ep;this.Eg.right=Math.max(0,this.ba.pp-this.ba.ul(this.ba.mj,this.$b));this.pr.top=this.TDa()?this.ba.ke:this.Eg.wd();this.vr.top=this.ba.ke;this.fd.left=this.ba.Ep;this.fd.top=this.ba.ke;this.fd.width=this.ba.vd;this.fd.height=this.ba.Vr-this.ba.ke;this.pe.left=0;this.pe.top=this.ba.uq+this.ba.ke;this.pe.width=this.ba.pp;
this.pe.height=this.ba.od;this.Pc.left=this.ba.Ep-parseInt(this.Pc.U("border-left-width"));this.Pc.top=this.ba.uq+this.ba.ke-parseInt(this.Pc.U("border-top-width"));this.Pc.width=this.ba.vd;this.Pc.height=this.ba.od}TDa(){return!(this.Eg.visible&&!e.i.B.F.Pk)}wQ(){super.wQ();this.ce.jb();this.Eg.jb()}lG(){super.lG();for(var a={Nn:g=>this.I9(g),ju:g=>this.ju(g)},b=this.Eg.find(".fm-header:not(.fm-empty)",!0),d=0;d<b.length;d++)b[d].draggable(a);b=this.ce.find(".fm-header:not(.fm-empty)",!0);for(d=
0;d<b.length;d++)b[d].draggable(a);b=this.Ii.find(".fm-header:not(.fm-empty)",!0);for(d=0;d<b.length;d++)b[d].draggable(a)}ju(a){if(a.yc("fm-drag-remove")){var b=parseInt(a.attr("data-h"));a=a.closest(".fm-filters");var d=this.slice.clone();a==this.Eg?d.Ka.SL(b):a==this.ce?d.rows.SL(b):a==this.Ii&&d.lb.SL(b);e.i.Ua.V().de(d)}}rm(a,b,d){d=this.Laa(d);if(null==d)this.Cl();else{var g=this.dwa(d,this.kd);this.Cl();if(!isNaN(g)){var l=parseInt(a.attr("data-h")),m=a.closest(".fm-filters");b=this.slice.clone();
if(m==this.Eg){var n=b.Fb.ea(l);l=b.Ka.indexOf(n.A)}else m==this.ce?(n=b.Ab.ea(l),l=b.rows.indexOf(n.A)):m==this.Ii&&(n=b.lb.ea(l),l=b.lb.indexOf(n.A));null!=n&&(d==m&&l<g&&g--,d!=m||l!=g)&&(a.cb(),d==m?d==this.Eg?b.Ka.B0(l,g):d==this.ce?b.rows.B0(l,g):d==this.Ii&&b.lb.B0(l,g):(b.Ka.removeItem(n.A),b.rows.removeItem(n.A),b.lb.removeItem(n.A),d==this.Eg?b.Ka.iJ(n.A,n,g):d==this.ce?b.rows.iJ(n.A,n,g):d==this.Ii&&b.lb.iJ(n.A,n,g)),1<b.Ka.length&&b.Ka.ea(0).cg&&(a=b.Ka.ea(0),b.Ka.splice(0,1),b.Ka.iJ(a.A,
a,b.Ka.length)),e.i.Ua.V().de(b))}}}dwa(a,b){return a==this.Eg?this.Nva(b):a==this.ce?this.aba(b):a==this.Ii?this.Hwa(b):NaN}Nva(a){if(null!=a){a=a.index();if(a>this.slice.Ka.length)return this.slice.Ka.length;var b=this.slice.Ka.indexOf("[Measures]");0<=b&&b<=a&&0!=a&&a++;return a}return NaN}aba(a){if(null!=a){a=a.parent.yc("fm-filters")?this.slice.rows.length:(a=a.parent.find(".fm-header"))?parseInt(a.attr("data-h")):0;if(a>this.slice.rows.length)return this.slice.rows.length;var b=this.slice.rows.indexOf("[Measures]");
0<=b&&b<=a&&0!=a&&a++;return a}return NaN}Hwa(a){return null!=a?(a=a.index(),a>this.slice.lb.length?this.slice.lb.length:a):NaN}Laa(a){var b=a.closest(".fm-filters");if(null==b){var d=a.closest(".fm-cell");null!=d?(d.attr("data-r"),a=parseInt(d.attr("data-c")),this.vya(a)?b=this.Eg:this.wya(a)&&(b=this.ce)):(a=a.closest(".fm-resize-handles"),null!=a&&(a.yc("fm-cols-resize")?b=this.Eg:a.yc("fm-rows-resize")&&(b=this.ce)))}return b}vya(a){return a>=this.coords.Fd}wya(a){return a<=this.coords.Fd}aD(a,
b){a=this.Laa(a);if(null==a)this.Cl();else{var d=b.closest(".fm-header:not(.fm-empty)");null!=b.closest(".fm-filters")&&null!=d?(this.kd=this.yv(),a==this.Ii?d.before(this.kd):b.before(this.kd)):(this.kd=this.yv(),a==this.Eg?this.Eg.find(".fm-row").append(this.kd):a==this.ce?null!=b.closest(".fm-filters")?this.ce.find(".fm-header").before(this.kd):this.lg==f.SA.YM.jr?this.ce.find(".fm-header").parent.append(this.kd):this.ce.append(this.kd):a==this.Ii&&this.Ii.append(this.kd))}}sv(){super.sv();this.Eg.clear();
this.Ii.clear();this.ce.clear()}get YP(){return this.Eg}get tea(){return this.ce}get Ada(){return this.Ii}dispose(){this.Eg.fe();this.Eg.dispose();this.ce.fe();this.ce.dispose();this.Ii.fe();super.dispose()}}c.jr="compact";f.ZM=c})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends v.Da{constructor(a){super("div","fm-resize-handles");this.RI=b=>this.iw(b);this.Ws=b=>this.Jq(b);this.rA=b=>this.jw(b);this.kX=b=>this.C1(b);this.cv=new Ta;this.Ie=a;this.ba=a.coords;this.element.addEventListener("mousedown",this.RI);this.element.addEventListener("touchstart",this.RI);document.body.addEventListener("mouseup",this.Ws);document.body.addEventListener("touchend",this.Ws);document.body.addEventListener("touchcancel",this.Ws);
this.ev=new v.Da("div","fm-indicator");this.ev.cb();this.W(this.ev);this.DA=new v.Da("div","fm-wrapper");this.DA.attr("title",e.i.C.u.O6);this.W(this.DA);w.Dd().lm&&this.$("fm-pointer-events-none")}jb(){this.DA.attr("title",e.i.C.u.O6)}xt(a){this.cv.tag="div";this.cv.$("fm-handle");this.cv.attr["data-idx"]=a;this.cv.attr.title=e.i.C.u.cna;return this.cv}iw(a){if(a.target.classList.contains("fm-handle")){this.Wu=a.target;this.Wu.classList.add("fm-active");this.Xz=this.mf();document.body.addEventListener("mousemove",
this.rA);document.body.addEventListener("touchmove",this.kX);a.stopImmediatePropagation();var b=parseInt(this.Wu.getAttribute("data-idx"));this.nM(b);a.preventDefault();a.stopImmediatePropagation()}}nM(){}Jq(){document.body.removeEventListener("mousemove",this.rA);document.body.removeEventListener("touchmove",this.kX);if(this.Wu){this.Wu.classList.remove("fm-active");var a=parseInt(this.Wu.getAttribute("data-idx"));this.oM(this.Wu,a);this.Wu=null;this.ev.cb()}}oM(){}C1(a){a=a.touches[0];this.dT(this.Wu,
a.clientX-this.Xz.left,a.clientY-this.Xz.top);this.ev.show()}jw(a){var b=a.clientX-this.Xz.left,d=a.clientY-this.Xz.top;0>b||0>d||b>this.ba.pp||d>this.ba.Vr?this.Jq(a):(this.dT(this.Wu,b,d),this.ev.show())}dT(){}dispose(){this.element&&this.element.removeEventListener("mousedown",this.RI);document.body.removeEventListener("mousemove",this.rA);document.body.removeEventListener("mouseup",this.Ws);document.body.removeEventListener("touchmove",this.kX);document.body.removeEventListener("touchend",this.Ws);
document.body.removeEventListener("touchcancel",this.Ws);super.dispose()}}f.C6=c})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends f.C6{jb(){super.jb();this.DA.pw();for(var a="",b=0;b<this.ba.Xd;b++)a+=cb(this.xt(b),!0);b=this.ba.DB();for(var d=Math.min(this.ba.om,this.ba.Tx());b<d;b++)a+=cb(this.xt(b),!0);this.DA.html(a)}xt(a){super.xt(a);this.cv.style.top=this.ba.bo(a,this.Ie.$b,!1)+this.ba.Md(a)+"px";return this.cv}nM(a){this.hX=this.ba.bo(a,this.Ie.$b,!1)}oM(a,b){a=Math.round(a.offsetTop+a.clientHeight/2-this.hX);a=this.ba.jK(a,f.gh.wD,f.gh.$q);this.bb(h.hc.WD,
this,{height:a,mb:b})}dT(a,b,d){d=this.ba.jK(d,this.hX+f.gh.wD,this.hX+f.gh.$q);a.style.top=d+"px";this.ev.top=d;this.ev.width=this.ba.kt}}f.vma=c})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends f.C6{jb(){super.jb();this.DA.pw();for(var a="",b=0;b<this.ba.Fd;b++)a+=cb(this.xt(b),!0);var d=Math.min(this.ba.mj,this.ba.CB());for(b=this.ba.BB();b<d;b++)a+=cb(this.xt(b),!0);this.DA.html(a)}xt(a){super.xt(a);this.cv.style.left=this.ba.ul(a,this.Ie.$b)+this.ba.Vg(a)+"px";return this.cv}nM(a){this.gX=this.ba.ul(a,this.Ie.$b)}oM(a,b){a=Math.round(a.offsetLeft+a.clientWidth/2-this.gX);a=this.ba.jK(a,f.gh.xD,f.gh.Wp);this.bb(h.hc.VD,
this,{width:a,fc:b})}dT(a,b){b=this.ba.jK(b,this.gX+f.gh.xD,this.gX+f.gh.Wp);a.style.left=b+"px";this.ev.left=b;this.ev.height=this.ba.ox}}f.Tha=c})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(a){this.L7=!1;this.Ql=[];this.Sm=[];this.D$=()=>this.NAa();this.P9=()=>this.MAa();this.haa=()=>this.OAa();this.Ie=a;this.ba=a.coords;this.Ie.N(h.hc.Fm,b=>this.tC(b))}jb(){this.p$(this.jh)}set zea(a){this.k8=a}Wea(a=!0){this.L7=a}Ffa(){this.l2();null!=this.jh&&(this.jh.fg(!0),this.jh=null)}tC(a){this.stop();this.Xxa(a.cell.fc)&&a.cell.Fh&&this.z$(a.cell)}Xxa(a){return this.L7||-1<this.Ql.indexOf(a)}clear(){this.Ql=[];this.Sm=[];
this.md=null}z$(a){!e.i.B.F.sB||null!=this.md&&this.md.mb==a.mb&&this.md.fc==a.fc||(this.md=a,this.Fta(),this.Ie.m2.jb())}Bpa(a){this.md.label=a+"\n"}get Pba(){return null!=this.md}stop(){e.i.B.F.sB&&(this.Ffa(),this.md=null)}save(a){if((e.i.B.F.sB||this.Pba)&&null!=this.md){a=a.replace(/\n/gi,"<br>");if(this.md.measure.type==e.v.j.Na.Pa)this.md.value=Date.parse(a);else if(this.md.measure.type!=e.v.j.Na.oc){a=a.replace(/,/gi,".");a=a.replace(/[^\d|\.|\-]/gi,"");this.md.value=parseFloat(a);var b=this.md.measure.$f().clone();
this.md.label=w.Ub.format(this.md.value,b)}else this.md.label=a;null!=this.k8&&this.k8(this.md.mb,this.md.fc,this.md.measure.type!=e.v.j.Na.oc?this.md.value:a);null!=this.md&&this.Ie.I.fra(this.md.mb,this.md.fc)}}Fta(){null!=this.md&&this.md.Fh&&(null!=this.jh&&(this.jh.fe(),this.jh.fg(),this.jh=null),this.md.mb<this.ba.DB()||this.md.fc<this.ba.BB()||this.md.mb>this.ba.Tx()||this.md.fc>this.ba.CB()||(this.jh=new v.Su,this.jh.$("fm-editing-cell"),this.Ie.FA(this.jh),this.p$(this.jh),this.md.label=
this.md.label.replace(/<br\s*[\/]?>/gi,"\n"),this.jh.Yi(this.ewa(this.md)),this.jh.N(v.Su.rz,this.D$),this.jh.N(v.Su.MU,this.P9),this.jh.N(v.Su.NU,this.haa),this.jh.G.focus(),this.jh.selectAll(),this.jh.show()))}ewa(a){return a.measure.type==e.v.j.Na.oc?a.label:isNaN(a.value)?"":a.measure.type==e.v.j.Na.Pa?(new Date(a.value)).toISOString().substr(0,10):a.value.toString()}p$(a){if(a){this.md.mb<this.ba.DB()||this.md.fc<this.ba.BB()||this.md.mb>this.ba.Tx()||this.md.fc>this.ba.CB()?a.cb():a.show();
var b=Math.min(this.ba.Vg(this.md.fc),this.ba.kt-this.ba.ul(this.md.fc,this.Ie.$b));a.G.U("left",this.ba.ul(this.md.fc,this.Ie.$b)-1+"px");a.G.U("top",this.ba.bo(this.md.mb,this.Ie.$b)-1+"px");a.Zj(b+1);a.Ip(this.ba.Md(this.md.mb)+1)}}NAa(){this.jea();this.l2();var a=this.Ie.Kf(this.md.mb+1,this.md.fc);this.stop();null!=a?(a.mb>this.ba.Tx()-3&&this.Ie.EG(this.ba.Ug+1),this.z$(a)):this.stop()}OAa(){this.jea();this.l2();this.stop()}MAa(){this.Pba&&this.Bpa(this.jh.Qi());this.jh.Yi(this.md.label)}l2(){null!=
this.jh&&this.save(this.jh.Qi());null!=this.md&&(this.Ie.clearData(),this.Ie.jb())}jea(){this.jh.qb(v.Su.rz,this.D$);this.jh.qb(v.Su.MU,this.P9);this.jh.qb(v.Su.NU,this.haa)}}f.Dia=c})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(a){this.focused=null;this.T_=!1;this.target=a;this.target.N("keyup",b=>this.kda(b));this.target.N("paste",b=>this.kda(b));this.target.N("focusout",()=>this.bBa())}BY(a){return"<div><input type='text' class='fm-ui-text-input' value='"+((a.filter.gy?a.filter.query.value:"")+"'></div>")}ZL(){if(e.i.B.F.rp&&(this.T_=!0,"input"==document.activeElement.tagName.toLowerCase())){var a=document.activeElement,b=a.parentElement.parentElement.getAttribute("data-h-name");
e.ia(b)?this.focused=null:this.focused={pg:b,selectionStart:a.selectionStart,selectionEnd:a.selectionEnd,value:a.value}}}TL(){if(e.i.B.F.rp){if(null!=this.focused){var a=this.target.element.querySelector("."+h.X.xa.PH+'[data-h-name="'+this.focused.pg+'"] input');a&&(a.focus(),a.value=this.focused.value,a.selectionStart=this.focused.selectionStart,a.selectionEnd=this.focused.selectionEnd)}this.T_=!1}}bBa(){this.T_||(this.focused=null)}kda(a){a=a.target;var b=a.parentElement.parentElement.getAttribute("data-h-name");
this.target.Ga(new h.kka(b,a.value))}}f.nV=c})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends f.ZM{constructor(){super();this.lg=a.jr;this.Pd("fm-compact-view");this.$("fm-classic-view")}N9(){this.ce=new c.Rha(this.ba);this.ce.$("fm-rows-filter");this.ce.N(h.hc.Cu,b=>this.xp(b));this.ce.N(h.hc.Fm,b=>this.Tj(b));this.ce.N(h.hc.QH,b=>this.TS(b));this.ce.N(h.hc.Du,b=>this.Ga(b));this.W(this.ce)}sF(){this.Pxa?super.sF():(e.Wa(e.i.C.u.hla,e.i.C.u.xo,e.Bb.xo),e.i.Ua.V().Jp({gridType:h.He.jz}),e.i.Ua.V().refresh())}get Pxa(){return this.ba.vd>
this.ba.Hza}aba(b){var d=this.slice;if(null!=b){b=b.index();if(b>d.rows.length)return d.rows.length;d=d.rows.indexOf("[Measures]");0<=d&&d<=b&&0!=b&&b++;return b}return NaN}}a.jr="classic";c.YM=a})(f.SA||(f.SA={}))})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends f.E6{constructor(b){super(b)}jb(){for(var b=[],d=new Ta,g=0;g<this.ba.Xd;g++){d.tag="div";d.$("fm-row");for(var l=0;l<this.ba.Fd;l++)d.text=e.i.B.F.ts?d.text+cb(this.iQ(g,l,g==this.ba.Xd-1?this.sb[l]:null)):d.text+cb(this.Dx(g,l));b.push(cb(d))}this.Rm.ZL();this.html(b.join(""));this.Rm.TL()}}c.Rha=a})(f.SA||(f.SA={}))})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends f.Q3{constructor(){super();this.Dv=this.kA=!1;this.lg=a.jr;this.$("fm-flat-view");this.u7=new f.Dia(this)}G9(){this.fd=new c.Cja(this.ba,(b,d)=>this.Kf(b,d));this.fd.$("fm-cols-sheet");this.fd.vb.element.addEventListener("wheel",this.cY);this.fd.N(h.hc.Fm,b=>this.Tj(b));this.fd.N(h.hc.Fm,b=>this.IS(b));this.fd.N(h.hc.Cu,b=>this.xp(b));this.fd.N(h.hc.QH,b=>this.TS(b));this.fd.N(h.hc.Du,b=>this.Ga(b));this.W(this.fd)}Tj(b){this.Dv||
super.Tj(b)}IS(b){this.Dv||super.IS(b)}xp(b){this.Dv||super.xp(b)}tF(){super.tF();this.wr.top=this.ba.ke;this.wr.left=0;this.wr.width=this.ba.Ep;this.wr.height=this.ba.uq;this.fd.left=this.ba.Ep;this.fd.top=this.ba.ke;this.fd.width=this.ba.vd;this.fd.height=this.ba.Vr-this.ba.ke;this.pe.left=0;this.pe.top=this.ba.uq+this.ba.ke;this.pe.width=this.ba.pp;this.pe.height=this.ba.od;this.Pc.left=this.ba.Ep-parseInt(this.Pc.U("border-left-width"));this.Pc.top=this.ba.uq+this.ba.ke-parseInt(this.Pc.U("border-top-width"));
this.Pc.width=this.ba.vd;this.Pc.height=this.ba.od+parseInt(this.Pc.U("border-top-width"))}ZJ(){super.ZJ();this.u7.jb()}get bK(){return this.u7}get Ak(){return this.kA}set Ak(b){this.kA=b}lG(){if(!this.Ak||e.v.Sa.V().ha.XR){super.lG();for(var b={Nn:l=>this.I9(l),ju:l=>this.ju(l),gw:(l,m)=>this.gw(l,m),LS:l=>this.LS(l)},d=this.fd.find(".fm-header",!0),g=0;g<d.length;g++)d[g].draggable(b)}}aD(b,d){b=d.closest(".fm-cell");null!=b?(b=parseInt(b.attr("data-c")),b=Math.min(b,this.coords.kl),this.kd=this.yv(),
this.kd.left=this.coords.ul(b,this.$b)-(b==this.coords.kl?0:this.kd.width),this.kd.top=this.ba.ke+this.coords.bo(0,this.$b)-1,this.kd.height=this.coords.Md(0)+1,this.append(this.kd)):this.Cl()}gw(b,d){return"input"==d.target.tagName.toLowerCase()||this.slice.qxa()?!1:!0}LS(){this.m2.clear();this.Dv=!0}ju(b){setTimeout(()=>{this.Dv=!1},100);if(b.yc("fm-drag-remove"))if(b=parseInt(b.attr("data-c")),this.Ak)this.bb(h.hc.E4,this,{index:b});else{var d=this.slice.clone(),g=d.flatten(!0),l=g.ea(b);g.removeItem(l.A);
d.Ka.Sb(l.A)?d.Ka.removeItem(l.A):d.rows.Sb(l.A)?d.rows.removeItem(l.A):d.lb.Sb(l.A)&&d.lb.removeItem(l.A);d.ed().find(m=>m.A===l.A)&&d.Ly(l.A);d.Gg=g.Lc(!0);e.i.Ua.V().de(d)}}rm(b,d,g){this.Cl();d=g.closest(".fm-cell");null!=d&&(b=parseInt(b.attr("data-c")),d=parseInt(d.attr("data-c")),b!==d&&(this.Ak?this.bb(h.hc.D4,this,{Vua:b,fGa:d}):(g=this.slice.clone(),0==g.Gg.length&&(g.Gg=g.flatten(!0).Lc(!0)),d=Math.max(0,Math.min(d,g.Gg.length)),b<d&&d--,e.gb.A0(g.Gg,b,d),e.i.Ua.V().de(g))))}}a.jr="flat";
c.IH=a})(f.flat||(f.flat={}))})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){(function(c){class a extends f.w4{constructor(b,d){super(b,d);this.N(h.hc.Fm,g=>this.xp(g));this.N("keydown",g=>this.CL(g))}xp(b){null!=b.cell&&b.cell.Bk&&null!=b.cell.hierarchy&&b.cell.EA!=h.X.Yp.lI&&(e.i.B.F.rp||this.Ga(new h.sN(b.cell.hierarchy,b.cell)))}CL(b){if(!e.i.B.F.rp&&(32==b.keyCode||13==b.keyCode)){var d=b.target;b=parseInt(d.getAttribute("data-r"));d=parseInt(d.getAttribute("data-c"));isNaN(b)||isNaN(d)||this.Ga(new h.$U(b,d))}}Dx(b,
d){this.cell=super.Dx(b,d);(b=this.Om?this.Om(b,d):null)&&b.Bk&&(e.i.B.F.rp?(this.hy(this.cell,b.hierarchy),this.cell.$(h.X.xa.PH),this.cell.text+=this.Rm.BY(b.hierarchy),this.cell.attr["data-h-name"]=b.hierarchy.A):e.i.B.F.ww&&b.hierarchy.jL&&(this.hy(this.cell,b.hierarchy),this.cell.attr.title=e.i.C.u.Rz,this.cell.attr.tabindex="0",this.cell.text+=this.On(h.X.xa.EH)));return this.cell}hy(b,d){b.$(h.X.xa.dr);d.filter.Xg&&(b.$(h.X.xa.WU),b.text+=this.On(h.X.xa.yH,e.i.C.u.TV))}}c.Cja=a})(f.flat||(f.flat=
{}))})(h.sheet||(h.sheet={}))})(k.Y||(k.Y={}))})(e.K||(e.K={}))})(u||(u={}));(function(e){e=e.K||(e.K={});e=e.ud||(e.ud={});e=e.coa||(e.coa={});e=e.wja||(e.wja={});e[e.AHa=0]="DESELECT";e[e.BHa=1]="DESELECT_ALL";e[e.lKa=2]="TOGGLE_EXPANDED";e[e.mKa=3]="TOGGLE_SELECTED";e[e.BJa=4]="MOVE_UP";e[e.wJa=5]="MOVE_DOWN";e[e.zJa=6]="MOVE_TO_ROWS";e[e.xJa=7]="MOVE_TO_COLUMNS";e[e.yJa=8]="MOVE_TO_FILTERS";e[e.AJa=9]="MOVE_TO_VALUES";e[e.EHa=10]="EDIT_CALCULATED_VALUE"})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.Oa{constructor(){super("div");this.rS=a=>this.h1(a);this.list=new v.ld.Fi;this.list.Fk=!0;this.list.Ih(this.au);this.list.wf("caption");this.list.tX();this.list.N(r.da.Id,a=>this.ku(a));this.W(this.list);this.G.ol();this.G.N("keydown",a=>{27==a.keyCode&&(this.close(),a.stopImmediatePropagation())});var c=new v.Da("div","fm-arrow");this.G.W(c)}xm(c,a,b=-1){this.origin=a;this.fK=c;this.GQ=b;this.setData(c);this.show();this.G.N("mouseleave",this.rS);
document.body.addEventListener("mousedown",this.rS);c=a.mf(this.G.element.offsetParent);this.G.U("right",this.G.element.offsetParent.clientWidth-c.left+"px");this.G.U("top",c.top-this.wd()/2+a.wd()/2+"px");this.wE=document.activeElement;this.list.Pi(0)}h1(c){"mousedown"==c.type&&this.G.KJ(c)||(this.G.qb("mouseleave",this.rS),document.body.removeEventListener("mousedown",this.rS),this.close())}setData(c){for(var a,b=0,d=[],g=0;g<c.Kd.length;g++)a={caption:c.V8[g],fa:c.Kd[g]},void 0!=c.PX&&(a.pGa=c.PX[g]),
d.push(a),c.Kd[g]==c.fa&&(b=g);this.list.Pf(d);this.list.Nk(b);this.list.G.Sq(0)}ku(c){this.close();this.bb(r.da.Id,this,{fK:this.fK,GQ:this.GQ,EX:c.data.El,origin:this.origin})}au(c,a){var b=new v.hi.QV;b.setData(c);b.vm(a);return b}close(){this.cb();this.wE&&this.wE.focus({preventScroll:!0})}}h.cH=f})(k.ud||(k.ud={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(){}update(a,b,d){this.Sd=a;this.Wb=b;this.yn=d;this.CJ();this.to();this.CM()}to(){this.lb=this.RF();this.rows=this.JK();this.Lca(this.rows);this.Ka=this.uK();this.Lca(this.Ka);this.Ea=this.ed();this.rza(this.Ea)}CM(){this.sb=[];this.Dg=[];this.upa(this.sb,this.oK());this.Aya&&this.fEa(this.sb);this.Dpa(this.sb,this.Sx());e.i.B.F.sfa&&this.gEa(this.sb);this.LG(this.sb);if(c.lZ){c.lZ=!1;var a=this.sb.find(b=>b.A==="/"+e.i.C.u.j5);
null!=a&&this.H$(a)}this.Fk(this.lb);this.Fk(this.Ka);this.Fk(this.rows);this.Fk(this.Ea)}hu(a){if(null!=this.Sd){var b=this.Sx().find(g=>g.A===a);if(null!=b){b.sg=!0;b.Ok=this.ny;var d=this.Ea.findIndex(g=>g.A===a);0<=d?(b.F_=!0,this.Ea[d]=b):this.Ea.push(b)}this.CM()}}iu(){null!=this.Wb&&null!=this.Sd&&(this.to(),this.CM())}Lca(a){a=a.find(b=>"[Measures]"===b.A);null!=a&&(a.caption=e.i.C.u.wH,a.lS=!0)}rza(a){for(var b=0;b<a.length;b++)a[b].sg=!0,a[b].Ok=e.i.B.F.Ok&&!a[b].Ri}Fk(a){for(var b,d=0;d<
a.length;d++){a[d].Od=!0;b=this.Z$(a[d].A,a[d].sg);var g=this.Wb.rc().getItem(a[d].A);if(null!=b&&(this.yi(b,!0),b.lj))for(var l=0;l<b.children.length;l++)g.Gf==b.children[l].A&&this.yi(b.children[l],!0);a[d].lj&&null!=g.ec&&(a[d].caption=a[d].caption+" / "+g.ec.caption)}}yi(a,b){a.Od=b;null!=a.parent&&a.parent.Od!=b&&(1==b?this.yi(a.parent,b):0==this.rxa(a.parent.children)&&this.yi(a.parent,b));if(a.lj&&0==b)for(var d=0;d<a.children.length;d++)this.yi(a.children[d],b)}rxa(a){for(var b=0;b<a.length;b++)if(!0===
a[b].Od)return!0;return!1}wpa(a,b){var d=null;b=b.split(/[\/\\]/);for(var g="",l=null,m=0;m<b.length;m++){var n=b[m];if(!e.ia(n)){g=g+(e.ia(g)?"":"/")+n;var p="[Folder]."+g;(d=this.Dg.find(q=>q.A===p))?l=d:(d=new h.X.Em,d.Mf=!0,d.A=p,d.caption=n,d.children=[],this.Dg.push(d),l?(d.level=l.level+1,d.parent=l,l.children.push(d)):(d.level=0,a.push(d)),l=d)}}return d}upa(a,b){for(var d,g,l,m=0;m<b.length;m++){l=this.Sd.Ke(b[m].A);var n=null!=l&&l.type!=e.v.j.Na.oc,p=this.yn==e.v.j.sa.Af||this.yn==e.v.j.sa.API||
this.yn==e.v.j.sa.JSON||this.yn==e.v.j.sa.qh||this.yn==e.v.j.sa.aq;b[m].cca=null!=l&&l.type==e.v.j.Na.kb;b[m].Xv=null!=l&&l.type==e.v.j.Na.bc;b[m].Vxa=null!=l&&l.type==e.v.j.Na.Cc;e.ia(b[m].Xc)||!n&&!p?(d=a.find(q=>q.A===b[m].WJ),null==d&&(d=new h.X.Em,d.Mf=!0,d.A=b[m].WJ,d.caption=b[m].PY,d.children=[],d.level=0,d.description=d.description,a.push(d),this.Dg.push(d)),b[m].Sj?(l=e.ia(b[m].Xc)?d:g,l=l.children.find(q=>q.A===b[m].pg),b[m].level=l.level+1,b[m].parent=l,null==l.children&&(l.children=[]),
l.children.push(b[m]),l.lj=!0):e.ia(b[m].Xc)?(b[m].level=1,b[m].parent=d,d.children.push(b[m])):(g=d.children.find(q=>q.A===d.A+b[m].Xc),null==g&&(g=new h.X.Em,g.Mf=!0,g.A=d.A+b[m].Xc,g.caption=b[m].Xc,g.children=[],g.level=1,g.parent=d,g.description=d.description,d.children.push(g),this.Dg.push(g)),b[m].level=2,b[m].parent=g,g.children.push(b[m]))):(g=b[m].Sj?this.Dg.find(q=>q.A===b[m].pg):this.Dg.find(q=>q.A==="[Folder]."+b[m].Xc),null==g&&(g=this.wpa(a,b[m].Xc)),b[m].level=g.level+1,b[m].parent=
g,e.w(g.children)&&(g.children=[]),g.children.push(b[m]));this.Dg.push(b[m])}}Dpa(a,b){for(let l=0;l<b.length;l++){b[l].sg=!0;b[l].Ok=e.i.B.F.Ok&&!b[l].Ri;b[l].Ra&&(b[l].$h=e.i.C.u.j5);var d=null;if(this.ny){var g=this.Qfa(b[l].A);d=this.Dg.find(m=>m.A===g&&!m.Mf)}this.ny&&null!=d?(d.ug=b[l],d.ug.QR=d,b[l].parent=d.parent):""!=b[l].$h?(d=this.Dg.find(m=>m.A==="[Folder]."+b[l].$h+"/"+b[l].Xc),null==d&&(d=this.Cpa(a,b[l].$h+"/"+b[l].Xc,b[l].Ri,b[l].Ra)),b[l].level=d.level+1,b[l].parent=d,d.children.push(b[l])):
(b[l].level=0,a.push(b[l]));this.Dg.push(b[l])}}Cpa(a,b,d=!1,g=!1){var l=null;b=b.split(/[\/\\]/);for(var m="",n=null,p=0;p<b.length;p++){var q=b[p];if(!e.ia(q)){m=m+(e.ia(m)?"":"/")+q;var t="[Folder]."+m;l=this.Dg.find(x=>x.A===t);e.w(l)&&0==p&&(l=this.Dg.find(x=>x.caption===q))&&!l.Mf&&(l=null);l?n=l:(l=new h.X.Em,l.Mf=!0,l.A=t,l.caption=q,l.children=[],l.oy=!0,l.Ri=d,l.D_=g,this.Dg.push(l),n?(l.level=n.level+1,l.parent=n,n.children.push(l)):(l.level=0,a.push(l)),n=l)}}return l}fEa(a){for(var b,
d=0;d<a.length;d++)if(!0===a[d].Mf&&1==a[d].children.length&&!0!==a[d].children[0].Mf&&!a[d].children[0].Ra&&(b=a[d].children[0],b.level=0,b.parent=null,a.splice(d,1,b),b.children))for(var g=0;g<b.children.length;g++)--b.children[g].level}gEa(a){for(var b=0;b<a.length;b++)!0===a[b].Mf&&!0!==a[b].D_&&(a[b]=this.g8(a[b].children,a[b]))}g8(a,b){for(var d=0;d<a.length;d++)!0===a[d].Mf&&(a[d]=this.g8(a[d].children,a[d]));return 1==a.length&&!0!==a[0].Mf?(a=a[0],a.level=b.level,a.parent=b.parent,a):b}LG(a){this.Sd.Zt||
a.sort((b,d)=>{var g=this.BK(b),l=this.BK(d);return g==l?b.caption.localeCompare(d.caption):l-g})}BK(a){return!0===a.Sj?0:e.i.B.F.zg?a.D_?-1:0:!0===a.Mf&&!0!==a.oy?3:!0!==a.Mf&&!0!==a.sg?2:!0===a.Mf&&!0===a.oy?1:0}n9(a){if(!this.Ur){for(var b=this.sb.indexOf(a)+1,d=0;d<a.children.length;d++)!0===a.children[d].bg&&this.n9(a.children[d]);this.sb.splice(b,a.children.length);a.bg=!1}}H$(a){if(!this.Ur){var b=this.sb.indexOf(a)+1;a.lj||this.LG(a.children);e.gb.insert(this.sb,a.children,b);a.bg=!0}}Qfa(a){a=
this.Sd.Gk(a);return null!=a?a.A:""}hGa(a){a=this.Sd.Ke(a);return null!=a?a.A:""}Fg(a){for(var b=0;b<this.Dg.length;b++)if(!this.Dg[b].sg&&!this.Dg[b].Mf&&this.Dg[b].A==a)return this.Dg[b]}qd(a){for(var b=0;b<this.Dg.length;b++)if(this.Dg[b].sg&&!this.Dg[b].Mf&&this.Dg[b].A==a)return this.Dg[b]}Z$(a,b=!1){return b?this.qd(a):this.Fg(a)}X_(){return 0<this.Ea.length}LK(){const a=new h.X.Pma;a.lb=this.lb.map(b=>h.X.lO.TQ(b));a.rows=this.rows.map(b=>h.X.lO.TQ(b));a.Ka=this.Ka.map(b=>h.X.lO.TQ(b));a.Ea=
this.Ea.map(b=>h.X.lO.TQ(b));a.Gg=this.Wb?this.Wb.Gg:[];return a}kS(a){return null==this.Wb?!0:this.WR(a.lb,this.Wb.lb.Lc())||this.WR(a.rows,this.Wb.rows.Lc())||this.WR(a.Ka,this.Wb.Ka.Lc())||this.WR(a.Ea,this.Wb.ed())}WR(a,b){if(a.length!=b.length)return!0;for(var d=0;d<b.length;d++)if(a[d].A!=b[d].A||a[d].fa!=b[d].fa||a[d].Gf!=b[d].Gf||a[d].F_)return!0;return!1}get ny(){var a=this.yn;return a==e.v.j.sa.qh||a==e.v.j.sa.aq||a==e.v.j.sa.JSON||a==e.v.j.sa.Af||a==e.v.j.sa.API}get ZR(){for(var a=0;a<
this.sb.length;a++)if((this.sb[a].Mf||this.sb[a].oy||this.sb[a].lj)&&!this.sb[a].bg)return!0;return!1}get oba(){for(var a=0;a<this.sb.length;a++)if(this.sb[a].Mf||this.sb[a].oy||this.sb[a].lj)return!0;return!1}m9(){if(!this.Ur){for(var a=0;a<this.sb.length;a++)if(this.sb[a].Mf||this.sb[a].oy||this.sb[a].lj)this.sb[a].bg=!1;var b=[];for(a=0;a<this.sb.length;a++)0==this.sb[a].level&&b.push(this.sb[a]);this.sb.splice(0,this.sb.length);e.gb.insert(this.sb,b,0)}}Gc(){if(!this.Ur){this.m9();for(var a=0;a<
this.sb.length;a++)(this.sb[a].Mf||this.sb[a].lj)&&this.noa(this.sb[a],a+1)}}noa(a,b){a.bg=!0;null!=a.children&&0<a.children.length&&(this.LG(a.children),e.gb.insert(this.sb,a.children,b))}RF(){return null!=this.Wb?this.dQ(this.Wb.lb):[]}JK(){return null!=this.Wb?this.dQ(this.Wb.rows):[]}uK(){return null!=this.Wb?this.dQ(this.Wb.Ka):[]}ed(){return null!=this.Wb?h.X.Em.rY(this.Wb.ed()):[]}oK(){return null!=this.Sd?this.dQ(this.Sd.rc(!1),!0):[]}Sx(){return null!=this.Sd?h.X.Em.rY(this.Sd.Ea.Lc()):[]}dQ(a,
b=!1){for(var d=[],g=0;g<a.length;g++){var l=a.ea(g),m=this.Sd.Ke(l.A),n=new h.X.Em;b||null==l.ec?(n.A=l.A,n.caption=l.caption,n.WJ=l.Uh.A,n.PY=l.Uh.caption,n.Xc=l.Xc,n.Sj=!1,n.lj=l.Nf&&b):(n.A=l.ec.A,n.caption=l.ec.caption,n.WJ=l.Uh.A,n.PY=l.Uh.caption,n.pg=l.A,n.xba=l.caption,n.Sj=!0,n.lj=!1);n.Yt=m?m.Yt():!1;n.description=l.description;d.push(n);if(l.Nf&&b)for(var p=0;p<l.ta.length;p++)if(0!=p){var q=l.ta.ea(p);n=new h.X.Em;n.A=q.A;n.caption=q.caption;n.WJ=l.Uh.A;n.PY=l.Uh.caption;n.Xc=l.Xc;n.pg=
l.A;n.xba=l.caption;n.Sj=!0;n.lj=!1;n.Yt=m?m.Yt():!1;n.description=q.description;d.push(n)}}return d}search(a){a=a.toLowerCase();if(this.ue!=a){this.ue=a;this.Ny=[];for(var b=this.Dg.length,d=0;d<b;d++){var g=this.Dg[d];g.Mf||g.sg&&this.ny||!e.P.contains(g.caption,a)||(this.Jpa(g,this.Ny),this.Ny.push(g))}}}Jpa(a,b){if(a.parent&&0>b.indexOf(a.parent)){for(var d=[];null!=a.parent;)d.push(a.parent),a=a.parent;d=d.reverse();for(a=0;a<d.length;a++)0>b.indexOf(d[a])&&b.push(d[a])}}CJ(){this.ue="";this.Ny=
null}get Aya(){return e.i.Ua.V().Ja.ha.Fa!=e.v.j.sa.Nc}get Ur(){return!e.ia(this.ue)}get jS(){return e.i.B.F.F2||this.Dg&&50<this.Dg.length}get dC(){return(!e.i.Ua.V().Ja.ha.Qc||e.i.Ua.V().Ja.ha.Fa===e.v.j.sa.API)&&e.i.B.F.A2||e.i.B.F.pt&&e.i.Ua.V().Ja.ha.Fa===e.v.j.sa.Nc}get SR(){return this.dC&&!this.ad.ib}get Va(){return this.Ur?this.Ny:this.sb}get ad(){return this.Sd}XC(a){this.Wb=a}}c.lZ=!1;f.s6=c})(h.Xs||(h.Xs={}))})(k.ud||(k.ud={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends r.fh{constructor(a,b){super();this.type="pivot";this.MI=!1;this.wx=d=>this.hu(d);this.MA=d=>this.iu(d);this.xx=()=>this.yL();this.i=new f.s6;this.MI=b;this.view=this.se?new f.cma:new f.bma(this,a);this.view.N(r.da.CLOSED,d=>this.Ga(d));this.ld=[this.view.Hg,this.view.eg,this.view.tg,this.view.Zb];this.view.sh&&this.view.sh.N(v.yd.Fe,()=>this.uC());this.view.Ye&&this.view.Ye.N(v.yd.Fe,()=>this.es());null!=this.view.Xe&&this.view.Xe.N(r.da.Id,
d=>this.C0(d));this.view.ob&&(this.view.ob.G.N("click",d=>this.T0(d)),this.view.ob.G.N("keydown",d=>this.U0(d)),this.view.ob.Mr({rm:d=>this.kBa(d),J0:(d,g)=>this.nda(d,g),qm:(d,g)=>this.nda(d,g),yl:(d,g,l,m)=>this.yl(d,g,l,m),sy:"li"}),this.view.ob.G.ol());a={rm:(d,g,l,m)=>this.rm(d,g,l,m),qm:(d,g,l,m)=>this.qm(d,g,l,m),yl:(d,g,l,m)=>this.yl(d,g,l,m),sy:"li",scroll:!0};this.view.Hg&&(this.view.Hg.Mr(a),this.view.Hg.G.N("dblclick",d=>this.NS(d)),this.view.Hg.G.N("keydown",d=>this.OS(d,this.view.Hg)),
this.view.Hg.G.ol());this.view.eg&&(this.view.eg.Mr(a),this.view.eg.G.N("dblclick",d=>this.NS(d)),this.view.eg.G.N("keydown",d=>this.OS(d,this.view.eg)),this.view.eg.G.ol());this.view.tg&&(this.view.tg.Mr(a),this.view.tg.G.N("dblclick",d=>this.NS(d)),this.view.tg.G.N("keydown",d=>this.OS(d,this.view.tg)),this.view.tg.G.ol());this.view.Zb&&(this.view.Zb.G.N("click",d=>this.LBa(d)),this.view.Zb.G.N("dblclick",d=>this.NS(d)),this.view.Zb.G.N("keydown",d=>this.OS(d,this.view.Zb)),this.view.Zb.Mr(a),this.view.Zb.G.ol());
this.view.Sh&&this.view.Sh.N(v.yd.Fe,()=>this.FS());this.view.JA&&this.view.JA.N(v.yd.Fe,()=>this.FS());this.view.mt&&this.view.mt.N(v.yd.Fe,()=>this.oAa());this.view.nh&&(this.view.nh.n2(500),this.view.nh.N(v.gk.qz,()=>this.w1()));this.view.$g&&(this.view.$g.N("click",()=>this.Ey()),this.view.$g.N("keydown",d=>this.GL(d,!1)));this.view.Gp&&(this.view.Gp.N("click",()=>this.Fy()),this.view.Gp.N("keydown",d=>this.GL(d,!0)))}get se(){return this.MI}es(){this.se?e.Mh.La.cF():this.view.close()}uC(){this.de();
this.view.close()}GL(a,b){if(32===a.keyCode||13===a.keyCode)b?this.Fy():this.Ey()}Ey(){this.view.ah.$("fm-search-opened");this.view.nh.G.focus()}Fy(){this.view.ah.Pd("fm-search-opened");this.view.nh.clear();this.view.$g.G.focus()}w1(){this.i.search(this.view.nh.Qi());this.view.ob.G.eb("fm-searched",this.i.Ur);this.view.ob.Pf(this.i.Va);this.jn(this.view.ob);this.view.mt&&this.view.mt.isVisible(this.i.oba&&!this.i.Ur)}de(){var a=this.i.LK();this.i.kS(a)&&(a=e.v.O.ir.yb(e.i.ab.Io.yb(a.Qa()),this.i.ad),
this.se&&(a.u0=!1,e.Mh.La.My(),this.i.XC(a)),e.i.Ua.V().de(a))}hu(a){e.i.Ua.V().qb(k.Ra.ak.gz,this.wx);this.i.hu(a.Xr);this.Kl();this.se&&this.de()}iu(a){e.i.Ua.V().qb(k.Ra.ak.vD,this.MA);this.i.iu(a.Xr);this.Kl();this.se&&this.de()}yL(){this.view.eU=!1;e.i.Ua.V().qb(k.Ra.ak.hz,this.xx);this.view.G.focus({preventScroll:!0})}FS(){this.tG()}oAa(){this.i.ZR?this.i.Gc():this.i.m9();this.jn(this.view.ob);this.view.gg()}NS(a){var b=v.Da.Ib(a.target).closest("ul");null!=b&&(b=this.Pv(b),a=v.Da.Ib(a.target).closest("li"),
null!=a&&(a=parseInt(a.attr("data-index")),this.pT(b,a)))}LBa(a){a=v.Da.Ib(a.target);var b=a.closest("li");if(null!=b){b=parseInt(b.attr("data-index"));var d=this.i.Ea[b];a.yc("fm-aggr-display")?this.view.Xe.xm(d,a,b):a.yc("fm-calc-display")&&this.tG(d.A)}}C0(a){var b=a.data.fK,d=a.data.GQ;a=a.data.EX;b.fa=a.fa;b.caption=e.i.B.F.vw?e.P.bind(a.pGa,b.name):b.name;-1<d?this.view.Zb.Rp(d):this.view.Zb.Wq(b);var g=this.i.Va.find(l=>l.A===b.A);null!=g&&(this.i.ny&&null!=g.ug&&(g=g.ug),g.fa=b.fa,g.caption=
b.caption,this.view.ob.Wq(l=>l.A===g.A));this.se&&this.de()}tG(a=null){this.view.eU=!0;e.i.Ua.V().Ga(new k.Ra.DU(a));e.i.Ua.V().N(k.Ra.ak.gz,this.wx);e.i.Ua.V().N(k.Ra.ak.hz,this.xx);e.ia(a)||e.i.Ua.V().N(k.Ra.ak.vD,this.MA)}OS(a,b){if(32===a.keyCode||13===a.keyCode){if(this.view.ti){const g=b.Dq(a.target);if(e.w(g))return;var d=v.Da.Ib(a.target);if(d.yc("fm-aggr-display")){this.view.Xe.xm(g.data,d);return}d=[];!0!==g.data.lS&&d.push({label:e.i.C.u.TU,handler:()=>this.lh(0,g.data,g.index,b)});0<g.index&&
d.push({label:e.i.C.u.f5,handler:()=>this.lh(4,g.data,g.index,b)});g.index<b.Hc().length-1&&d.push({label:e.i.C.u.Z4,handler:()=>this.lh(5,g.data,g.index,b)});b!=this.view.eg&&this.Ut(g.data,b,this.view.eg)&&d.push({label:e.i.C.u.d5,handler:()=>this.lh(6,g.data,g.index,b)});b!=this.view.tg&&this.Ut(g.data,b,this.view.tg)&&d.push({label:e.i.C.u.b5,handler:()=>this.lh(7,g.data,g.index,b)});b!=this.view.Hg&&this.Ut(g.data,b,this.view.Hg)&&d.push({label:e.i.C.u.c5,handler:()=>this.lh(8,g.data,g.index,
b)});b!=this.view.Zb&&this.Ut(g.data,b,this.view.Zb)&&d.push({label:e.i.C.u.e5,handler:()=>this.lh(9,g.data.ug,g.index,b)});g.data.Ra&&d.push({label:e.i.C.u.UU,handler:()=>this.lh(10,g.data,g.index)});this.view.ti.xm(this.view.G,d,g.element.mf(),{top:10,left:10})}a.preventDefault()}}U0(a){if(32===a.keyCode||13===a.keyCode){if(this.view.ti){const b=this.view.ob.Dq(a.target);if(e.w(b))return;if(b.data.Mf){this.lh(2,b.data,b.index);return}const d=[];b.data.lj&&d.push({label:b.data.bg?e.i.C.u.Gia:e.i.C.u.Hia,
handler:()=>this.lh(2,b.data,b.index)});this.O_(b.data)&&d.push({label:e.i.C.u.TU,handler:()=>this.lh(1,b.data,b.index)});this.Ut(b.data,this.view.ob,this.view.eg)&&d.push({label:e.i.C.u.d5,handler:()=>this.lh(6,b.data,b.index,this.view.ob)});this.Ut(b.data,this.view.ob,this.view.tg)&&d.push({label:e.i.C.u.b5,handler:()=>this.lh(7,b.data,b.index,this.view.ob)});this.Ut(b.data,this.view.ob,this.view.Hg)&&d.push({label:e.i.C.u.c5,handler:()=>this.lh(8,b.data,b.index,this.view.ob)});if(this.Ut(b.data,
this.view.ob,this.view.Zb)){const g={label:e.i.C.u.e5,handler:()=>this.lh(9,b.data.ug,b.index,this.view.ob)};b.data.cca?d.splice(this.O_(b.data)?1:0,0,g):d.push(g)}b.data.Ra&&d.push({label:e.i.C.u.UU,handler:()=>this.lh(10,b.data,b.index)});this.view.ti.xm(this.view.G,d,b.element.mf(),{top:10,left:10})}a.preventDefault()}}lh(a,b,d,g=null){1==a?(1==b.Od&&(this.i.yi(b,!1),this.Ht(b)),null!=b.ug&&1==b.ug.Od&&(this.i.yi(b.ug,!1),this.Ht(b.ug)),this.o3(this.view.ob,d),this.uu(),this.se&&this.de()):0==
a?(this.pT(g,d),g.Pi(Math.min(d,g.Hc().length-1))):6==a?(g==this.view.ob?this.lx(g,this.view.eg,d,this.i.rows.length):this.$r(g,this.view.eg,d,this.i.rows.length),g.Pi(Math.min(d,g.Hc().length-1))):7==a?(g==this.view.ob?this.lx(g,this.view.tg,d,this.i.Ka.length):this.$r(g,this.view.tg,d,this.i.Ka.length),g.Pi(Math.min(d,g.Hc().length-1))):8==a?(g==this.view.ob?this.lx(g,this.view.Hg,d,this.i.lb.length):this.$r(g,this.view.Hg,d,this.i.lb.length),g.Pi(Math.min(d,g.Hc().length-1))):9==a?(g==this.view.ob?
this.lx(g,this.view.Zb,d,this.i.Ea.length):this.$r(g,this.view.Zb,d,this.i.Ea.length),g.Pi(Math.min(d,g.Hc().length-1))):4==a?(this.$r(g,g,d,d-1),g.Pi(d-1)):5==a?(this.$r(g,g,d,d+2),g.Pi(d+1)):2==a?(b.bg?this.i.n9(b):this.i.H$(b),this.jn(this.view.ob),this.view.ob.Pi(d),this.view.gg()):10==a&&this.tG(b.A)}T0(a){const b=this.view.ob.Dq(a.target);if(!e.w(b))if(a=v.Da.Ib(a.target),a.yc("fm-aggr-display"))this.view.Xe.xm(b.data,a);else if(a.yc("fm-calc-display"))this.lh(10,b.data,b.index);else if(b.data.Mf||
b.data.lj&&!a.yc("fm-moreicon-display"))this.lh(2,b.data,b.index);else{if(this.O_(b.data))1==b.data.Od&&(this.i.yi(b.data,!1),this.Ht(b.data)),null!=b.data.ug&&1==b.data.ug.Od&&(this.i.yi(b.data.ug,!1),this.Ht(b.data.ug));else if(b.data.sg&&b.data.Yt){this.i.yi(b.data,!0);a=[];for(var d in b.data)b.data[d]instanceof h.X.Em&&a.push(d);d=w.Jc.Ni(b.data,a);this.i.Ea.push(d);this.jn(this.view.Zb)}else if(b.data.ug&&b.data.Yt&&b.data.ug.type!=e.v.j.Na.oc&&b.data.ug.type!=e.v.j.Na.Pa){this.i.yi(b.data.ug,
!0);a=[];for(d in b.data.ug)b.data.ug[d]instanceof h.X.Em&&a.push(d);d=w.Jc.Ni(b.data.ug,a);this.i.Ea.push(d);this.jn(this.view.Zb)}else{if(b.data.Sj)for(b.data.parent.Od&&this.Ht(b.data.parent),d=0;d<b.data.parent.children.length;d++)a=b.data.parent.children[d],a.A!=b.data.A&&(a.Od&&this.Ht(a),a.Od=!1);this.i.yi(b.data,!0);this.i.rows.push(b.data);this.jn(this.view.eg)}this.o3(this.view.ob,b.index);this.uu();this.se&&this.de()}}o3(a,b){a.Rp(b);b=a.Hc()[b];null!=b.parent&&this.GM(a,b.parent);if(b.lj)for(var d=
0;d<b.children.length;d++)a.Wq(b.children[d]);if(b.Sj)for(d=0;d<b.parent.children.length;d++)a.Wq(b.parent.children[d])}GM(a,b,d=null){a.Wq(d||b);b.parent&&this.GM(a,b.parent);if(b.lj)for(d=0;d<b.children.length;d++)a.Wq(b.children[d]);if(b.Sj)for(d=0;d<b.parent.children.length;d++)a.Wq(b.parent.children[d])}gw(){return!0}kBa(a){if(a&&a.closest("ul")){var b=parseInt(a.attr("data-index"));a=this.Pv(a.closest("ul"));a!=this.view.ob&&this.pT(a,b)}}nda(a,b){a&&a.closest("ul")&&(a=this.Pv(a.closest("ul")),
a!=this.view.ob&&(b&&b.$("fm-drag-remove"),a.G.yc("fm-droppable")?b&&b.$("fm-droppable-valid"):b&&b.$("fm-droppable-invalid")))}qm(a,b,d,g){let l;g instanceof MouseEvent?(l=v.Da.Ib(g.target),g=g.clientY):(g=g.changedTouches[0],l=v.Da.Ib(document.elementFromPoint(g.clientX,g.clientY)),g=g.clientY);if(!l.yc("fm-drop-indicator")&&(this.Cl(),b&&(b.Pd("fm-no-drop"),b.Pd("fm-drag-remove")),a&&a.closest("ul"))){d instanceof v.ld.Fi||(d=this.Pv(d));var m=this.Pv(a.closest("ul"));m.G.yc("fm-droppable")&&(this.Ut(this.Caa(a,
m),m,d)?this.aD(l,g):b.$("fm-no-drop"))}}O_(a){return a.Od||a.ug&&a.ug.Od}Ut(a,b,d){return a.lS&&d!=this.view.tg&&d!=this.view.eg||!1===a.Yt&&d==this.view.Zb||0==this.i.ny&&(d!=this.view.Zb&&(a.sg||a.Ri)||d==this.view.Zb&&!a.sg&&!a.Ri)||a.Ra&&d!=this.view.Zb||a.children&&0<a.children.length&&d==this.view.Zb?!1:a.Ra&&d==this.view.Zb&&b==this.view.Zb?!0:a.Ra&&d==this.view.Zb?e.w(this.view.Zb.Hc().find(g=>g.A===a.A)):b==this.view.ob&&null!=d.Hc().find(g=>g.A===a.A)&&d!=this.view.Zb?!1:!0}Caa(a,b){a=
parseInt(a.attr("data-index"));return b.Hc()[a]}yl(a,b){this.Cl();b&&(b.Pd("fm-no-drop"),b.Pd("fm-drag-remove"));if(a&&a.closest("ul")&&b){b.Pd("fm-droppable-valid");b.Pd("fm-droppable-invalid");const d=this.Pv(a.closest("ul"));a.yc("fm-values")||d==this.view.ob||b.$("fm-drag-remove")}}rm(a,b){if(null!=this.kd)if(a&&a.closest("ul")){b=b instanceof v.ld.Fi?b:this.Pv(b);var d=this.Pv(a.closest("ul"));if(0==this.Ut(this.Caa(a,d),d,b))this.Cl();else{var g=b.Hc().length;this.kd.element.previousElementSibling?
g=parseInt(this.kd.element.previousElementSibling.getAttribute("data-index"))+1:this.kd.element.nextElementSibling&&(g=parseInt(this.kd.element.nextElementSibling.getAttribute("data-index")));this.Cl();a=parseInt(a.attr("data-index"));if(d!=b||a!=g)d==this.view.ob&&b!=this.view.ob?this.lx(d,b,a,g):this.$r(d,b,a,g),a=b.G.element.scrollTop,this.kga(),b.G.Sq(a),b.Dea(g)}}else this.Cl()}ju(a){if(a&&a.closest("ul")){var b=parseInt(a.attr("data-index"));a=this.Pv(a.closest("ul"));a!=this.view.ob&&this.pT(a,
b)}}aD(a,b){const d=a.closest("li");null!=d?(this.kd=this.yv(),a=d.getBoundingClientRect(),b>a.top+a.height/2?d.after(this.kd):d.before(this.kd)):(b=a.closest("ul"),null!=b&&(this.kd=this.yv(),b.append(this.kd)))}yv(){return new v.Da("div","fm-drop-indicator")}Cl(){this.kd&&(this.kd.fg(!0),this.kd=null)}$r(a,b,d,g){var l=a.Hc()[d];a==b?(a=b.Hc(),d<g&&--g,a.splice(g,0,a.splice(d,1)[0])):(l=a.Hc()[d],a.Hc().splice(d,1),a.tu(),b==this.view.Zb&&(this.i.yi(l,!1),l=this.i.qd(this.i.hGa(l.Sj?l.pg:l.A)),
null!=l.QR&&this.i.yi(l.QR,!1)),a==this.view.Zb&&(-1==a.Hc().findIndex(m=>m.A===l.A)&&this.i.yi(l,!1),l=this.i.Fg(this.i.Qfa(l.A)),null!=l.ug&&this.i.yi(l.ug,!1)),null!=l&&(this.i.yi(l,!0),this.Ht(l,null,!0),b.Hc().splice(g,0,l)));this.jn(b);this.uu();this.se&&this.de()}lx(a,b,d,g){var l=a.Hc()[d];if(l.Sj){l.parent.Od&&this.Ht(l.parent);for(d=0;d<l.parent.children.length;d++){var m=l.parent.children[d];m.A!=l.A&&(m.Od&&this.Ht(m),m.Od=!1)}this.GM(this.view.ob,l)}this.i.ny&&b==this.view.Zb&&null!=
l.ug&&(l=l.ug);l.Od&&!l.sg?(this.i.yi(l,!1),this.Ht(l,a,!0),this.i.yi(l,!0)):(this.i.yi(l,!0),a=this.view.ob.Hc().findIndex(p=>p.A===l.A),this.o3(this.view.ob,a));if(this.i.ny&&b==this.view.Zb&&l.sg){a=[];for(var n in l)l[n]instanceof h.X.Em&&a.push(n);l=w.Jc.Ni(l,a)}b.Hc().splice(g,0,l);this.jn(b);this.uu();this.se&&this.de()}pT(a,b){if(!(a.Hc().length<=b)){var d=a.Hc()[b];if(!d.lS){a.Hc().splice(b,1);this.jn(a);if(!(d.sg&&-1<this.view.Zb.Hc().findIndex(g=>g.A===d.A))){a=this.i.Z$(d.A,d.sg);if(null!=
a){this.i.yi(a,!1);const g=null!=a.QR?a.QR:a;this.GM(this.view.ob,g,l=>l.A===g.A);a.Sj&&(this.i.yi(a.parent,!1),this.GM(this.view.ob,a.parent))}this.uu()}this.se&&this.de()}}}Ht(a,b=null,d=!1){for(var g=-1,l=0;l<this.ld.length;l++)if(this.ld[l]!=b&&(this.ld[l]!=this.view.Zb||!d))for(var m=!0;m||-1<g;)m=!1,g=this.ld[l].Hc().findIndex(n=>n.A===a.A||n.pg===a.A),-1==g&&(g=this.ld[l].Hc().findIndex(n=>n.A===a.A||n.pg===a.A)),-1<g&&(this.ld[l].Hc().splice(g,1),this.jn(this.ld[l]))}Pv(a){return a.element==
this.view.ob.G.element?this.view.ob:a.element==this.view.Hg.G.element?this.view.Hg:a.element==this.view.eg.G.element?this.view.eg:a.element==this.view.tg.G.element?this.view.tg:a.element==this.view.Zb.G.element?this.view.Zb:null}update(a,b,d="",g=!0){g&&this.i.update(a,b,d);this.Kl()}uu(){this.view.sh&&this.view.sh.Rq(this.i.X_())}get ZR(){return this.i.ZR}Kl(){this.view.reset&&this.view.reset();this.view.Sh&&(this.view.Sh.isVisible(this.i.dC),this.view.Sh.Rq(this.i.SR));this.view.JA&&(this.view.JA.isVisible(this.i.dC),
this.view.JA.Rq(this.i.SR));this.view.ob&&this.view.ob.Pf(this.i.Va,!1);this.view.Hg&&this.view.Hg.Pf(this.i.lb,!1);this.view.eg&&this.view.eg.Pf(this.i.rows,!1);this.view.tg&&this.view.tg.Pf(this.i.Ka,!1);this.view.Zb&&this.view.Zb.Pf(this.i.Ea,!1);this.view.mt&&this.view.mt.isVisible(this.i.oba);this.view.ah&&this.view.ah.isVisible(this.i.jS);this.view.nh&&(this.view.nh.clear(!1),this.i.CJ());this.view.gg();this.view.G.requestAnimationFrame(()=>{this.kga()})}jn(a){a.tu();var b={gw:g=>this.gw(g),
Nn:g=>this.view.Nn(g)};w.Dd().lm&&(b.FR=".fm-drag-handle");var d=a.G.find("li",!0);if(a==this.view.ob)for(a=0;a<d.length;a++)d[a].yc("fm-folder")&&!d[a].yc("fm-level-folder")||d[a].draggable(b);else for(a.Mr({rm:(g,l,m,n)=>this.rm(g,l,m,n),qm:(g,l,m,n)=>this.qm(g,l,m,n),yl:(g,l,m,n)=>this.yl(g,l,m,n),sy:"li",scroll:!0}),b.ju=g=>this.ju(g),a=0;a<d.length;a++)d[a].draggable(b)}kga(){try{this.uu(),this.jn(this.view.ob),this.jn(this.view.Hg),this.jn(this.view.eg),this.jn(this.view.tg),this.jn(this.view.Zb)}catch(a){}}}
f.r6=c})(h.Xs||(h.Xs={}))})(k.ud||(k.ud={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends v.Vd.Uw{constructor(a,b){super(b);this.eD=0;this.controller=a;this.$("fm-pivot-fields");this.ve();this.G.ol();this.G.Xj({M2:[v.Xj.Ei.Oh,v.Xj.Ei.aj,v.Xj.Ei.BN,v.Xj.Ei.$N],oY:k.Pb.Gb.G,resize:d=>this.D1(d)});this.Jh()}D1(a){a.KG==v.Xj.Ei.BN||a.KG==v.Xj.Ei.$N?this.Zj(a.size.width+(a.size.width-a.G1.width)):(a.KG==v.Xj.Ei.Oh||a.KG==v.Xj.Ei.aj)&&this.Ip(a.size.height+(a.size.height-a.G1.height));this.ME();this.qt()}ve(){var a=new v.Oa("div",
"fm-popup-header fm-ui-row");this.W(a);var b=new v.Oa("div","fm-ui-col fm-vam");a.W(b);this.oC=new v.Oc(e.i.C.u.mN);this.oC.$("fm-popup-title");b.W(this.oC);this.nC=new v.Oc(e.i.C.u.l5);this.nC.$("fm-popup-subtitle");b.W(this.nC);b=new v.Oa("div","fm-ui-col fm-vam fm-tar fm-ui-btns-row");a.W(b);this.Sh=new v.kg("fm-btn-add-measure fm-ui-btn-light fm-icon-act_calc");this.Sh.$a(e.i.C.u.vz);b.W(this.Sh);this.Ye=new v.kg;this.Ye.$a(e.i.C.u.Ml);this.sh=new v.kg("fm-ui-btn-dark");this.sh.$a(e.i.C.u.Gw);
w.Di.hC||w.Di.eo?(b.W(this.Ye),b.W(this.sh)):(b.W(this.sh),b.W(this.Ye));a=new v.Oa("div","fm-popup-content");this.W(a);var d=new v.Oa("div","fm-ui-row");a.W(d);b=new v.Oa("div","fm-ui-col-3");d.W(b);var g=new v.Oa("div","fm-list-wrap fm-list-wrap-all");b.W(g);var l=new v.Oa("div","fm-list-header fm-list-header-wide");g.W(l);b=new v.Oa("div","fm-list-header-label-wrap");l.W(b);this.mL=new v.Oc(e.i.C.u.jN);b.W(this.mL);this.mt=new v.yd("fm-ui-link-btn fm-btn-collapse-expand-all");this.mt.Pd("fm-ui-btn");
this.mt.$a(e.i.C.u.h5);b.W(this.mt);this.ah=new v.Oa("div","fm-search-wrap");l.W(this.ah);this.$g=new v.Oa("a","fm-search-btn");this.$g.Jh(0);this.$g.wm("button");this.ah.W(this.$g);b=new v.Oa("span","fm-ui-icon fm-icon-act_search");this.$g.W(b);this.nh=new v.gk;this.nh.$("fm-search-inp");this.ah.W(this.nh);this.Gp=new v.Oa("span","fm-close-search fm-ui-icon fm-icon-act_close");this.Gp.Jh(0);this.Gp.wm("button");this.ah.W(this.Gp);l=new v.Oa("div","fm-list-content");g.W(l);this.ob=new v.ld.Fi;this.ob.wm("listbox");
this.ob.$("fm-lst-hierarchies");this.ob.Ih((m,n)=>this.PC(m,n));this.ob.wf("caption");l.W(this.ob);b=new v.Oa("div","fm-ui-col-3");d.W(b);g=new v.Oa("div","fm-list-wrap fm-list-wrap-pages");b.W(g);l=new v.Oa("div","fm-list-header");g.W(l);this.oL=new v.Oc(e.i.C.u.Bu);l.W(this.oL);l=new v.Oa("div","fm-list-content");g.W(l);this.Hg=new v.ld.Fi;this.Hg.wm("listbox");this.Hg.$("fm-lst-pages");this.Hg.Ih((m,n)=>this.Or(m,n));this.Hg.wf("caption");l.W(this.Hg);this.i0=new v.Oc(e.i.C.u.Jw);this.i0.$("fm-prompt");
g.W(this.i0);g=new v.Oa("div","fm-list-wrap fm-list-wrap-rows");b.W(g);l=new v.Oa("div","fm-list-header");g.W(l);this.pL=new v.Oc(e.i.C.u.lN);l.W(this.pL);l=new v.Oa("div","fm-list-content");g.W(l);this.eg=new v.ld.Fi;this.eg.wm("listbox");this.eg.$("fm-lst-rows");this.eg.Ih((m,n)=>this.Or(m,n));this.eg.wf("caption");l.W(this.eg);this.j0=new v.Oc(e.i.C.u.Jw);this.j0.$("fm-prompt");g.W(this.j0);b=new v.Oa("div","fm-ui-col-3");d.W(b);g=new v.Oa("div","fm-list-wrap fm-list-wrap-columns");b.W(g);l=new v.Oa("div",
"fm-list-header");g.W(l);this.lL=new v.Oc(e.i.C.u.kN);l.W(this.lL);l=new v.Oa("div","fm-list-content");g.W(l);this.tg=new v.ld.Fi;this.tg.wm("listbox");this.tg.$("fm-lst-columns");this.tg.Ih((m,n)=>this.Or(m,n));this.tg.wf("caption");l.W(this.tg);this.g0=new v.Oc(e.i.C.u.Jw);this.g0.$("fm-prompt");g.W(this.g0);g=new v.Oa("div","fm-list-wrap fm-list-wrap-measures");b.W(g);l=new v.Oa("div","fm-list-header");g.W(l);this.nL=new v.Oc(e.i.C.u.wH);l.W(this.nL);this.JA=new v.kg("fm-btn-add-measure-2 fm-icon-act_calc");
l.W(this.JA);l=new v.Oa("div","fm-list-content");g.W(l);this.Zb=new v.ld.Fi;this.Zb.wm("listbox");this.Zb.$("fm-lst-measures");this.Zb.Ih((m,n)=>this.Or(m,n));this.Zb.wf("caption");l.W(this.Zb);this.h0=new v.Oc(e.i.C.u.Jw);this.h0.$("fm-prompt");g.W(this.h0);this.Xe=new h.cH;this.Xe.$("fm-aggregations-view");this.Xe.cb();a.W(this.Xe);this.ti=new v.xq.$D(a.G);this.ti.cb();a.W(this.ti)}gg(){this.oC.$a(e.i.C.u.mN);this.nC.$a(e.i.C.u.l5);this.Ye.$a(e.i.C.u.Ml);this.sh.$a(e.i.C.u.Gw);this.mL.$a(e.i.C.u.jN);
this.oL.$a(e.i.C.u.Bu);this.pL.$a(e.i.C.u.lN);this.lL.$a(e.i.C.u.kN);this.nL.$a(e.i.C.u.wH);this.Sh.$a(e.i.C.u.vz);this.Sh.Gl(e.i.C.u.vz);this.JA.Gl(e.i.C.u.vz);this.i0.$a(e.i.C.u.Jw);this.j0.$a(e.i.C.u.Jw);this.g0.$a(e.i.C.u.Jw);this.h0.$a(e.i.C.u.Jw);this.mt.$a(this.controller.ZR?e.i.C.u.Jia:e.i.C.u.h5)}Or(a,b){var d=new h.hi.ZU;d.setData(a);d.vm(b);return d}PC(a,b){a=new h.hi.kO(a,b);a.vm(b);return a}reset(){this.ah.Pd("fm-search-opened");this.nh.clear(!1)}Nn(a){const b=new v.Da("span");b.$("fm-drag-handle");
b.$("fm-helper");b.$("fm-draggable");b.eb("fm-values",a.yc("fm-values"));b.U("width",a.U("width"));b.U("position","absolute");b.U("z-index",100);b.attr("data-index",a.attr("data-index"));const d=new v.Da("span","fm-label");d.text(a.text());b.W(d);b.W(new v.Da("i","fm-drag-icon"));return b}ME(){super.ME(!0)}}f.bma=c})(h.Xs||(h.Xs={}))})(k.ud||(k.ud={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends v.Vd.Dj{constructor(){super();this.eD=0;this.$("fm-pivot-fields");this.$("fm-instant-view");this.ve();this.G.ol()}ve(){var a=new v.Oa("div","fm-popup-content");this.W(a);var b=new v.Oa("div","fm-list-wrap fm-list-wrap-all");a.W(b);var d=new v.Oa("div","fm-list-header fm-list-header-wide");b.W(d);var g=new v.Oa("div","fm-list-header-label-wrap");d.W(g);this.mL=new v.Oc(e.i.C.u.jN);g.W(this.mL);this.Sh=new v.kg("fm-btn-add-measure");
d.W(this.Sh);this.Ye=new v.kg("fm-btn-close-fields");d.W(this.Ye);d=new v.Oa("div","fm-list-content");b.W(d);this.ob=new v.ld.Fi;this.ob.$("fm-lst-hierarchies");this.ob.Ih((l,m)=>this.PC(l,m));this.ob.wf("caption");d.W(this.ob);g=new v.Oa("div","fm-ui-row");a.W(g);d=new v.Oa("div","fm-ui-col-2");g.W(d);b=new v.Oa("div","fm-list-wrap fm-list-wrap-pages");d.W(b);d=new v.Oa("div","fm-list-header");b.W(d);this.oL=new v.Oc(e.i.C.u.Bu);d.W(this.oL);d=new v.Oa("div","fm-list-content");b.W(d);this.Hg=new v.ld.Fi;
this.Hg.$("fm-lst-pages");this.Hg.Ih((l,m)=>this.Or(l,m));this.Hg.wf("caption");d.W(this.Hg);d=new v.Oa("div","fm-ui-col-2");g.W(d);b=new v.Oa("div","fm-list-wrap fm-list-wrap-columns");d.W(b);d=new v.Oa("div","fm-list-header");b.W(d);this.lL=new v.Oc(e.i.C.u.kN);d.W(this.lL);d=new v.Oa("div","fm-list-content");b.W(d);this.tg=new v.ld.Fi;this.tg.$("fm-lst-columns");this.tg.Ih((l,m)=>this.Or(l,m));this.tg.wf("caption");d.W(this.tg);g=new v.Oa("div","fm-ui-row");a.W(g);b=new v.Oa("div","fm-list-wrap fm-list-wrap-rows");
g.W(b);d=new v.Oa("div","fm-list-header");b.W(d);this.pL=new v.Oc(e.i.C.u.lN);d.W(this.pL);d=new v.Oa("div","fm-list-content");b.W(d);this.eg=new v.ld.Fi;this.eg.$("fm-lst-rows");this.eg.Ih((l,m)=>this.Or(l,m));this.eg.wf("caption");d.W(this.eg);g=new v.Oa("div","fm-ui-row");a.W(g);b=new v.Oa("div","fm-list-wrap fm-list-wrap-measures");g.W(b);d=new v.Oa("div","fm-list-header");b.W(d);this.nL=new v.Oc(e.i.C.u.wH);d.W(this.nL);d=new v.Oa("div","fm-list-content");b.W(d);this.Zb=new v.ld.Fi;this.Zb.$("fm-lst-measures");
this.Zb.Ih((l,m)=>this.Or(l,m));this.Zb.wf("caption");d.W(this.Zb);this.Xe=new h.cH;this.Xe.$("fm-aggregations-view");this.Xe.cb();a.W(this.Xe);this.ti=new v.xq.$D(a.G);this.ti.cb();a.W(this.ti)}gg(){this.mL.$a(e.i.C.u.jN);this.oL.$a(e.i.C.u.Bu);this.pL.$a(e.i.C.u.lN);this.lL.$a(e.i.C.u.kN);this.nL.$a(e.i.C.u.wH);this.Sh.Gl(e.i.C.u.vz)}Or(a,b){var d=new h.hi.ZU;d.setData(a);d.vm(b);return d}PC(a,b){a=new h.hi.kO(a,b);a.vm(b);return a}Nn(a){const b=new v.Da("span");b.$("fm-drag-handle");b.$("fm-helper");
b.$("fm-draggable");b.eb("fm-values",a.yc("fm-values"));b.U("width",a.U("width"));b.U("position","absolute");b.U("z-index",100);b.attr("data-index",a.attr("data-index"));const d=new v.Da("span","fm-label");d.text(a.text());b.W(d);b.W(new v.Da("i","fm-drag-icon"));return b}open(){this.show();this.bb(r.da.OPENED)}close(){this.cb();this.bb(r.da.CLOSED)}reset(){}}f.cma=c})(h.Xs||(h.Xs={}))})(k.ud||(k.ud={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.Oa{constructor(){super();this.WP=()=>this.HL();this.$("fm-fields-view-wrap");this.ve()}ve(){this.mw=new v.kg("fm-btn-open-fields");this.mw.Gl(e.i.C.u.qO);this.mw.N(v.yd.Fe,()=>this.i1());this.W(this.mw)}updateLabels(){this.mw.Gl(e.i.C.u.qO)}open(c,a,b=""){!this.se||this.Fba||this.Sba||this.Mba||e.w(this.SI)?(this.controller&&this.controller.qb(r.da.CLOSED,this.WP),this.close(),this.controller&&this.controller.N(r.da.CLOSED,this.WP),this.G.eb("fm-fields-opened",
!0),this.G.eb("fm-fields-instant",this.se),this.se&&this.G.Ip(k.Pb.Gb.Ap()),e.i.B.F.To=!0,this.controller=this.Pva(),this.controller.update(c,a,b,this.oxa),this.controller.view.$("fm-fields-view"),this.W(this.controller.view),this.isVisible()||this.show(),this.controller.view.open(),k.Pb.Gb.uB=this.se?this.controller.view.pf():0,this.sE=!0,this.SI=e.v.Sa.V().za?e.v.Sa.V().za.clone():null,this.zb=e.v.Sa.V().ha,this.Boa=e.v.Sa.V().O&&e.v.Sa.V().O.Nd,this.KI=e.i.B.F.dc,this.xoa=e.i.B.F.Zd==k.td.Bi,e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.k5))):
this.G.Ip(k.Pb.Gb.Ap())}get se(){return"right"==e.i.B.F.tB}get Sba(){return this.KI!=e.i.B.F.dc||e.i.B.F.dc&&this.xoa!=(e.i.B.F.Zd==k.td.Bi)}get Fba(){return this.sE!=e.i.B.F.To}get Mba(){return null==this.zb||null==e.v.Sa.V().O||this.Boa!=e.v.Sa.V().O.Nd||!this.zb.isEqual(e.v.Sa.V().ha)}get Eya(){return null==e.v.Sa.V().za&&null!=this.SI||null!=e.v.Sa.V().za&&null==this.SI||e.v.Sa.V().za&&this.SI&&!e.v.Sa.V().za.isEqual(this.SI)}get oxa(){return this.Fba||this.Mba||this.Eya||this.Sba}Pva(){var c=
null,a=e.i.B.F.dc&&e.i.B.F.Zd!=k.td.Bi,b=k.Pb.Gb.G;null==this.controller?c=a?new h.flat.aV(b,this.se):new h.Xs.r6(b,this.se):!a||"flat"==this.controller.type&&this.controller.se==this.se?a||"pivot"==this.controller.type&&this.controller.se==this.se||(c=new h.Xs.r6(b,this.se)):c=new h.flat.aV(b,this.se);if(null==c)return this.controller;this.controller&&this.controller.fe();c.N(r.da.CLOSED,this.WP);c.N(f.uH,d=>this.D0(d));return c}D0(c){this.Ga(c)}HL(){this.sE=void 0;this.zb=null;this.KI=void 0;this.controller.qb(r.da.CLOSED,
this.WP);e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.g5));e.i.B.F.V();e.i.B.F.cQ?this.show():this.cb();e.i.B.F.To=!1;this.bb(r.da.CLOSED);this.G.eb("fm-fields-opened",!1);this.G.Ip("")}close(){this.controller&&this.controller.view.close()}i1(){this.bb(f.iN)}get fL(){return this.sE}}f.uH="EVENT_APPLY_SLICE";f.iN="EVENT_OPEN";h.Lw=f})(k.ud||(k.ud={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends v.hi.Sz{constructor(){super();this.PJ()}PJ(){null==this.qo&&(this.qo=new v.Da("span","fm-text-display"))}xY(){null==this.lv&&(this.lv=new v.Da("span","fm-aggr-display"),this.lv.Jh(),this.lv.attr("title",e.i.C.u.P6))}yY(){null==this.LA&&(this.LA=new v.Da("span","fm-calc-display"),this.LA.attr("title",e.i.C.u.N6))}zY(){null==this.nB&&(this.nB=new v.Da("span","fm-drag-handle"))}jb(){const a=this.getData();this.G.empty();var b=null!=
this.c0?(0,this.c0)(a):a.Sj?a.xba+" / "+a[this.ao()]:a[this.ao()];this.qo.text(b);this.qo.attr("title",b+(e.ia(a.description)?"":`\n${a.description}`));this.Jh(0);this.wm("listitem");this.G.append(this.qo);1==a.sg&&!a.Ri&&1==a.Ok&&1<a.Kd.length&&e.i.B.F.Ok&&(this.xY(),this.G.append(this.lv));!0===a.sg&&!0===a.Ra&&(this.yY(),this.G.append(this.LA));this.zY();this.G.append(this.nB);this.G.eb("fm-measure",!0===a.sg);this.G.eb("fm-values",!0===a.lS);this.G.eb("fm-selected",!0===a.Od);this.G.eb("fm-level",
!0===a.Sj)}}f.ZU=c})(h.hi||(h.hi={}))})(k.ud||(k.ud={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends v.hi.Sz{constructor(a=null){super();this.data=a;this.CY();this.PJ()}CY(){null==this.$F&&(this.$F=new v.Da("span","fm-icon-display"))}Vsa(){null==this.Wca&&(this.Wca=new v.Da("span","fm-moreicon-display"))}PJ(){null==this.qo&&(this.qo=new v.Da("span","fm-text-display"))}xY(){null==this.lv&&(this.lv=new v.Da("span","fm-aggr-display"),this.lv.Jh(),this.lv.attr("title",e.i.C.u.P6))}yY(){null==this.LA&&(this.LA=new v.Da("span","fm-calc-display"),
this.LA.attr("title",e.i.C.u.N6))}zY(){null==this.nB&&(this.nB=new v.Da("span","fm-drag-handle"))}jb(){const a=this.getData();this.G.empty();this.G.append(this.$F);a.lj&&(this.Vsa(),this.G.append(this.Wca));this.qo.text(a[this.ao()]);this.qo.attr("title",a[this.ao()]+(e.ia(a.description)?"":`\n${a.description}`));this.G.append(this.qo);this.Jh(0);this.wm("listitem");!0===a.sg&&!a.Ri&&!0!==a.Ra&&1<a.Kd.length&&e.i.B.F.Ok&&"right"!=e.i.B.F.tB&&(this.xY(),this.G.append(this.lv));!0!==a.sg||!0!==a.Ra||
!0!==a.Ok&&!e.i.B.F.pt||(this.yY(),this.G.append(this.LA));a.Mf||a.oy?null!=this.nB&&this.nB.remove():(this.zY(),this.G.append(this.nB));for(var b=!0===a.Od||null!=a.ug&&!0===a.ug.Od,d=1;10>d;d++)this.G.eb("fm-level-"+d,a.level===d);this.G.eb("fm-selected",!0===b);this.G.eb("fm-checked",!0!==a.Mf&&!0!==a.Sj&&!0===b||1==a.Sj&&!0===b);this.G.eb("fm-unchecked",!0!==a.Mf&&!0!==a.Sj&&!0!==b||1==a.Sj&&!0!==b);this.G.eb("fm-measure",a.Yt&&(!0===a.sg&&!0!==a.Ri||a.cca||a.Xv||a.Vxa));this.G.eb("fm-folder",
!0===a.Mf||!0===a.lj);this.G.eb("fm-level-folder",!0===a.lj);this.G.eb("fm-level",!0===a.Sj);this.G.eb("fm-measures-folder",!0===a.oy&&!0!==a.Ri);this.G.eb("fm-measures-calculated-folder",!0===a.oy&&!0!==a.Ri&&!0===a.D_);this.G.eb("fm-kpis-folder",!0===a.Ri&&!0===a.Mf);this.G.eb("fm-kpi",!0===a.Ri&&!0!==a.Mf);this.G.eb("fm-calculated",!0===a.Ra);this.G.eb(k.Y.X.xa.zU,(!0===a.Mf||!0===a.lj)&&!0!==a.bg);this.G.eb(k.Y.X.xa.QU,(!0===a.Mf||!0===a.lj)&&!0===a.bg)}}f.kO=c})(h.hi||(h.hi={}))})(k.ud||(k.ud=
{}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{Qa(){const d={};e.w(this.lb)||(d.pages=this.lb.map(g=>g.Qa()));e.w(this.rows)||(d.rows=this.rows.map(g=>g.Qa()));e.w(this.Ka)||(d.columns=this.Ka.map(g=>g.Qa()));e.w(this.Ea)||(d.measures=this.Ea.map(g=>g.Qa()));e.w(this.Gg)||(d.flatOrder=this.Gg.slice());return d}}f.Pma=c;class a{Qa(){const d={};e.w(this.A)||(d.uniqueName=this.A);e.w(this.fa)||(d.aggregation=this.fa);e.w(this.Gf)||(d.activeLevelName=this.Gf);return d}static TQ(d){const g=
new a;g.A=d.A;d.sg&&(g.fa=d.fa,g.F_=d.F_);d.Sj&&(g.Gf=d.A,g.A=d.pg);return g}}f.lO=a;class b{static rY(d){const g=[];for(let l=0;l<d.length;l++)g.push(b.eQ(d[l]));return g}static eQ(d){const g=d.Kd,l=new f.Em;l.A=d.A;l.caption=d.caption;l.name=d.Ik;l.type=d.type;l.fa=d.fa;l.Ra=d.Ra;l.Xc=d.Xc;l.$h=d.$h;l.Hq=d.Hq;l.Ri=d.Ri;l.Kd=g;l.V8=e.v.j.ca.GX(g);l.PX=e.v.j.ca.L8(g);l.Yt=d.Yt();l.description=d.description;return l}}f.Em=b})(h.X||(h.X={}))})(k.ud||(k.ud={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(a){this.wma=40;this.yn=a}get ad(){return this.Sd}set ad(a){this.Sd=a}get Va(){return this.Ur?this.Ny:this.sb}set Va(a){this.sb=a}X_(){return 0<this.$wa().length}CJ(){this.ue="";this.Ny=null}get jS(){return(e.i.B.F.F2||this.Va&&this.Va.length>this.wma)&&this.yn!=e.v.j.sa.Nc}get Ur(){return!e.ia(this.ue)}search(a){a=a.toLowerCase();if(this.ue!=a){this.ue=a;this.Ny=[];for(var b=0;b<this.sb.length;b++){var d=this.sb[b];e.P.contains(d.caption,
a)&&this.Ny.push(d)}}}c_(){for(var a=0,b=0;b<this.Va.length;b++)this.Va[b].Od&&a++;return 0==a?0:a==this.Va.length?1:-1}$wa(){const a=[];if(!e.w(this.sb))for(let b=0;b<this.sb.length;b++)this.sb[b].Od&&a.push(this.sb[b]);return a}get dC(){return(!e.i.Ua.V().Ja.ha.Qc||e.i.Ua.V().Ja.ha.Fa===e.v.j.sa.API)&&e.i.B.F.A2||e.i.B.F.pt&&e.i.Ua.V().Ja.ha.Fa===e.v.j.sa.Nc}get SR(){return this.dC&&!this.ad.ib}LG(a,b){a.sort((d,g)=>{var l=this.BK(d,b),m=this.BK(g,b);return l==m?d.caption.localeCompare(g.caption):
m-l})}BK(a,b){return a.Od?b.length-b.indexOf(a.A):0}Fk(a){for(var b=0;b<this.Va.length;b++)this.Va[b].Od=0<=a.indexOf(this.Va[b].A)}hwa(a){return this.iGa(this.Va,a)}iGa(a,b){for(var d=[],g=0;g<b.length;g++){var l=a[b[g]];l.Od&&d.push({A:l.A,fa:l.fa})}return d}Sfa(a,b){for(var d=[],g=0;g<b.length;g++){var l=a[b[g]];l.Od&&d.push(l)}return d}}f.P3=c})(h.flat||(h.flat={}))})(k.ud||(k.ud={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends f.P3{constructor(a){super(a)}update(a,b){this.Sd=a;this.Wb=b;this.CM();this.to()}CM(){this.Va=[];if(!e.w(this.Sd)){for(var a=this.Sd.rc(!1),b=0;b<a.length;b++){var d=a.ea(b),g=this.Sd.Ke(d.A);e.w(g)||g.type==e.v.j.Na.oc||d.type==e.v.j.Ic.Pa||this.Wb.rows.Sb(g.A)||this.Wb.Ka.Sb(g.A)||this.Wb.lb.Sb(g.A)?this.Va.push(this.nsa(d)):this.Va.push(this.eQ(g))}a=this.Sd.sq;for(b=0;b<a.length;b++)g=a.ea(b),this.Va.push(this.eQ(g))}}to(){var a=
this.Wb.flatten(!0,!0).Lc(!0);this.Fk(a);this.XEa(this.Wb.ed());this.LG(this.Va,a)}XEa(a){for(var b=0;b<a.length;b++){var d=this.Bua(a[b].A);e.w(d)||(d.fa=a[b].fa)}}Bua(a){for(var b=0;b<this.sb.length;b++)if(this.sb[b].A==a)return this.sb[b];return null}eQ(a){var b=new h.X.Em;b.A=a.A;b.caption=a.Ik;b.fa=a.fa;b.Ra=a.Ra;a=a.Kd;b.Kd=a;b.V8=e.v.j.ca.GX(a);b.PX=e.v.j.ca.L8(a);b.sg=!0;b.Ok=e.i.B.F.Ok;return b}nsa(a){var b=new h.X.Em;b.A=a.A;b.caption=a.caption;return b}LK(a){var b=this.Wb.clone(),d=this.Sfa(this.Va,
a),g=d.map(t=>t.A),l=b.flatten(!0,!0);a=b.ed();for(var m=0;m<l.length;m++){var n=l.ea(m).A;if(0>g.indexOf(n)){b.lb.Sb(n)&&b.lb.removeItem(n);b.Ka.Sb(n)&&b.Ka.removeItem(n);b.rows.Sb(n)&&b.rows.removeItem(n);let t=this.Sd.Ke(n);e.w(t)&&(t=this.Sd.sq.getItem(n));e.w(t)||(n=a.findIndex(x=>x.A===t.A),-1<n&&a.splice(n,1))}}for(m=0;m<d.length;m++)if(n=d[m].A,!l.Sb(n)){var p=this.Sd.Fg(n),q=this.Sd.qd(n);e.w(q)||e.w(p)||q.type==e.v.j.Na.oc||p.type==e.v.j.Ic.Pa?e.w(p)?this.Sd.sq.Sb(n)&&a.push(this.Sd.sq.getItem(n)):
b.rows.Ta(n,p):a.push(q)}for(m=0;m<d.length;m++)if(l=d[m],l.fa)for(n=0;n<a.length;n++)a[n].A==l.A&&(a[n].fa=l.fa);b.Gg=g;for(d=0;d<a.length;d++)a[d].index=d;b.Ry(a);return b}hu(){null!=this.Wb&&null!=this.Sd&&this.update(this.Sd,this.Wb)}iu(){null!=this.Wb&&null!=this.Sd&&this.update(this.Sd,this.Wb)}kS(a){var b=this.Wb.flatten(!0,!0).Lc();if(a.length!=b.length)return!0;for(var d=0;d<a.length;d++){var g=a[d],l=b[d];if(g.A!=l.A||void 0!=g.fa&&void 0!=l.fa&&g.fa!=l.fa)return!0}return!1}XC(a){this.Wb=
a}}f.Dja=c})(h.flat||(h.flat={}))})(k.ud||(k.ud={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends r.fh{constructor(a,b){super();this.type="flat";this.MI=!1;this.wx=d=>this.hu(d);this.MA=d=>this.iu(d);this.xx=()=>this.yL();this.Kb=this.OJ(e.v.Sa.V().ha.Fa);this.MI=b;this.view=this.O9(a);this.view.N(r.da.CLOSED,d=>this.Ga(d));this.view.sh&&this.view.sh.N(v.yd.Fe,()=>this.uC());this.view.Ye&&this.view.Ye.N(v.yd.Fe,()=>this.es());null!=this.view.Xe&&this.view.Xe.N(r.da.Id,d=>this.C0(d));this.view.ob&&(this.view.ob.G.N("click",d=>
this.T0(d)),this.view.ob.G.N("keydown",d=>this.U0(d)),this.view.ob.G.Mr({rm:(d,g,l,m)=>this.rm(d,g,l,m),qm:(d,g,l,m)=>this.qm(d,g,l,m),yl:(d,g,l,m)=>this.yl(d,g,l,m),sy:"li",scroll:!0}));this.view.Qd&&this.view.Qd.N(r.da.Id,()=>this.A1());this.view.Sh&&this.view.Sh.N(v.yd.Fe,()=>this.FS());this.view.nh&&(this.view.nh.n2(500),this.view.nh.N(v.gk.qz,()=>this.w1()));this.view.$g&&(this.view.$g.N("click",()=>this.Ey()),this.view.$g.N("keydown",d=>this.GL(d,!1)));this.view.Gp&&(this.view.Gp.N("click",
()=>this.Fy()),this.view.Gp.N("keydown",d=>this.GL(d,!0)))}get se(){return this.MI}O9(a){return this.se?new f.Eja:new f.s5(a)}OJ(a){return new f.Dja(a)}GL(a,b){if(32===a.keyCode||13===a.keyCode)b?this.Fy():this.Ey()}Ey(){this.view.ah.$("fm-search-opened-flat");this.view.nh.G.focus()}Fy(){this.view.ah.Pd("fm-search-opened-flat");this.view.nh.clear();this.view.$g.G.focus()}qm(a,b,d,g){g instanceof MouseEvent?(d=v.Da.Ib(g.target),g=g.clientY):(g=g.changedTouches[0],d=v.Da.Ib(document.elementFromPoint(g.clientX,
g.clientY)),g=g.clientY);d.yc("fm-drop-indicator")||(this.Cl(),a&&a.closest("ul")&&(b&&b.$("fm-droppable-valid"),a.$("fm-drag-over"),this.aD(d,g)))}yl(a,b){this.Cl();a&&a.closest("ul")&&(b&&b.Pd("fm-droppable-valid"),b&&b.Pd("fm-droppable-invalid"),a.Pd("fm-drag-over"))}w1(){this.Kb.search(this.view.nh.Qi());this.view.ob.G.eb("fm-searched",this.Kb.Ur);this.view.ob.Pf(this.Kb.Va);this.zQ()}C0(a){var b=a.data.fK,d=a.data.GQ;b.fa=a.data.EX.fa;b.caption=b.name;-1<d?this.view.ob.Rp(d):this.view.ob.Wq(b);
a=this.Kb.Va.find(g=>g.A===b.A);null!=a&&(a.fa=b.fa,a.caption=b.caption);this.se&&this.de()}rm(a){if(null!=this.kd)if(a&&a.closest("ul")){a=parseInt(a.attr("data-index"));var b=this.view.ob.Hc().length;this.kd.element.previousElementSibling?b=parseInt(this.kd.element.previousElementSibling.getAttribute("data-index"))+1:this.kd.element.nextElementSibling&&(b=parseInt(this.kd.element.nextElementSibling.getAttribute("data-index")));this.Cl();this.$r(a,b);this.view.ob.G.Sq(this.view.ob.G.element.scrollTop);
this.view.ob.Dea(b)}else this.Cl()}$r(a,b){if(a!=b){var d=this.view.ob.Hc();a<b&&--b;d.splice(b,0,d.splice(a,1)[0]);this.Kl();this.se&&this.de()}}es(){this.se?e.Mh.La.cF():this.view.close()}uC(){this.view.nh&&this.Kb.Ur&&(this.view.nh.clear(!1),this.Kb.CJ(),this.view.ob.Pf(this.Kb.Va),this.zQ());this.de();this.view.close()}A1(){for(var a=this.view.Qd.checked,b=this.Kb.Va,d=0;d<b.length;d++)b[d].Od=a;this.view.ob.tu();this.uu();this.zQ();this.se&&this.de()}U0(a){if(32===a.keyCode||13===a.keyCode){if(this.view.ti){const d=
this.view.ob.Dq(a.target);if(e.w(d))return;var b=v.Da.Ib(a.target);if(b.yc("fm-aggr-display")){this.view.Xe.xm(d.data,b);return}b=[];b.push({label:d.data.Od?e.i.C.u.TU:e.i.C.u.Iia,handler:()=>this.lh(3,d.data,d.index)});0<d.index&&b.push({label:e.i.C.u.f5,handler:()=>this.lh(4,d.data,d.index)});d.index<this.view.ob.Hc().length-1&&b.push({label:e.i.C.u.Z4,handler:()=>this.lh(5,d.data,d.index)});d.data.Ra&&b.push({label:e.i.C.u.UU,handler:()=>this.lh(10,d.data,d.index)});this.view.ti.xm(this.view.G,
b,d.element.mf(),{top:10,left:10})}a.preventDefault()}}lh(a,b,d){3==a?(b.Od=!b.Od,this.view.ob&&this.view.ob.Rp(d),this.view.Qd&&this.view.Qd.hg(this.Kb.c_()),this.view.ob.Pi(d),this.uu(),this.se&&this.de()):4==a?(this.$r(d,d-1),this.view.ob.Pi(d-1)):5==a?(this.$r(d,d+2),this.view.ob.Pi(d+1)):10==a&&this.tG(b.A)}T0(a){const b=this.view.ob.Dq(a.target);e.w(b)||(a=v.Da.Ib(a.target),a.yc("fm-aggr-display")?this.view.Xe.xm(b.data,a):a.yc("fm-calc-display")?this.lh(10,b.data,b.index):this.lh(3,b.data,
b.index))}tG(a=null){this.view.eU=!0;e.i.Ua.V().Ga(new k.Ra.DU(a));e.i.Ua.V().N(k.Ra.ak.hz,this.xx);e.i.Ua.V().N(k.Ra.ak.gz,this.wx)}FS(){this.tG()}hu(a){e.i.Ua.V().qb(k.Ra.ak.gz,this.wx);this.Kb.hu(a.Xr);this.Kl();this.se&&this.de()}iu(a){e.i.Ua.V().qb(k.Ra.ak.vD,this.MA);this.Kb.iu(a.Xr);this.Kl();this.se&&this.de()}yL(){this.view.eU=!1;e.i.Ua.V().qb(k.Ra.ak.hz,this.xx);this.view.G.focus({preventScroll:!0})}Kl(){this.view.reset&&this.view.reset();this.view.ah&&this.view.ah.isVisible(this.Kb.jS);
this.view.nh&&(this.view.nh.clear(!1),this.Kb.CJ());this.view.ob&&(this.view.ob.Pf(this.Kb.Va),this.uu(),this.zQ());this.view.Sh&&(this.view.Sh.isVisible(this.Kb.dC),this.view.Sh.Rq(this.Kb.SR))}zQ(){var a={Nn:g=>this.view.Nn(g)};w.Dd().lm&&(a.FR=".fm-drag-handle");for(var b=this.view.ob.G.find("li",!0),d=0;d<b.length;d++)b[d].draggable(a)}update(a,b,d){this.Kb=this.OJ(d);this.Kb.update(a,b);this.Kl();this.view.Qd&&this.view.Qd.hg(this.Kb.c_());this.view.gg()}uu(){this.view.sh&&this.view.sh.Rq(this.Kb.X_())}de(){for(var a=
[],b=this.view.ob.G.find("li",!0),d=0;d<b.length;d++){var g=parseInt(b[d].attr("data-index"));a.push(g)}b=this.Kb.hwa(a);this.Kb.kS(b)&&(a=this.Kb.LK(a),this.se&&a instanceof e.v.O.ir&&(a.u0=!1,e.Mh.La.My(),this.Kb.XC(a)),e.i.Ua.V().de(a))}aD(a,b){const d=a.closest("li");null!=d?(this.kd=this.yv(),a=d.getBoundingClientRect(),b>a.top+a.height/2?d.after(this.kd):d.before(this.kd)):(b=a.closest("ul"),null!=b&&(this.kd=this.yv(),b.append(this.kd)))}yv(){return new v.Da("div","fm-drop-indicator")}Cl(){this.kd&&
(this.kd.fg(!0),this.kd=null)}}f.aV=c})(h.flat||(h.flat={}))})(k.ud||(k.ud={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends v.Vd.Uw{constructor(a){super(a);this.$("fm-flat-fields");this.ve();this.Jh();this.G.ol();this.G.Xj({M2:[v.Xj.Ei.Oh,v.Xj.Ei.aj],oY:k.Pb.Gb.G,resize:b=>this.D1(b)})}D1(a){a.KG!=v.Xj.Ei.Oh&&a.KG!=v.Xj.Ei.aj||this.Ip(a.size.height+(a.size.height-a.G1.height));this.ME();this.qt()}ve(){var a=new v.Oa("div","fm-popup-header fm-ui-row");this.W(a);var b=new v.Oa("div","fm-ui-col fm-vam");a.W(b);this.oC=new v.Oc(e.i.C.u.mN);this.oC.$("fm-popup-title");
b.W(this.oC);this.nC=new v.Oc(e.i.C.u.i5);this.nC.$("fm-popup-subtitle");b.W(this.nC);b=new v.Oa("div","fm-ui-col fm-vam fm-tar fm-ui-btns-row");a.W(b);this.Sh=new v.kg("fm-btn-add-measure fm-ui-btn-light fm-icon-act_calc");b.W(this.Sh);this.Ye=new v.kg;this.Ye.$a(e.i.C.u.Ml);this.sh=new v.kg("fm-ui-btn-dark");this.sh.$a(e.i.C.u.Gw);w.Di.hC||w.Di.eo?(b.W(this.Ye),b.W(this.sh)):(b.W(this.sh),b.W(this.Ye));a=new v.Oa("div","fm-popup-content");this.W(a);b=new v.Oa("div","fm-list-wrap");a.W(b);var d=
new v.Oa("div","fm-list-header");b.W(d);this.Qd=new v.pI;this.Qd.$("fm-select-all-cbx");this.Qd.$a(e.i.C.u.Eu);d.W(this.Qd);this.ah=new v.Oa("div","fm-search-wrap");d.W(this.ah);this.$g=new v.Oa("a","fm-search-btn");this.$g.Jh(0);this.$g.wm("button");this.ah.W(this.$g);d=new v.Oa("span","fm-ui-icon fm-icon-act_search");this.$g.W(d);this.nh=new v.gk;this.nh.$("fm-search-inp-flat");this.ah.W(this.nh);this.Gp=new v.Oa("span","fm-close-search fm-ui-icon fm-icon-act_close");this.Gp.Jh(0);this.Gp.wm("button");
this.ah.W(this.Gp);d=new v.Oa("div","fm-list-content");b.W(d);this.ob=new v.ld.Fi;this.ob.$("fm-lst-hierarchies");this.ob.wm("listbox");this.ob.Ih(this.PC);this.ob.wf("caption");d.W(this.ob);this.Xe=new h.cH;this.Xe.$("fm-aggregations-view");this.Xe.cb();a.W(this.Xe);this.ti=new v.xq.$D(a.G);this.ti.cb();a.W(this.ti)}PC(a,b){var d=new h.hi.kO(a,b);d.setData(a);d.vm(b);return d}gg(){this.oC.$a(e.i.C.u.mN);this.nC.$a(e.i.C.u.i5);this.Ye.$a(e.i.C.u.Ml);this.sh.$a(e.i.C.u.Gw);this.Qd.$a(e.i.C.u.Eu);this.Sh.Gl(e.i.C.u.vz)}reset(){this.ah.Pd("fm-search-opened-flat");
this.nh.clear(!1)}Nn(a){var b=new v.Da("span");b.$("fm-drag-handle");b.$("fm-helper");b.$("fm-draggable");b.eb("fm-values",a.yc("fm-values"));b.U("width",a.U("width"));b.U("position","absolute");b.U("z-index",100);b.attr("data-index",a.attr("data-index"));b.text(a.text());return b}}f.s5=c})(h.flat||(h.flat={}))})(k.ud||(k.ud={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends v.Vd.Dj{constructor(){super();this.$("fm-flat-fields");this.$("fm-instant-view");this.ve()}ve(){var a=new v.Oa("div","fm-popup-content");this.W(a);var b=new v.Oa("div","fm-list-wrap fm-list-wrap-all");a.W(b);var d=new v.Oa("div","fm-list-header");b.W(d);this.Qd=new v.pI;this.Qd.$("fm-select-all-cbx");this.Qd.$a(e.i.C.u.Eu);d.W(this.Qd);this.Sh=new v.kg("fm-btn-add-measure");d.W(this.Sh);this.Ye=new v.kg("fm-btn-close-fields");d.W(this.Ye);
d=new v.Oa("div","fm-list-content");b.W(d);this.ob=new v.ld.Fi;this.ob.$("fm-lst-hierarchies");this.ob.Ih(this.PC);this.ob.wf("caption");d.W(this.ob);this.Xe=new h.cH;this.Xe.$("fm-aggregations-view");this.Xe.cb();a.W(this.Xe);this.ti=new v.xq.$D(a.G);this.ti.cb();a.W(this.ti)}PC(a,b){var d=new h.hi.kO(a,b);d.setData(a);d.vm(b);return d}gg(){this.Qd.$a(e.i.C.u.Eu);this.Sh.Gl(e.i.C.u.vz)}Nn(a){var b=new v.Da("span");b.$("fm-drag-handle");b.$("fm-helper");b.$("fm-draggable");b.eb("fm-values",a.yc("fm-values"));
b.U("width",a.U("width"));b.U("position","absolute");b.U("z-index",100);b.attr("data-index",a.attr("data-index"));b.text(a.text());return b}open(){this.show();this.bb(r.da.OPENED)}close(){this.cb();this.bb(r.da.CLOSED)}}f.Eja=c})(h.flat||(h.flat={}))})(k.ud||(k.ud={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.Vd.Uw{constructor(){super(k.Pb.Gb.G);this.OGa=()=>this.HL();this.$("fm-calculated-view");this.G.ol();this.zC.$("fm-calculated-view-overlay");this.kh=new h.Gha;this.kh.N(r.da.c4,()=>this.close());this.W(this.kh.view);this.N(r.da.CLOSED,this.OGa)}HL(){e.i.Ua.V().Ga(new k.Ra.Kha)}gs(c){this.kh.update(c);this.open()}close(){super.close();this.kh.clear()}}f.lJ=!1;h.AD=f})(k.Ra||(k.Ra={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{}f.gz="event_calculated_value_added";f.vD="event_calculated_value_removed";f.V3="calculated_view_open";f.hz="calculated_view_close";h.ak=f;class c extends r.da{constructor(g){super(f.gz);this.Xr=g}}h.Iha=c;class a extends r.da{constructor(g){super(f.vD);this.Xr=g}}h.Jha=a;class b extends r.da{constructor(g=null){super(f.V3);this.Xr=g}}h.DU=b;class d extends r.da{constructor(){super(f.hz)}}h.Kha=d})(k.Ra||(k.Ra={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){this.Xoa="- 2";this.oa=e.i.Ua.V();this.WQ=[{name:"_addBtn",label:"+",Qj:e.v.j.lc.JM},{name:"_subtractBtn",label:"-",Qj:e.v.j.lc.jO},{name:"_multiplyBtn",label:"\u00d7",Qj:e.v.j.lc.UN},{name:"_divideBtn",label:"\u00f7",Qj:e.v.j.lc.rH},{name:"_powerBtn",label:"^",Qj:e.v.j.lc.AV},{name:"_equalBtn",label:"=",Qj:e.v.j.lc.EQUAL},{name:"_lessBtn",label:"<",Qj:e.v.j.lc.LESS},{name:"_greaterBtn",label:">",Qj:e.v.j.lc.GREATER},{name:"_lessOrEqualBtn",
label:"\u2264",Qj:e.v.j.lc.I5},{name:"_greaterOrEqualBtn",label:"\u2265",Qj:e.v.j.lc.v5},{name:"_equalBtn2",label:"==",Qj:e.v.j.lc.L4},{name:"_notEqualBtn",label:"!=",Qj:e.v.j.lc.Cf},{name:"_orBtn",label:"OR",Qj:e.v.j.lc.p6},{name:"_andBtn",label:"AND",Qj:e.v.j.lc.x3},{name:"_ifBtn",label:"IF",Qj:e.v.j.lc.wN},{name:"_absBtn",label:"ABS",Qj:e.v.j.lc.mU},{name:"_minBtn",label:"MIN",Qj:e.v.j.lc.MIN},{name:"_maxBtn",label:"MAX",Qj:e.v.j.lc.MAX}]}update(c){e.ia(c)||(this.Mi=this.oa.ja.O.qd(c))}get Ok(){return!this.oa.ja.ha.Qc||
this.oa.ja.ha.Fa==e.v.j.sa.API}get H2(){return this.oa.ja.ha.Fa!=e.v.j.sa.API}Sx(){return k.ud.X.Em.rY(this.oa.ja.O.Ea.Lc())}Ly(c){h.AD.lJ=!0;this.oa.Jy(c.A);this.oa.Ga(new h.Jha(c.A));e.Be(()=>{h.AD.lJ=!1},1E3)}Kj(c,a="",b=!1){a=0<a.length?a:this.vva();if(null!=this.Mi){if(this.Mi.caption!=a||this.Mi.je!=c||this.Mi.xk!=b)var d={uniqueName:this.Mi.A,caption:a,formula:c,individual:b,type:this.Mi.type}}else a=null!=this.oa.ja.O.Ea.getItem(a)?a+" "+this.Xoa:a,d={uniqueName:a,caption:a,formula:c,individual:b,
type:e.v.j.Na.kb};null!=d&&(h.AD.lJ=!0,k.ud.Xs.s6.lZ=!0,this.oa.ja.it(d,!1),this.oa.Ga(new h.Iha(d.uniqueName)),e.Be(()=>{h.AD.lJ=!1},1E3))}vva(){for(var c=e.i.C.u.vU+" #",a=0,b=this.oa.ja.O.sq,d=new RegExp(e.i.C.u.vU+" #"),g=0;g<b.length;g++){var l=b.ea(g).caption;d.test(l)&&(a=Math.max(a,parseInt(l.substr(e.i.C.u.vU.length+2))))}return c+(a+1)}}h.Hha=f})(k.Ra||(k.Ra={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends r.fh{constructor(){super();this.d8=new RegExp(/(["])(?:(?=(\\?))\2.)*?\1/g);this.oa=new h.Hha;this.view=new h.Lha(this);this.view.qw&&this.view.qw.N(v.yd.Fe,()=>this.kCa());this.view.Zb&&(this.view.Zb.G.N("click",a=>this.IBa(a)),this.view.Zb.G.N("dblclick",a=>this.JBa(a)),this.view.Zb.G.N("keydown",a=>this.PBa(a)),this.view.Zb.Ih((a,b)=>this.Or(a,b)));this.view.Xh&&this.view.Xh.G.Mr({rm:a=>this.KBa(a),J0:()=>this.lda(),qm:()=>this.lda(),yl:()=>
this.dBa(),sy:"li"});this.view.sh&&this.view.sh.N(v.yd.Fe,()=>this.uC());this.view.Ye&&this.view.Ye.N(v.yd.Fe,()=>this.es());this.view.Xe&&this.view.Xe.N(r.da.Id,a=>this.Xza(a));if(this.view.VQ)for(var c=0;c<this.view.VQ.length;c++)this.view.VQ[c].N(v.yd.Fe,a=>this.eBa(a))}IBa(c){const a=v.Da.Ib(c.target);a.yc("fm-aggr-display")&&(c=this.view.Zb.Dq(c.target),e.w(c)||this.view.Xe.xm(c.data,a))}JBa(c){c=this.view.Zb.Dq(c.target);e.w(c)||this.zX(c.data)}PBa(c){if(32===c.keyCode||13===c.keyCode){if(this.view.ti){const b=
this.view.Zb.Dq(c.target);if(e.w(b))return;var a=v.Da.Ib(c.target);if(a.yc("fm-aggr-display")){this.view.Xe.xm(b.data,a);return}a=[];a.push({label:e.i.C.u.Uga,handler:()=>{this.zX(b.data);this.view.Zb.Pi(b.index)}});this.view.ti.xm(this.view.content.G,a,b.element.mf(),{top:10,left:10})}c.preventDefault()}}lda(){this.view.Xh.$("fm-droppable-over")}dBa(){this.view.Xh.Pd("fm-droppable-over")}KBa(c){this.view.Xh.Pd("fm-droppable-over");c=parseInt(c.attr("data-index"));c=this.view.Zb.Hc()[c];this.zX(c)}Or(c,
a){var b=new k.ud.hi.ZU;b.setData(c);b.vm(a);b.kFa(function(d){return d.name+" ("+e.v.j.ca.FX(d.fa)+")"});return b}get WQ(){return this.oa.WQ}update(c){this.oa.update(c);this.view.OA.isVisible(this.oa.H2);null!=this.oa.Mi?(this.view.G.eb("fm-with-delete-btn",!0),this.view.eu&&this.view.eu.Yi(this.oa.Mi.caption),this.view.Xh&&(c=e.i.B.F.jU?this.jEa(this.oa.Mi.je):this.oa.Mi.je,this.view.Xh.Yi(c)),this.view.qw&&this.view.qw.isVisible(!0)):(this.view.G.eb("fm-with-delete-btn",!1),this.view.qw&&this.view.qw.isVisible(!1));
this.view.OA&&this.oa.H2&&(this.view.OA.checked=this.oa.Mi?this.oa.Mi.xk:!1);this.view.gg();this.FGa()}FGa(){for(var c=this.oa.Sx(),a=[],b=0;b<c.length;b++)null!=this.oa.Mi&&this.oa.Mi.A==c[b].A||c[b].Ri||(c[b].sg=!0,c[b].Ok=this.oa.Ok&&!c[b].Ra,a.push(c[b]));a.sort(this.eY);if(this.view.Zb)for(this.view.Zb.Pf(a),c={Nn:d=>this.view.Nn(d)},w.Dd().lm&&(c.FR=".fm-drag-handle"),a=this.view.Zb.G.find("li",!0),b=0;b<a.length;b++)a[b].draggable(c)}clear(){this.view.eu&&this.view.eu.Yi("");this.view.Xh&&
this.view.Xh.Yi("");this.oa.Mi=null}eY(c,a){return c.name>a.name?1:-1}kCa(){w.Dd().lm?this.n1():this.AFa()}AFa(){if(w.Di.hC||w.Di.eo){var c=[e.i.C.u.M3,e.i.C.u.qD];var a=[null,()=>this.n1()]}else c=[e.i.C.u.qD,e.i.C.u.M3],a=[()=>this.n1(),null];var b=e.i.Vb.valid(this.oa.Mi.caption)?this.oa.Mi.caption:e.i.Vb.Mc(this.oa.Mi.caption);e.Wa(e.i.C.u.Vga,e.P.bind(e.i.C.u.Wga,b),e.Bb.Tk,c,a)}n1(){this.oa.Ly(this.oa.Mi);this.close()}zX(c){if(void 0!==c){var a=e.i.B.F.jU?c.name:c.A;c.fa===e.v.j.ca.NONE||void 0===
c.fa?this.iy(e.P.bind('"{0}"',a)):this.iy(e.P.bind('{0}("{1}")',c.fa,a))}}Xza(c){var a=c.data.fK;c=c.data.EX;a.fa=c.fa;a.caption=c.caption+" of "+a.name;this.view.Zb.Wq(a)}eBa(c){c=parseInt(c.target.G.attr("data-index"));c=this.WQ[c].Qj;c==e.v.j.lc.wN||c==e.v.j.lc.mU||c==e.v.j.lc.MIN||c==e.v.j.lc.MAX||c==e.v.j.lc.xn?this.Lpa(c):this.Ipa(c)}es(){this.close()}uC(){const c=e.i.B.F.jU?this.iEa(this.view.Xh.Qi()):this.view.Xh.Qi();if(e.i.B.F.FM){var a=w.uN.NP(c,this.oa.Mi?this.oa.Mi.A:this.view.eu.Qi());
if(0==a.Wv){e.Wa(a.errorMessage);return}}a=this.oa.H2?this.view.OA.checked:!1;this.oa.Kj(c,this.view.eu.Qi(),a);this.close()}iEa(c){c=c.slice(0);const a=c.match(this.d8),b=e.v.Sa.V().O.Ea;let d,g;for(let l=0;l<a.length;l++){d=a[l].substring(1,a[l].length-1);for(g=0;g<b.length&&d!==b.ea(g).Ik;g++);g<b.length&&(c=c.replace('"'+d+'"','"'+b.ea(g).A+'"'))}return c}jEa(c){c=c.slice(0);const a=c.match(this.d8),b=e.v.Sa.V().O.Ea;let d;for(let g=0;g<a.length;g++)d=a[g].substring(1,a[g].length-1),c=c.replace('"'+
d+'"','"'+b.getItem(d).Ik+'"');return c}close(){this.bb(r.da.c4)}iy(c,a=0){var b=this.view.Xh.G.element.selectionStart,d=this.view.Xh.Qi();-1==b&&(b=this.Gh);0==b||" "==d.charAt(b-1)?(this.view.Xh.iy(c+" "),this.Gh=b+c.length+1):(this.view.Xh.iy(" "+c+" "),this.Gh=b+c.length+2);this.Gh-=a;this.view.Xh.hg(this.Gh)}Ipa(c){this.iy(c)}Lpa(c){const a=this.view.Xh.G.element.selectionStart,b=this.view.Xh.G.element.selectionEnd,d=this.view.Xh.Qi();if(e.v.j.lc.wN==c)this.iy(c+"("+d.slice(a,b)+", , )",6);else{let g=
e.v.j.lc.MIN==c||e.v.j.lc.MAX==c?",":"";this.iy(c+"("+d.slice(a,b)+g+")",2+g.length)}}}h.Gha=f})(k.Ra||(k.Ra={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.Oa{constructor(c){super();this.controller=c;this.ve()}ve(){var c=new v.Oa("div","fm-popup-header fm-ui-row");this.W(c);var a=new v.Oa("div","fm-ui-col fm-vam");c.W(a);this.Tq=new v.Oc(e.i.C.u.X3);this.Tq.$("fm-popup-title");a.W(this.Tq);this.Y2=new v.Oc(e.i.C.u.T3);this.Y2.$("fm-popup-subtitle");a.W(this.Y2);a=new v.Oa("div","fm-ui-col fm-vam fm-tar fm-ui-btns-row");c.W(a);this.qw=new v.kg("fm-ui-btn-light fm-icon-act_trash fm-remove-btn");
this.qw.G.attr("title",e.i.C.u.W3);a.W(this.qw);this.Ye=new v.kg("fm-ui-btn");this.Ye.$a(e.i.C.u.Ml);this.sh=new v.kg("fm-ui-btn-dark");this.sh.$a(e.i.C.u.Gw);w.Di.hC||w.Di.eo?(a.W(this.Ye),a.W(this.sh)):(a.W(this.sh),a.W(this.Ye));this.content=c=new v.Oa("div","fm-popup-content");this.W(c);this.eu=new v.gk;this.eu.$("fm-name-input");this.eu.VC(e.i.C.u.U3);c.W(this.eu);this.Zb=new v.ld.Fi;this.Zb.$("fm-lst-measures");this.Zb.useCache=!1;this.Zb.wf("caption");c.W(this.Zb);this.OA=new v.pI;this.OA.$a(e.i.C.u.R3);
c.W(this.OA);this.qaa=new v.Oa("div","fm-ui-row fm-func-btn-group");c.W(this.qaa);this.VQ=[];a=this.controller.WQ;for(var b=0;b<a.length;b++){var d=new v.kg("fm-ui-col-9 fm-calc-action");d.Pd("fm-ui-btn");d.pFa(a[b].name);d.$a(a[b].label);d.G.attr("data-index",b);this.qaa.W(d);this.VQ.push(d)}a=new v.Oa("div","fm-formula-wrap");c.W(a);this.Xh=new v.Su;this.Xh.$("fm-formula-input");this.Xh.N(v.gk.qz,()=>this.cBa());a.W(this.Xh);this.qS=new v.Oc(e.i.C.u.S3);this.qS.$("fm-prompt");a.W(this.qS);this.Xe=
new k.ud.cH;this.Xe.$("fm-aggregations-view");this.Xe.cb();c.W(this.Xe);this.ti=new v.xq.$D(c.G);this.ti.cb();c.W(this.ti)}gg(){this.Tq.$a(e.i.C.u.X3);this.Y2.$a(e.i.C.u.T3);this.sh.$a(e.i.C.u.Gw);this.Ye.$a(e.i.C.u.Ml);this.eu.VC(e.i.C.u.U3);this.OA.$a(e.i.C.u.R3);this.qS.$a(e.i.C.u.S3);this.qw.G.attr("title",e.i.C.u.W3)}Nn(c){var a=new v.Da("span");a.$("fm-drag-handle");a.$("fm-helper");a.$("fm-draggable");a.U("width",c.U("width"));a.U("position","absolute");a.U("z-index",100);a.attr("data-index",
c.attr("data-index"));a.text(c.text());return a}cBa(){this.qS.isVisible(0==this.Xh.Qi().length)}}h.Lha=f})(k.Ra||(k.Ra={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.Vd.Uw{constructor(){super(k.Pb.Gb.G);this.Tf=this.Te=this.Ho=this.Sw=this.dj=0;this.$("fm-drillthrough-view");this.ve()}ve(){this.pE=new v.Vd.Dj("fm-header-container");this.W(this.pE);this.yr=new v.Oc;this.yr.$("fm-popup-title");this.yr.LT(!1);this.pE.W(this.yr);this.Yz=new v.kg;this.Yz.$("fm-ui-btn-close");this.Yz.Gl(e.i.C.u.$ma);this.Yz.N(v.yd.Fe,()=>this.close());this.pE.W(this.Yz);this.$z=new v.Vd.Dj("fm-details-container");this.W(this.$z);
this.JE=new v.Oc;this.JE.$("fm-ui-label-light");this.$z.W(this.JE);this.HE=new v.Oc;this.HE.$("fm-ui-label-light");this.$z.W(this.HE);this.IE=new v.Oc;this.IE.$("fm-ui-label-light");this.$z.W(this.IE);this.YI=new v.Vd.Dj("fm-grid-container");this.W(this.YI);this.ka=new k.Y.sheet.flat.IH;this.ka.Jh(-1);this.ka.Ak=!0;this.YI.G.W(this.ka);new h.nia(this);this.ax=new h.Cq.pia;this.YI.W(this.ax)}U1(){e.w(this.kh)||this.kh.Kl()}gs(c=null,a=null,b=null,d=null,g=null,l=null){this.I=c;e.w(this.kh)&&(this.kh=
new h.oia(this));this.kh.update(a,b,d,g,l)}close(){super.close();this.bb(k.Y.hc.H4);e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.G4))}Nj(c,a,b=null,d=null){e.w(this.kh)||this.kh.Nj(c,a,b,d)}dispose(){this.I=null;this.ka&&(this.ka.dispose(),this.ka=null);this.kh&&(this.kh.dispose(),this.kh=null);this.ax.fe();this.ax.fg();this.ax=null;this.yr.fg();this.yr=null;this.JE.fg();this.JE=null;this.HE.fg();this.HE=null;this.IE.fg();this.IE=null;this.pE.fg();this.pE=null;this.YI.fg();this.YI=null;this.$z.fg();this.$z=null;
this.Yz.fg();this.Yz.fe();this.Yz=null;this.fe()}}h.CD=f})(k.lf||(k.lf={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(c){this.view=c;this.view.N(k.Y.hc.H4,()=>this.lAa());this.view.ka.N(k.Y.hc.XH,a=>this.tC(a));this.view.ka.N(k.Y.hc.E4,a=>this.gBa(a));this.view.ka.N(k.Y.hc.D4,a=>this.fBa(a));this.view.ax.N(k.ud.Lw.iN,()=>this.M0());this.view.ax.N(k.ud.Lw.uH,a=>this.L0(a))}OJ(c){return e.i.Ua.V().Ja.ha.Qc?e.i.Ua.V().Ja.ha.Fa==e.v.j.sa.Nc?new h.Zr.h6(c):e.i.Ua.V().Ja.ha.Fa==e.v.j.sa.API?new h.Zr.xga(c):e.i.Ua.V().Ja.ha.Fa==e.v.j.sa.ae?new h.Zr.tla(c):new h.Zr.l6(c):
new h.BD(c)}update(c=null,a=null,b=null,d=null,g=null){e.w(this.i)||this.i.dispose();this.i=this.OJ(this.view.I);this.i.cell=g;this.i.N(h.BD.hN,()=>this.wp());this.i.update(c,a,b,d);this.view.ka.slice=c;this.view.ka.HB=(l,m)=>this.i.getData(l,m);this.view.ka.bK.zea=(l,m,n)=>this.YL(l,m,n)}wp(){this.view.open();const c=()=>{this.view.ka.qb(k.ri.uo,c);e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.I4,this.i.cell))};this.view.ka.N(k.ri.uo,c);this.Kl()}Kl(){this.i.V1();this.cga();this.view.ax.isVisible(this.i.bya);
this.view.Zj(k.Pb.qu-70);const c=k.Pb.Gb.G.wd(!0)-this.view.$z.G.wd(!0)-this.view.pE.G.wd(!0)-30-this.view.G.padding.top-this.view.G.padding.bottom-40,a=this.view.pf()-(parseInt(this.view.G.U("border-left-width"))+parseInt(this.view.G.U("border-right-width")));this.view.ka.sv();this.view.ka.resize(a,c);this.view.ka.width=a;this.view.ka.height=c;this.view.ka.oaa(1);this.view.ka.bK.Wea(e.i.B.F.sB&&!e.v.Sa.V().ha.Qc);this.view.ka.Tea(this.i.UL,this.i.o9);this.view.ka.jb();this.view.qt()}cga(){this.view.yr.$a(e.i.C.u.iia);
var c=this.i.Twa();this.view.JE.$a(c,!0);this.view.JE.isVisible(!e.ia(c));c=this.i.Hva();this.view.HE.$a(c,!0);this.view.HE.isVisible(!e.ia(c));c=this.i.uwa();this.view.IE.$a(c,!0);this.view.IE.isVisible(!e.ia(c))}tC(c){e.i.Ua.V().Ja.ha.Qc||c.ica||this.yta(c.cell);c.cell&&c.cell.oh&&c.cell.EA==k.Y.X.Yp.lI&&(this.i.kM(c.cell),this.view.ka.clearData(),this.view.ka.jb())}yta(c){if(e.i.Ya.V().nba(e.i.Ya.UM)&&!e.w(c)){var a=this.i.Rwa(c.mb);e.w(a)||(c.Ak=!0,c=c.Qa(),c.rowData=a,e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.UM,
c)))}}gBa(c){this.i.Ev.eEa(c.data.index);this.i.to(this.i.Ev)}fBa(c){let a=c.data.Vua;c=c.data.fGa;c=Math.max(0,Math.min(c,this.i.Ev.selected.length));a<c&&c--;a!=c&&(this.i.Ev.Oza(a,c),this.i.to(this.i.Ev))}M0(){this.view.ax.open(this.i.Ev)}L0(c){this.i.to(c.data)}Nj(c,a,b,d){const g=this.i.o9,l=0<this.i.UL?this.i.UL+1:0;c==e.i.tc.Ci.yz&&e.i.tc.V4.Of(this.view,a,d);c==e.i.tc.Ci.Gu&&e.i.tc.U4.Of(this.view,a,g,l,d);c==e.i.tc.Ci.qh&&e.i.tc.T4.Of(this.view,a,g,l,b);c==e.i.tc.Ci.JSON&&e.i.tc.W4.Of(this.view,
a,g,l,b);c==e.i.tc.Ci.Hz&&e.i.tc.Ge.Of(this.view,a,g,l,d);c==e.i.tc.Ci.ED&&(a.az=a.az&&(e.i.Ua.V().Ja.ha.Fa==e.v.j.sa.Nc||e.i.Ua.V().Ja.ha.Fa==e.v.j.sa.ae)&&e.i.B.F.Qp,e.i.tc.Y4.Of(this.view,a,g,l))}YL(c,a,b){this.timer&&this.timer.Mk&&this.timer.stop();null==this.timer&&(this.timer=new w.Ns(1E3,1));this.timer.N(w.Ve.$k,()=>this.GCa());this.timer.start();this.i.YL(c,a,b);this.Kl()}GCa(){this.cga();this.timer.stop()}lAa(){this.view.ka.bK.Ffa();e.i.B.F.sB&&this.i.GY&&(this.i.GY=!1,e.v.Sa.V().refresh())}dispose(){this.timer&&
(this.timer.stop(),this.timer=null);this.i&&(this.i.dispose(),this.i=null);this.view=null}}h.oia=f})(k.lf||(k.lf={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends r.fh{constructor(c){super();this.mG={};this.GY=!1;this.cell=null;this.Nm=c}update(c=null,a=null,b=null,d=null){this.Wb=c;this.Wf=this.AY(c);this.Jg=b;this.Yf=a;this.measure=d;this.mG={};this.Hd()}to(c){this.Wf=c;c=[];if(this.Wf.ko&&0<this.Wf.ko.length){for(var a=0;a<this.Wf.ko.length;a++){var b=this.Wf.ko[a].level;c.push(void 0===b?this.Wf.ko[a].hierarchy:b)}this.Wb.Uc=c}else this.Wb.Uc=this.Wf.selected;this.Hd()}get Ev(){return this.Wf}AY(c){const a=
new h.Cq.K4;var b=this.Wb.ad.rc(!1);for(var d=0;d<b.length;d++){var g=b.ea(d);a.$e.Ta(g.A,{A:g.A,caption:g.caption,ta:g.ta.Lc(!0).slice(1)})}d=null!=c.Uc&&0<c.Uc.length?c.Uc:null!=e.i.Ua.V().Ja.OK&&0<e.i.Ua.V().Ja.OK.length?e.i.Ua.V().Ja.OK:c.flatten().Lc(!0);for(b=0;b<d.length;b++)g=d[b],a.$e.Sb(g)&&a.NE(g);d={};for(b=0;b<c.hf.length;b++)g=c.hf[b],g.Ra&&0<g.Oe.length&&this.yaa(g.Oe,d);for(const l in d)b=c.ad.qd(l),e.w(b)||b.Ra||a.NE(l);return a}yaa(c,a){if(void 0!==c[2]){var b,d;for(d in c[1]){var g=
b=c[1][d];Array.isArray(b)&&(g=this.yaa(b,a));if(g==e.v.j.fN.dN&&c[0]==e.v.j.lc.rH)break;void 0!==g&&(a[g]=1)}}}V1(){this.Hd(!1)}Hd(c=!0){this.data=this.Nm.Uc(this.Jg,this.Yf,this.measure);this.keys=this.data.shift();this.ZX();c&&this.bb(f.hN)}kM(c){const a=c.measure&&c.measure.type==e.v.j.Na.oc?e.v.j.Ba.gc:e.v.j.Ba.Ec;this.vh=this.ZP==c.hierarchy?this.vh==e.v.j.Ba.gc?e.v.j.Ba.Ec:this.vh==e.v.j.Ba.Ec?e.v.j.Ba.gc:a:a;this.ZP=c.hierarchy;const b=this.Taa(c.hierarchy),d=c.hierarchy.uj(c.hierarchy.Cd,
!0,this.vh);this.data.sort((g,l)=>d.indexOf(g[b])-d.indexOf(l[b]))}Rwa(c){if(e.w(this.data)||e.w(this.data[c-1]))return null;const a=[];for(let b=0;b<this.Ev.$e.length;b++){const d=this.Swa(c,this.Wf.$e.Ah(b));a.push(null==d?d:d.Qa())}return a}Swa(c,a){a=this.Wb.ad.Fg(a);if(null==a)return null;const b=this.Wb.Ke(a.A);return null==b?null:this.Kaa(c,-1,a,b)}ZX(){this.vh=this.ZP=null}get o9(){return e.w(this.Ev)?0:this.Ev.ko.length}get UL(){return e.w(this.data)?0:this.data.length}Twa(){for(var c,a=
[],b=0;b<this.Jg.length;b++){c=this.Wb.Ab.ea(b);if(null==c)return null;c=c.ya(this.Jg[b]);a.push(e.P.ap(c.caption,!0))}a=0<a.length?e.P.bind(e.i.C.u.hia,a.join(" - ")):"";return a=a.replace(/<br\s*[\/]?>/gi," ")}Hva(){for(var c,a=[],b=0;b<this.Yf.length;b++){c=this.Wb.Fb.ea(b);if(null==c)return null;c=c.ya(this.Yf[b]);a.push(e.P.ap(c.caption,!0))}a=0<a.length?e.P.bind(e.i.C.u.gia,a.join(" - ")):"";return a=a.replace(/<br\s*[\/]?>/gi," ")}uwa(){var c=this.measure.$f().clone(),a=this.Nm.Ha(this.Jg,
this.Yf,this.measure),b=e.v.j.ca.Lf(this.measure.fa),d=e.v.j.ca.Yd(this.measure.fa);c.gd=this.measure.fa==e.v.j.ca.ni?"":c.gd;const g=e.v.j.Na.Pa==this.measure.type||e.v.j.Na.Cc==this.measure.type;c=e.v.j.Na.bc==this.measure.type&&e.v.j.ca.xs(this.measure.fa)?e.P.Zy(a,e.i.B.F.Pp):g?this.cell.label:w.Ub.format(a,c,b,d);c=e.P.bind(e.i.C.u.jia,e.P.ap(this.measure.label,!0),c);return c=c.replace(/<br\s*[\/]?>/gi," ")}get bya(){return e.i.B.F.mfa?e.v.Sa.V().ha.XR:!1}get Fya(){return!e.i.Ua.V().Ja.ha.Qc&&
e.i.Ua.V().Ja.ha.Fa!=e.v.j.sa.Af&&e.i.Ua.V().Ja.ha.Fa!=e.v.j.sa.API}getData(c,a){return e.w(this.Wf)?null:0==c?this.LB(a):0>a||a>=this.Wf.ko.length?null:this.JF(c,a)}LB(c){const a=new k.Y.X.$d;a.Ak=!0;a.oh=!0;if(0>c||c>=this.Wf.ko.length)return null;var b=this.Wf.ko[c].level;c=this.Wb.ad.Fg(this.Wf.ko[c].hierarchy);if(null==c)return null;void 0!==b&&(b=c.It(b),null!=b&&(a.label=c.caption+" / "+b.caption));e.ia(a.label)&&(a.label=c.caption);a.hierarchy=c;a.measure=this.Wb.ad.Ke(c.A);this.Fya&&(a.lo=
!0,a.hierarchy==this.ZP&&(a.mo=this.vh==e.v.j.Ba.gc,a.oo=this.vh==e.v.j.Ba.Ec));return a}JF(c,a){if(e.w(this.data)||e.w(this.data[c-1]))return null;var b=this.Wb.ad.Fg(this.Wf.ko[a].hierarchy);if(null==b)return null;const d=this.Wb.Ke(b.A);return null==d?null:this.Kaa(c,a,b,d)}Kaa(c,a,b,d){const g=new k.Y.X.$d;g.mb=c;g.fc=a;g.Ak=!0;g.Fh=!0;const l=b.ya(this.Cwa(c,this.Taa(b)));g.label=this.wwa(l,-1!=a?this.Wf.ko[a].level:void 0);g.hierarchy=b;a=this.mR(d);d.type!=e.v.j.Na.kb&&d.type!=e.v.j.Na.bc&&
d.type!=e.v.j.Na.Pa&&d.type!=e.v.j.Na.Cc||e.w(l)||(g.value=l.sc,g.label=d.type==e.v.j.Na.kb?w.Ub.format(g.value,a):l.caption,g.numeric=g.numeric||d.type!=e.v.j.Na.kb?g.numeric:!0);e.ia(a.textAlign)||g.Gx({"text-align":a.textAlign});g.RL=this.Mt(c);g.measure=d;return g}Mt(c){let a=this.Nm.Mt(this.Jg,this.Yf);Array.isArray(a)&&(a=a[c-1]);return a}mR(c){e.w(this.mG[c.A])&&(this.mG[c.A]=c.$f(!0).clone());return this.mG[c.A]}Cwa(c,a){for(;null==this.data[c-1][a];)a--;return this.data[c-1][a]}wwa(c,a){let b=
"";if(e.w(c))return b;b=c.caption;if(!e.ia(a))for(;c;){if(c.level.A==a){b=c.caption;break}c=c.parent}return b}Taa(c){var a=this.keys.indexOf(c.A);2<c.ta.length&&(a=this.keys.indexOf(c.ta.Ah(c.ta.length-1)));return a}YL(c,a,b){(a=this.getData(c,a))&&a.label!=b&&a.value!=b&&(b=this.Nm.save(this.Jg,this.Yf,a.hierarchy,b,c-1),this.data[c-1][this.keys.indexOf(a.hierarchy.A)]=b,this.GY=!0)}dispose(){this.mG=this.vh=this.ZP=this.keys=this.data=this.measure=this.Jg=this.Yf=this.Wf=this.Wb=this.Nm=null}}f.hN=
"dataloaded";h.BD=f})(k.lf||(k.lf={}))})(e.K||(e.K={}))})(u||(u={}));(function(e){(function(k){(function(h){class f extends k.Y.x5{show(c,a){var b=[];b=this.nQ(b,c?c.Qa():null,"drillthrough");return 0<b.length?(this.uQ(b,a),!0):!1}}h.nia=f})(k.lf||(k.lf={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c{constructor(){this.Jj=[];this.Tm=[];this.$e=new e.wb}get selected(){return this.Jj}set selected(a){e.w(a)||(this.Jj=a,this.Tm=null)}NE(a){this.Od(a)||(this.Jj.push(a),this.Tm=null)}eEa(a){this.JR?this.Tm.splice(a,1):(this.Jj.splice(a,1),this.Tm=null)}get JR(){return!e.w(this.Tm)&&this.Jj.length!==this.Tm.length}Oza(a,b){this.JR?e.gb.A0(this.Tm,a,b):(e.gb.A0(this.Jj,a,b),this.Tm=null)}Od(a){return this.JR?0<=this.Tm.findIndex(b=>void 0!==
b.level?b.level===a:b.hierarchy===a):0<=this.Jj.indexOf(a)}get ko(){if(!e.w(this.Tm))return this.Tm;this.Tm=[];for(let d=0;d<this.Jj.length;d++){var a=this.$e.getItem(this.Jj[d]);if(!e.w(a))if(a=a.ta,void 0!==a&&1<a.length)for(var b=0;b<a.length;b++)this.Tm.push({hierarchy:this.Jj[d],level:a[b]});else this.Tm.push({hierarchy:this.Jj[d]})}return this.Tm}isEqual(a){if(e.w(a)||e.w(a.Jj)||this.Jj.length!=a.Jj.length)return!1;for(let b=0;b<this.Jj.length;b++)if(this.Jj[b]!=a.Jj[b])return!1;return!0}clone(){const a=
new c;a.$e=this.$e.slice();a.Jj=a.Jj.slice();return a}}f.K4=c})(h.Cq||(h.Cq={}))})(k.lf||(k.lf={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends v.Oa{constructor(){super();this.$("fm-fields-view-wrap");this.ve();this.kh=new f.qia(k.Pb.Gb.G);this.kh.N(r.da.CLOSED,()=>this.HL());this.kh.N(k.ud.Lw.uH,a=>this.D0(a))}ve(){this.mw=new v.kg("fm-btn-open-fields");this.mw.Gl(e.i.C.u.qO);this.mw.N(v.yd.Fe,()=>this.i1());this.W(this.mw)}updateLabels(){this.mw.Gl(e.i.C.u.qO)}open(a){this.G.eb("fm-fields-opened",!0);this.kh.to(a);this.kh.view.open()}i1(){this.bb(k.ud.Lw.iN)}HL(){this.G.eb("fm-fields-opened",
!1)}D0(a){this.Ga(a)}}f.pia=c})(h.Cq||(h.Cq={}))})(k.lf||(k.lf={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends k.ud.flat.P3{constructor(a){super(a)}to(a){this.Wb=a;this.Va=a.$e.Lc();this.Fk(a.selected);this.LG(this.Va,a.selected)}get slice(){return this.Wb}get dC(){return!1}get jS(){return!1}LK(a){const b=this.Wb.clone();b.selected=this.Sfa(this.Va,a).map(d=>d.A);return b}kS(){return!1}hu(){}iu(){}update(){}XC(){}}f.ria=c})(h.Cq||(h.Cq={}))})(k.lf||(k.lf={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends k.ud.flat.s5{constructor(a){super(a);this.$("fm-fields-view");this.$("fm-dt-fields");this.zC.$("fm-dt-fields-overlay");k.Pb.Gb.G.W(this.G)}}f.sia=c})(h.Cq||(h.Cq={}))})(k.lf||(k.lf={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends k.ud.flat.aV{constructor(a){super(a,!1);this.i=this.Kb}OJ(a){return new f.ria(a)}O9(a){return new f.sia(a)}to(a){this.i.to(a);this.Kl();this.view.Qd&&this.view.Qd.hg(this.Kb.c_());this.view.gg()}de(){var a=[];const b=this.view.ob.G.find("li",!0);for(let d=0;d<b.length;d++){const g=parseInt(b[d].attr("data-index"));a.push(g)}a=this.Kb.LK(a);this.i.slice.isEqual(a)||this.bb(k.ud.Lw.uH,this,a)}}f.qia=c})(h.Cq||(h.Cq={}))})(k.lf||(k.lf=
{}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends h.BD{constructor(a){super(a);this.Ef=e.v.Sa.V()}get UL(){return e.w(this.data)?0:this.data.length-1}V1(){}Hd(){this.data=[];this.Ef.Uc(this.Jg,this.Yf,this.measure,a=>this.wp(a),this.Wf.selected)}wp(a){this.data=a;e.wa(!1);this.bb(h.BD.hN)}JF(a,b){if(e.w(this.data)||e.w(this.data[a]))return null;const d=this.Wb.ad.Fg(this.Wf.selected[b]);if(null==d)return null;var g=this.Wb.Ke(d.A);if(null==g)return null;const l=this.data[a][b];g=
this.mR(g);const m=new k.Y.X.$d;m.mb=a;m.fc=b;m.Ak=!0;m.Fh=!0;d.type==e.v.j.Ic.$p?"number"==typeof l&&(m.label=w.Ub.format(l,g),m.value=l):d.type==e.v.j.Ic.Pa?"number"==typeof l?(a=this.Ef.ha.mapping.Ha(d.A,"format",e.i.B.F.Pn),m.label=e.P.Yy(l,a),m.value=l):"string"!=typeof l||e.ia(l)?m.label=e.i.C.u.Bm:m.label=l:m.label=l;e.ia(g.textAlign)||m.Gx({"text-align":g.textAlign});return m}dispose(){super.dispose();this.Ef=null}}f.l6=c})(h.Zr||(h.Zr={}))})(k.lf||(k.lf={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){(function(f){class c extends h.BD{constructor(a){super(a);this.Ef=e.v.Sa.V()}update(a=null,b=null,d=null,g=null){this.Wb=a;this.Jg=d;this.Yf=b;this.measure=g;this.mG={};this.Hd()}V1(){}Hd(){this.data=[];this.Ef.Uc(this.Jg,this.Yf,this.measure,a=>this.wp(a))}to(a){this.Wf=a;this.fW={};for(a=0;a<this.Wf.selected.length;a++){var b=this.Wf.selected[a];this.fW[b]=this.Wf.$e.indexOf(b)}this.bb(h.BD.hN)}wp(a){e.wa(!1);this.data=a;this.to(this.AY(this.Wb))}AY(a){const b=
new h.Cq.K4;for(var d of this.data[0])d=d.replace("$",""),b.$e.Ta(d,{A:d,caption:this.Bwa(d)});if(!e.i.B.F.z2&&this.Ef.ha.XR){var g=a.flatten();d=b.$e.Lc(!0);for(var l=0;l<g.length;l++){var m=g.ea(l);if(2>=m.ta.length)m=this.sza(m,d),e.ia(m)||b.NE(m);else if(null!=m.ec)m=m.Gf.split("."),m=0<m.length?m[0]+"."+m[m.length-1]:null,-1<d.indexOf(m)&&b.NE(m);else{m=m.A.split(".");for(let n=0;n<d.length;n++)-1<(m[0]==d[n].split(".")[0]?n:-1)&&b.NE(d[n])}}for(g=0;g<a.hf.length;g++)l=this.tza(a.hf[g],d),e.ia(l)||
b.NE(l)}if(e.i.B.F.z2||0==b.selected.length)b.selected=b.$e.Lc(!0);return b}Bwa(a){a=a.split("].[").pop();a="]"==a.charAt(a.length-1)?a.substr(0,a.length-1):a;return a="["==a.charAt(0)?a.substr(1):a}sza(a,b){for(var d=0;d<b.length;d++){var g=b[d];if(g==a.A||0<=g.indexOf(`[${a.caption}]`))return g}return null}tza(a,b){for(var d=0;d<b.length;d++){var g=b[d];if(g==a.A)return g;var l=a.A.split(".");if(g==`[${a.$h}].${l[l.length-1]}`)return g;l=g;l="["==l.charAt(0)?l.substr(1):l;if(0<=a.A.indexOf(l))return g}return null}LB(a){const b=
new k.Y.X.$d;b.Ak=!0;b.oh=!0;a=this.Wf.selected[a];if(e.w(a))return null;b.label=this.Wf.$e.getItem(a).caption;return b}JF(a,b){if(e.w(this.data)||e.w(this.data[a]))return null;var d=this.Wf.selected[b];const g="[Measures].["+this.Wf.$e.getItem(d).caption+"]",l=this.Nm.Ea.find(n=>n.A===g);d=this.data[a][this.fW[d]];const m=new k.Y.X.$d;m.mb=a;m.fc=b;m.Ak=!0;m.Fh=!0;e.i.B.F.Qp||null==l?"number"==typeof d?(m.label=e.i.B.F.Qp||null!=l?w.Ub.format(d):w.Ub.format(d,e.i.cc.bk.$f("")),m.value=d):(m.label=
d,null==l&&m.Gx({"text-align":"left"})):(a=this.mR(l),m.label=w.Ub.format(d,a),m.value=d,""!=a.textAlign&&m.Gx({"text-align":a.textAlign}));return m}dispose(){super.dispose();this.fW=this.Ef=null}}f.h6=c})(h.Zr||(h.Zr={}))})(k.lf||(k.lf={}))})(e.K||(e.K={}))})(u||(u={}));var fb=u||(u={}),gb=fb.K||(fb.K={}),hb=gb.lf||(gb.lf={});{var ib=hb.Zr||(hb.Zr={});class e extends ib.h6{}ib.tla=e}
(function(e){(function(k){(function(h){(function(f){class c extends f.l6{JF(a,b){if(e.w(this.data)||e.w(this.data[a]))return null;var d=this.Wf.ko[b].level,g=this.Wb.ad.Fg(this.Wf.ko[b].hierarchy);if(null==g)return null;var l=d?g.It(d):null,m=this.Wb.Ke(g.A);if(null==m)return null;d=this.data[a][b];m=this.mR(m);const n=new k.Y.X.$d;n.mb=a;n.fc=b;n.Ak=!0;n.Fh=!0;g.type===e.v.j.Ic.$p?(n.label="number"===typeof d?w.Ub.format(d,m):d,n.value=d):g.type===e.v.j.Ic.Pa||l&&e.v.j.rb.Uxa(l.type)?"number"==typeof d?
(l&&l.type===e.v.j.rb.Cc?(a=this.Ef.ha.mapping.Ha(g.A,"format",e.i.B.F.Wo),n.label=e.P.cU(d,a)):(a=this.Ef.ha.mapping.Ha(g.A,"format",e.i.B.F.Pn),n.label=e.P.Yy(d,a)),n.value=d):"string"!==typeof d||e.ia(d)||"null"===d?n.label=!e.i.B.F.Aq||null!==d&&"null"!==d?e.i.C.u.Bm:e.i.C.u.EU:n.label=d:n.label=d;e.ia(m.textAlign)||n.Gx({"text-align":m.textAlign});return n}}f.xga=c})(h.Zr||(h.Zr={}))})(k.lf||(k.lf={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){class h{}h.Kw="FILTER_OPEN";h.XU="FILTER_CLOSE";h.jIa="FILTER_SELECTION_CHANGE";h.iIa="FILTER_COLLAPSE_EXPAND";h.HU="DRILL_THROUGH_OPEN";h.DHa="DRILL_THROUGH_CLOSE";h.j4="CONTEXT_MENU_OPEN";h.oHa="CLASSIC_TO_COMPACT";h.FV="RENDER_COMPLETE";h.Ew="beforegriddraw";h.uo="aftergriddraw";k.ri=h;class f extends r.da{constructor(a){super(h.Kw);this.hierarchy=a}}k.tN=f;class c extends r.da{constructor(a,b,d,g){super(h.HU);this.measure=a;this.Yf=b;this.Jg=d;this.cell=g}}k.J4=c})(e.K||
(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){this.Ar=[];this.sd=new e.FD;this.me=[];this.ue="";this.re=!0}IT(c){this.Qg=c}cfa(c){this.yf=c;this.Ar=this.Qg.uj(this.Qg.Cd,!1,this.yf)}Kea(c,a){var b=this.Ce()?this.me:this.Ar;c=b.indexOf(c.ordinal);a=b.indexOf(a.ordinal);for(a<c&&(c=a+(a=c,0));c<=a;c++)this.select(b[c],!0)}select(c,a){this.re!=a?this.sd.add(c):this.sd.delete(c);this.sd.size!=this.Ar.length||this.Ce||this.selectAll(!this.re)}search(c,a){c=c.toLowerCase();this.ue===c?a():
(this.ue=c,0==this.ue.length?a():e.v.Sa.V().Hp(this.Qg,c,a))}bfa(c){null!=c?this.me=c:this.me.length=0}selectAll(c){if(this.Ce())for(var a=this.me.length,b=0;b<a;b++)e.P.contains(this.Qg.ya(this.me[b]).caption,this.ue)&&this.select(this.me[b],c);else this.re=c,this.sd.clear()}Iea(){}Sv(){var c=this.re||this.Ce()?this.re&&this.Ce()?this.me.length+this.Csa()-this.sd.size:this.re||0!=this.sd.size?this.Ar.length==this.sd.size?this.me.length:this.Ar.length-this.sd.size:this.sd.size:this.sd.size;return 0<
c?c:0}Csa(){let c=0;for(let a=0;a<this.me.length;a++)this.sd.has(this.me[a])&&c++;return this.sd.size-c}Yx(){if(this.Ce()){for(var c=0,a=0;a<this.me.length;a++)!this.sd.has(this.me[a])==this.re&&c++;return c}return this.Sv()}FT(c){this.sd.clear();var a=c.length;this.re=0==a;if(!this.re)for(let b=0;b<a;b++)this.sd.add(c[b])}jR(){const c=[];var a=this.Ce()&&this.re?this.me:this.sd.Lc();const b=a.length;if(this.Ce()&&this.re)for(a=0;a<this.me.length;a++)this.sd.has(this.me[a])||c.push(this.me[a]);else for(let d=
0;d<b;d++)c[d]=a[d];a=this.Ce()&&this.re?!1:0==c.length?!1:this.re;return{items:c,fu:a}}JT(c){this.Ar=c;this.ue="";this.me.length=0}XZ(c,a){var b=[],d=c,g=this.ue.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&");g=new RegExp("("+g+")","i");for(var l=this.Ce()?this.me:this.Ar,m;d<a&&!(d>l.length-1);d++){var n=this.Qg.ya(l[d]);m=e.P.ap(n.caption,!0);n={Mb:n,label:this.Ce()?m.replace(g,"<b>$1</b>"):m,Od:(this.sd.has(n.ordinal)?!this.re:this.re)?1:0,wca:0,xEa:a-c<l.length-1?15:0,rg:n.rg&&"Others"!=m};b.push(n)}return b}getItem(c){return(this.Ce()?
this.me:this.Ar)[c]}CK(){return this.Ce()?this.me.length:this.Ar.length}getTotalLength(){return this.CK()}Ce(){return 0<this.ue.length}expand(){}collapse(){}}h.yV=f})(k.filter||(k.filter={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){this.rd=[];this.sd=[];this.me=[];this.Wj=[];this.Px=[];this.ue="";this.re=!0;this.yf=e.v.j.Ba.Yc}IT(c){this.Qg=c;this.rd.length=0}cfa(c){this.yf=c;this.rd.length=0;this.A_(this.Qg.Cd,-1)}JT(c){for(var a=0,b=c.length,d;a<b;a++)d=this.Qg.ya(c[a]),d.Rb||(this.rd.push(c[a]),d.qg&&d.children&&0<d.children.length&&(this.Px.push(c[a]),this.JT(this.yf===e.v.j.Ba.Yc?d.children.slice():this.Qg.uj(d,!1,this.yf))))}XZ(c,a){for(var b=c,d=[],g,l=new RegExp("("+
this.ue+")","i"),m=this.Ce()?this.me:this.rd;b<a&&!(b>m.length-1);b++)g=this.Qg.ya(m[b]),g={Mb:g,wca:g.level.xb,label:this.Ce()?g.caption.replace(l,"<b>$1</b>"):g.caption,Od:this.Od(g),Ce:this.Ce(),bg:this.bg(g),xEa:a-c<m.length-1?17:0,rg:g.rg&&"Others"!=g.caption},d.push(g);return d}getItem(c){return(this.Ce()?this.me:this.rd)[c]}Od(c){var a=(-1==this.sd.indexOf(c.ordinal)?this.re:!this.re)?1:0;0<this.sd.length&&-1!=this.Wj.indexOf(c.ordinal)&&(a=-1);return a}bg(c){return this.Ce()||c.ai?void 0:
-1!=this.Px.indexOf(c.ordinal)?!0:!1}CK(){return this.Ce()?this.me.length:this.rd.length}getTotalLength(){if(this.Ce()){let b=0;if(e.v.Sa.V().ha.Qc)for(var c=this.me.length,a=0;a<c;a++)e.P.contains(this.Qg.ya(this.me[a]).caption,this.ue)||b++;return this.me.length-b}return this.Qg?this.Qg.wh-1:0}Kea(c,a){var b=this.Ce()?this.me:this.rd;c=b.indexOf(c.ordinal);a=b.indexOf(a.ordinal);for(a<c&&(c=a+(a=c,0));c<=a;c++)this.select(this.Qg.ya(b[c]),!0)}select(c,a){var b=this.sd.indexOf(c.ordinal);this.re!==
a?(-1==b&&this.sd.push(c.ordinal),0<c.children.length&&this.iT(c)):(-1!=b&&this.sd.splice(b,1),0<c.children.length&&this.Z1(c));a=this.Wj.indexOf(c.ordinal);-1!=a&&this.Wj.splice(a,1);this.Jea(c);this.sd.length===this.Qg.wh-1&&(this.sd.length=0,this.Wj.length=0,this.re=!this.re)}Iea(c){-1==this.Wj.indexOf(c.ordinal)&&(-1==this.sd.indexOf(c.ordinal)?this.Z1(c):this.iT(c))}Jea(c){var a=c.parent;if(a&&!a.Rb){c=this.sd.indexOf(a.ordinal);var b=this.Wj.indexOf(a.ordinal);var d=-1!=c;this.pba(a,!1)?(this.pba(a)?
(-1==b&&this.Wj.push(a.ordinal),this.re&&d&&this.sd.splice(c,1)):(-1!=b&&this.Wj.splice(b,1),this.re&&!d&&this.sd.push(a.ordinal)),!this.re&&d&&this.sd.splice(c,1)):(-1!=b&&this.Wj.splice(b,1),this.re&&d?this.sd.splice(c,1):this.re||d||this.sd.push(a.ordinal));this.Jea(a)}}pba(c,a=!0){var b=0;c=c.children;for(var d=c.length;b<d;b++)if(-1==this.sd.indexOf(c[b])==this.re==a||-1!=this.Wj.indexOf(c[b]))return!0;return!1}iT(c){var a=0;c=c.children;for(var b=c.length;a<b;a++){var d=this.sd.indexOf(c[a]);
var g=this.Wj.indexOf(c[a]);-1==d&&this.sd.push(c[a]);-1!=g&&this.Wj.splice(g,1);d=this.Qg.ya(c[a]);0<d.children.length&&this.iT(d)}}Z1(c){for(var a=0,b,d,g=c.children,l=g.length;a<l;a++)d=this.Qg.ya(g[a]),c=this.sd.indexOf(g[a]),b=this.Wj.indexOf(g[a]),-1!=c&&this.sd.splice(c,1),-1!=b&&this.Wj.splice(b,1),0<d.children.length&&this.Z1(d)}selectAll(c){if(this.Ce())for(var a=this.me.length,b,d=0;d<a;d++)b=this.Qg.ya(this.me[d]),e.P.contains(b.caption,this.ue)&&this.select(b,c);else this.re=c,this.sd.length=
0,this.Wj.length=0}Yx(){if(this.Ce()){for(var c=0,a=this.me.length,b,d=0;d<a;d++)b=this.Qg.ya(this.me[d]),e.P.contains(b.caption,this.ue)&&0>this.sd.indexOf(this.me[d])==this.re&&c++;return c}return this.Sv()}Sv(){var c=this.re?this.Qg.wh-this.sd.length-this.Wj.length-1:this.sd.length;return 0>c?0:c}FT(c){var a=c.length;this.sd.length=0;this.Wj.length=0;if(0==a)this.re=!0;else{this.re=!1;for(var b,d=0;d<a;d++)for(b=this.Qg.ya(c[d]),this.sd.push(b.ordinal),0<b.children.length&&this.iT(b);b.parent&&
!b.parent.Rb;)b=b.parent,-1==this.Wj.indexOf(b.ordinal)&&this.Wj.push(b.ordinal)}}jR(){var c=[];var a=this.Ce()&&this.re?this.me:this.sd;for(var b=0,d=a.length;b<d;b++){var g=this.Qg.ya(a[b]);var l=g.parent;var m=-1;e.w(l)||(m=a.indexOf(l.ordinal));-1===m&&c.push(g.ordinal)}g=this.Ce()&&this.re?!1:0==c.length?!1:this.re;return{items:c,fu:g}}search(c,a){c=c.toLowerCase();this.ue===c?a():(this.ue=c,0==this.ue.length?a():e.v.Sa.V().Hp(this.Qg,c,a))}bfa(c){null!=c?this.me=c:this.me.length=0}Ce(){return 0<
this.ue.length}expand(c){-1==this.Px.indexOf(c.ordinal)&&this.Px.push(c.ordinal);this.lfa(c,!0)}collapse(c){var a=this.Px.indexOf(c.ordinal);-1!=a&&this.Px.splice(a,1);this.lfa(c,!1)}lfa(c,a){var b=this.rd.indexOf(c.ordinal);a?this.A_(c,b):this.rd.splice(b+1,this.Xaa(c))}A_(c,a){c=this.yf===e.v.j.Ba.Yc?c.children:this.Qg.uj(c,!1,this.yf);for(var b=c.length-1,d=a+1;-1<b;b--)a=this.Qg.ya(c[b]),this.rd.splice(d,0,c[b]),-1<this.Px.indexOf(c[b])&&this.A_(a,d)}Xaa(c){c=c.children;for(var a=c.length,b=a,
d,g=0;g<a;g++)d=this.Qg.ya(c[g]),-1<this.Px.indexOf(c[g])&&(b+=this.Xaa(d));return b}}h.sla=f})(k.filter||(k.filter={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.Vd.Dj{constructor(){super();this.ve()}ve(){var c=new v.Oa("div","fm-popup-header fm-ui-row");this.W(c);var a=new v.Oa("div","fm-ui-col-2 fm-vam");c.W(a);this.Tq=new v.Oc;this.Tq.$("fm-popup-title");a.W(this.Tq);a=new v.Oa("div","fm-ui-col fm-vam fm-ui-btns-row");c.W(a);this.UE=new v.kg("fm-ui-btn");this.UE.$a(e.i.C.u.Ml);this.rq=new v.kg("fm-ui-btn-dark");this.rq.$a(e.i.C.u.Gw);w.Di.hC||w.Di.eo?(a.W(this.UE),a.W(this.rq)):(a.W(this.rq),a.W(this.UE));
c=new v.Oa("div","fm-ui-row fm-filter-sort-row");this.W(c);this.CF=new v.Oa("div","fm-ui-col fm-filters-col");c.W(this.CF);this.LQ=new v.Oc;this.LQ.$("fm-filter-label");this.LQ.$("fm-ui-label-light");this.CF.W(this.LQ);this.ei=new v.sO;this.ei.$("fm-labels-filter-btn");this.ei.$("fm-filter-btn");this.gG=new v.Oc;this.ei.W(this.gG);this.ei.G.W(new v.Da("div","fm-ui-arrow-up",!1));this.CF.W(this.ei);this.eh=new v.sO;this.eh.$("fm-values-filter-btn");this.eh.$("fm-filter-btn");this.lga=new v.Oc;this.eh.W(this.lga);
this.eh.G.W(new v.Da("div","fm-ui-arrow-up",!1));this.CF.W(this.eh);this.zm=new h.Bna;this.zm.$("fm-values-filter-view");this.zm.cb();this.W(this.zm);this.Xo=new h.mia;this.Xo.$("fm-dates-filter-view");this.Xo.cb();this.W(this.Xo);this.op=new h.gka;this.op.$("fm-labels-filter-view");this.op.cb();this.W(this.op);this.vp=new h.Cla;this.vp.$("fm-numbers-filter-view");this.vp.cb();this.W(this.vp);this.Op=new h.kna;this.Op.$("fm-time-filter-view");this.Op.cb();this.W(this.Op);this.lM=new v.Oa("div","fm-ui-col fm-sort-col");
c.W(this.lM);this.VT=new v.Oc;this.VT.$("fm-sort-label");this.VT.$("fm-ui-label-light");this.VT.$a(e.i.C.u.oja);this.lM.W(this.VT);c=new v.Oa("div","fm-sort-btns");this.lM.W(c);this.Hl=new v.sO;this.Hl.$("fm-sort-btn");this.Hl.$a(e.i.C.u.m5);c.W(this.Hl);this.Il=new v.sO;this.Il.$("fm-sort-btn");this.Il.$a(e.i.C.u.n5);c.W(this.Il);this.jc=new h.rla;this.W(this.jc)}get Qd(){return this.jc.Qd}get rw(){return this.jc.rw}get en(){return this.jc.en}gg(){this.rq.$a(e.i.C.u.Gw);this.UE.$a(e.i.C.u.Ml);this.Hl.$a(e.i.C.u.m5);
this.Il.$a(e.i.C.u.n5);this.LQ.$a(e.i.C.u.Mia);this.gG.$a(e.i.C.u.o5);this.lga.$a(e.i.C.u.uja);this.Xo.gg();this.op.gg();this.vp.gg();this.Op.gg();this.zm.gg();this.jc.gg()}}h.Bja=f})(k.filter||(k.filter={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.hi.Sz{constructor(){super();this.Qya=20;this.Hv=new v.UV;this.Hv.Pd("fm-ui-toggle-btn");this.Hv.$("fm-expand-toggle-btn");this.Hv.N(r.da.Id,()=>this.nAa());this.G.append(this.Hv.G);this.QC=new v.pI;this.QC.G.nT("tabindex");this.QC.N(r.da.Id,c=>this.z1(c.data));this.G.append(this.QC.G);this.Le("all")}nAa(){var c=this.getData();c.bg=1==this.Hv.getSelection();this.G.bb(h.GH.vH,this,c)}z1(c){var a=this.getData();a.Od=this.QC.getSelection();this.G.bb(h.GH.fO,
this,{Mb:a,shiftKey:c.shiftKey})}jb(){if(this.Fq("data")){var c=this.getData();if(this.Hv&&this.QC&&c){this.G.U("padding-left","");var a=this.Qya*(c.wca-1);c.Ce||void 0!==c.bg||(a+=30);0<a&&this.G.U("padding-left",a+"px");void 0===c.bg||c.Ce?this.Hv.cb():(this.Hv.show(),this.Hv.hg(c.bg));this.QC.$a(c[this.ao()],!0);this.QC.hg(c.Od)}}}}h.zja=f})(k.filter||(k.filter={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.ld.qna{constructor(){super();this.pS=null;this.Ih((c,a)=>this.owa(c,a))}jb(){let c=null;this.Fq("data")&&(c=this.NF());super.jb();c&&this.Nv(a=>a.Mb.ordinal==c.Mb.ordinal,!0)}owa(c,a){var b=new h.zja;b.setData(c);b.vm(a);b.N(f.fO,d=>this.z1(d));b.N(f.vH,d=>this.PAa(d));return b}ku(c){super.ku(c);c=c.data.El;c.Od=1==c.Od?0:1;this.Vfa(c)}z1(c){this.Vfa(c.data.Mb,c.data.shiftKey)}Vfa(c,a=!1){1==c.Od&&a&&this.pS&&this.Wg().Kea(this.pS.Mb,c.Mb);
this.sFa(c,1==c.Od);this.Ga(new r.da(f.fO,this))}PAa(c){var a=c.data;a.bg?0===a.Mb.children.length||a.Mb.qf?e.i.Ua.V().ja.Dk(a.Mb.hierarchy,a.Mb,()=>this.pj(a)):this.pj(a):(this.Wg().collapse(a.Mb),this.Le("data"),this.Nv(b=>b.Mb.ordinal==a.Mb.ordinal),this.Ga(new r.da(f.vH,this)))}pj(c){e.wa(!1);this.Wg().Iea(c.Mb);this.Wg().expand(c.Mb);this.Le("data");this.Nv(a=>a.Mb.ordinal==c.Mb.ordinal);this.Ga(new r.da(f.vH,this))}Wg(){return this.qua}v2(c){this.qua=c}jR(){return this.Wg().jR()}FT(c){this.Wg().FT(c);
this.Le("data")}Yx(){return this.Wg().Yx()}Sv(){return this.Wg().Sv()}getTotalLength(){return this.Wg().CK()}yR(){return this.Wg().getTotalLength()}sFa(c,a){this.Wg()instanceof h.yV?this.Wg().select(c.Mb.ordinal,a):this.Wg().select(c.Mb,a);this.pS=a?c:null;this.Le("data")}selectAll(c){this.Wg().selectAll(c);this.pS=null;this.Le("data")}search(c,a){this.Wg().search(c,b=>{this.Wg().bfa(b);this.Le("data");a()});this.G.eb("fm-is-searched",this.Ce())}Ce(){return this.Wg().Ce()}IT(c){this.Wg().IT(c)}sort(c){c!==
this.Wg().yf&&(this.Wg().cfa(c),this.Le("data"))}}f.fO="_";f.vH="__";h.GH=f})(k.filter||(k.filter={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){if(null!=f.La)throw"FilterModel is singleton!";this.Yr=e.i.Ua.V()}static V(){null==f.La&&(f.La=new f);return f.La}static dispose(){f.La=null}update(c){this.Ea=[];for(var a=this.Yr.ja.za.ed(),b=0;b<a.length;b++){var d=a[b],g=new e.i.ab.Bg(d.A,d.fa,d.index);g.label=d.caption;!c.filter.measure||-1!=c.filter.measure.index||g.A!=c.filter.measure.A||""!=c.filter.measure.fa&&g.fa!=c.filter.measure.fa||(c.filter.measure.index=g.index);this.Ea.push(g)}this.uk=
{};this.Sea(c)}Sea(c){(this.hierarchy=c)?(this.hierarchy.filter.Xg&&(this.uk.type=this.hierarchy.filter.type,this.hierarchy.filter.measure&&(this.uk.measure=this.hierarchy.filter.measure.Qa()),this.hierarchy.filter.query&&(this.uk.query=this.hierarchy.filter.query.clone())),this.rd=this.hierarchy.xf!==e.v.j.Ba.Yc?this.hierarchy.uj(this.hierarchy.Cd,!1,this.hierarchy.xf):this.hierarchy.Cd.children.slice(),this.R7=e.i.ab.wz.lR(this.hierarchy)):this.R7=e.v.j.pb.NONE;this.n8=this.Yr.ja.O.DF.fba(this.hierarchy,
this.cn)}ed(){if(this.wi){var c=this.Yr.ja.O.Ke(this.hierarchy.A),a=new e.i.ab.Bg(c.A,c.fa,c.index);a.label=c.caption;return[a]}return this.Ea}Wpa(c){var a=!1,b=!1;!e.w(this.hierarchy.filter.query)&&e.w(c.query)?(a=!0,this.hierarchy.TA(),this.Yr.Za()):e.w(c.query)||(b=this.zya(c));var d=this.Zba(c);if(b||d)return a={},b&&!e.w(c.measure)&&(a.measure=c.measure),b&&!e.w(c.query)&&(a.query=c.query.Qa()),d&&!e.w(c.rd)&&(a.members=c.rd),d&&!e.w(c.Ox)&&(a.exclude=c.Ox),this.Yr.Fl(this.hierarchy.A,a),!0;
a&&this.Yr.refresh();return!1}ut(){this.Yr.ut(this.hierarchy.A)}zya(c){if(c.type==e.v.j.pb.Pa)return this.Txa(c);if(c.type==e.v.j.pb.dk)return this.mya(c);if(c.type==e.v.j.pb.kb||c.type==e.v.j.pb.bc)return this.tya(c);if(c.type==e.v.j.pb.xn)return this.Hya(c)}Txa(c){return this.hierarchy.filter.type!==c.type||this.hierarchy.filter.query.va!=c.query.va?!0:0<=e.v.j.Ob.Nh.indexOf(c.query.va)?!e.Uf.hZ(this.hierarchy.filter.query.value,c.query.value):0<=e.v.j.Ob.ff.indexOf(c.query.va)?this.hierarchy.filter.query.value&&
c.query.value?!e.Uf.hZ(this.hierarchy.filter.query.value[0],c.query.value[0])||!e.Uf.hZ(this.hierarchy.filter.query.value[1],c.query.value[1]):!0:0<=e.v.j.Ob.Iz.indexOf(c.query.va)?this.hierarchy.filter.query.value!==c.query.value:!1}mya(c){return this.hierarchy.filter.type!==c.type||this.hierarchy.filter.query.va!=c.query.va?!0:0<=e.v.j.Cb.Nh.indexOf(c.query.va)?this.hierarchy.filter.query.value!==c.query.value:0<=e.v.j.Cb.ff.indexOf(c.query.va)?e.w(this.hierarchy.filter.query.value)||e.w(c.query.value)?
!0:this.hierarchy.filter.query.value[0]!==c.query.value[0]||this.hierarchy.filter.query.value[1]!==c.query.value[1]:!1}tya(c){return this.hierarchy.filter.type!==c.type||this.hierarchy.filter.query.va!==c.query.va?!0:0<=e.v.j.jg.Nh.indexOf(c.query.va)?this.hierarchy.filter.query.value!==c.query.value:0<=e.v.j.jg.ff.indexOf(c.query.va)?e.w(this.hierarchy.filter.query.value)||e.w(c.query.value)?!0:this.hierarchy.filter.query.value[0]!==c.query.value[0]||this.hierarchy.filter.query.value[1]!==c.query.value[1]:
!1}Hya(c){return this.hierarchy.filter.type!==c.type||this.hierarchy.filter.measure.A!==c.measure.uniqueName||this.hierarchy.filter.measure.fa!==c.measure.aggregation||this.hierarchy.filter.query.va!=c.query.va?!0:0<=e.v.j.pc.Nh.indexOf(c.query.va)?this.hierarchy.filter.query.value!==c.query.value:0<=e.v.j.pc.ff.indexOf(c.query.va)?e.w(this.hierarchy.filter.query.value)||e.w(c.query.value)?!0:this.hierarchy.filter.query.value[0]!==c.query.value[0]||this.hierarchy.filter.query.value[1]!==c.query.value[1]:
!1}Zba(c){if(null==c)return this.hierarchy.filter.jj;if(null==c.rd&&null==c.Ox)return!1;var a=this.hierarchy.filter.ij();if(c.rd){var b=c.rd;if(b.length!=a.length)return!0;for(var d=0,g=b.length;d<g;d++)if(-1==a.indexOf(b[d]))return!0}if(c.Ox){c=c.Ox;if(a.length+c.length!==this.hierarchy.wh-1)return!0;d=0;for(g=c.length;d<g;d++)if(-1==a.indexOf(c[d]))return!0}return!1}pqa(c){c!=this.hierarchy.xf&&this.Yr.YC(this.hierarchy.A,c)}get S_(){return!this.wi&&this.Yr.ja.za.lb.Sb(this.hierarchy.A)}get Qc(){return this.Yr.Ja.ha.Qc}get wi(){return e.i.B.F.dc&&
e.i.B.F.Zd!=k.td.Bi}get cn(){return this.R7}get Np(){return this.n8?this.n8:new e.v.O.Vma}get Vv(){return this.uk.type==e.v.j.pb.Pa||this.uk.type==e.v.j.pb.dk||this.uk.type==e.v.j.pb.kb||this.uk.type==e.v.j.pb.bc}get Ch(){return this.uk.type==e.v.j.pb.xn}}h.r5=f})(k.filter||(k.filter={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends r.fh{constructor(){super();this.i=h.r5.V();this.view=new h.Bja;null!=this.view.uxa&&this.view.uxa.N(r.da.Id,c=>this.lBa(c));null!=this.view.en&&(this.view.en.N(v.gk.qz,c=>this.tCa(c.data)),this.view.en.N(v.gk.rz,()=>this.vCa()),this.view.en.N(v.gk.P4,()=>this.uCa()));this.view.jc&&this.view.jc.Rd&&(this.view.jc.Rd.N(h.GH.fO,()=>this.SBa()),this.view.jc.Rd.N(h.GH.vH,()=>this.RBa()));null!=this.view.Qd&&this.view.Qd.N(r.da.Id,()=>this.A1());null!=
this.view.Hl&&this.view.Hl.N(r.da.Id,()=>this.BCa());null!=this.view.Il&&this.view.Il.N(r.da.Id,()=>this.CCa());null!=this.view.ei&&this.view.ei.N(r.da.Id,()=>this.vBa());null!=this.view.Xo&&this.view.Xo.N(r.da.wo,()=>this.SS());null!=this.view.op&&this.view.op.N(r.da.wo,()=>this.SS());null!=this.view.vp&&this.view.vp.N(r.da.wo,()=>this.SS());null!=this.view.Op&&this.view.Op.N(r.da.wo,()=>this.SS());null!=this.view.eh&&this.view.eh.N(r.da.Id,()=>this.NCa());null!=this.view.zm&&this.view.zm.N(r.da.wo,
()=>this.MCa());null!=this.view.rq&&this.view.rq.N(v.yd.Fe,()=>this.Yza());null!=this.view.UE&&this.view.UE.N(v.yd.Fe,()=>this.es())}MCa(){this.view.eh&&(this.view.eh.Pd("fm-has-filter"),this.view.eh.hg(0),this.cM(),this.SG())}SS(){this.view.ei&&(this.view.ei.Pd("fm-has-filter"),this.view.ei.hg(0),this.cM(),this.SG())}vBa(){this.view.eh&&this.view.eh.hg(0);this.cM();this.SG()}NCa(){this.view.ei&&this.view.ei.hg(0);this.cM();this.SG()}Yza(){var c=this.i.Wpa(this.Uva());this.i.pqa(this.Wva());c||this.bb("close")}cM(){this.view.Xo&&
this.view.Xo.isVisible(this.ky&&1===this.view.ei.getSelection()&&this.i.cn==e.v.j.pb.Pa);this.view.op&&this.view.op.isVisible(this.ky&&1===this.view.ei.getSelection()&&this.i.cn==e.v.j.pb.dk);this.view.vp&&this.view.vp.isVisible(this.ky&&1===this.view.ei.getSelection()&&this.i.cn==e.v.j.pb.kb);this.view.Op&&this.view.Op.isVisible(this.ky&&1===this.view.ei.getSelection()&&this.i.cn==e.v.j.pb.bc);this.view.zm&&this.view.zm.isVisible(this.cC&&1===this.view.eh.getSelection());this.view.jc&&(this.view.jc.isVisible(this.i.Np.sya&&
0==this.view.eh.getSelection()&&0==this.view.ei.getSelection()),this.view.jc.isVisible()&&this.view.jc.Rd.tu());this.bb("center")}SG(){this.view.rq&&(this.view.jc&&this.view.jc.isVisible()?this.view.rq.Rq(0<this.view.jc.Rd.Sv()):this.view.rq.Rq(!0))}Wva(){return this.view.Hl&&1==this.view.Hl.getSelection()?e.v.j.Ba.gc:this.view.Il&&1==this.view.Il.getSelection()?e.v.j.Ba.Ec:this.view.Hl&&this.view.Il?e.v.j.Ba.Yc:this.i.hierarchy.xf}Uaa(){return this.i.cn==e.v.j.pb.Pa?this.view.Xo.gm():this.i.cn==
e.v.j.pb.dk?this.view.op.gm():this.i.cn==e.v.j.pb.kb?this.view.vp.gm():this.i.cn==e.v.j.pb.bc?this.view.Op.gm():null}Uva(){var c=null,a=null;1==this.view.ei.getSelection()?c=this.Uaa():1==this.view.eh.getSelection()?c=this.view.zm.gm():(a=this.view.jc.gm(),this.i.Zba(a)||(a=null));null==a&&null==c&&(this.view.ei.yc("fm-has-filter")?c=this.Uaa():this.view.eh.yc("fm-has-filter")&&(c=this.view.zm.gm()));var b={};c&&(b.type=c.type,b.query=c.query,b.measure=c.measure);a&&(e.w(a.rd)||(b.rd=a.rd),e.w(a.Ox)||
(b.Ox=a.Ox));return b}es(){this.bb("close")}BCa(){1===this.view.Hl.getSelection()&&(this.view.Il.hg(0),this.view.jc&&this.view.jc.Rd.sort(e.v.j.Ba.gc));0===this.view.Hl.getSelection()&&0===this.view.Il.getSelection()&&this.view.jc&&this.view.jc.Rd.sort(e.v.j.Ba.Yc)}CCa(){1===this.view.Il.getSelection()&&(this.view.Hl.hg(0),this.view.jc&&this.view.jc.Rd.sort(e.v.j.Ba.Ec));0===this.view.Hl.getSelection()&&0===this.view.Il.getSelection()&&this.view.jc&&this.view.jc.Rd.sort(e.v.j.Ba.Yc)}A1(){this.view.jc&&
(this.view.jc.Rd.selectAll(1==this.view.Qd.getSelection()),this.view.rq.Rq(0<this.view.jc.Rd.Sv()));this.BM()}SBa(){this.view.rq.Rq(0<this.view.jc.Rd.Sv());this.aga();this.BM()}RBa(){this.j3();this.BM()}aga(){0==this.view.jc.Rd.Yx()?this.view.Qd.hg(0):this.view.jc.Rd.yR()>this.view.jc.Rd.Yx()?this.view.Qd.hg(-1):this.view.jc.Rd.yR()==this.view.jc.Rd.Yx()&&this.view.Qd.hg(1)}update(c){0!=this.view.isVisible()&&(1E4<c.wh?(e.wa(!0,e.i.C.u.OD,e.i.C.u.gla,!0,!0),setTimeout(()=>{this.i.update(c);this.Kl();
e.wa(!1)},50)):(this.i.update(c),this.Kl()))}tCa(c){e.i.B.F.MQ&&c.trim()==c&&this.view.jc&&this.view.jc.Rd.search(c,()=>this.xC())}vCa(){var c=this.view.en.Qi();!e.i.B.F.MQ&&c.trim()==c&&this.view.jc&&this.view.jc.Rd.search(c,()=>this.xC())}uCa(){!e.i.B.F.MQ&&this.view.jc&&this.view.jc.Rd.search("",()=>this.xC())}xC(){this.j3();this.BM();this.aga();this.view.rq.Rq(0<this.view.jc.Rd.Sv())}Kl(){this.view.gg();this.view.eb("fm-filter-pages-layout",this.i.S_);this.view.eb("fm-filter-flat-layout",this.i.wi);
this.view.jc&&this.view.jc.reset();this.view.en&&(this.view.en.clear(),this.view.en.n2(e.i.Ua.V().Ja.ha.Qc?1E3:0));this.view.eh&&(e.v.j.Na.Sc==e.v.j.Na.Sua(this.i.hierarchy.Uh.type+"")&&e.i.B.F.dc?this.view.eh.cb():this.view.eh.show());this.JGa();this.EGa();this.GGa();this.DGa();this.j3();this.BM();this.IGa();this.SG()}IGa(){var c=!this.i.S_&&!e.i.B.F.dc;this.view.Hl&&this.view.Hl.isVisible(c);this.view.Il&&this.view.Il.isVisible(c);this.view.lM&&this.view.lM.isVisible(c);this.view.eb("fm-sort-only",
!this.ky&&!this.cC)}get cC(){if(e.v.Sa.V().ha.Fa==e.v.j.sa.API&&!this.i.Np.pca)return!1;if(this.i.wi){var c=this.i.Yr.ja.O.Ke(this.i.hierarchy.A);return!e.w(c)&&c.type==e.v.j.Na.kb}return this.i.S_||e.v.Sa.V().ha.Fa==e.v.j.sa.ae||e.v.Sa.V().ha.Fa==e.v.j.sa.Af?!1:!0}get ky(){return this.i.Np.gL&&e.v.Sa.V().ha.Fa!=e.v.j.sa.ae&&!(this.i.wi&&this.i.cn==e.v.j.pb.kb)}GGa(){var c=this.i.hierarchy;this.view.Qd&&this.view.Qd.hg(0<c.filter.ij().length?-1:1);if(this.view.jc){var a=2<c.ta.length;this.view.jc.Rd.eb("fm-tree-list",
a);this.view.jc.Rd.v2(a?new h.sla:new h.yV);this.view.jc.Rd.IT(c);this.view.jc.Rd.Pf(this.i.rd);this.view.jc.Rd.FT(c.filter.ij());this.view.jc.Rd.sort(c.xf)}}EGa(){this.view.Tq&&(this.view.Tq.$a(this.i.hierarchy.caption),this.view.Tq.Gl(this.i.hierarchy.caption));this.view.toolbar&&this.view.toolbar.hFa(this.i.hierarchy.caption)}j3(){this.view.jc&&0<this.view.jc.Rd.getTotalLength()?(this.view.Qd&&this.view.Qd.show(),this.view.jc.Rd.Ip(6*this.view.jc.Rd.Md())):this.view.Qd&&this.view.Qd.cb()}JGa(){this.view.Hl&&
this.view.Hl.hg(this.i.hierarchy.xf==e.v.j.Ba.gc?1:0);this.view.Il&&this.view.Il.hg(this.i.hierarchy.xf==e.v.j.Ba.Ec?1:0)}DGa(){this.view.CF&&this.view.CF.isVisible(this.ky||this.cC);this.view.ei&&(this.i.cn==e.v.j.pb.Pa?this.view.gG.$a(e.i.C.u.gja):this.i.cn==e.v.j.pb.dk?this.view.gG.$a(e.i.C.u.o5):this.i.cn==e.v.j.pb.kb?this.view.gG.$a(e.i.C.u.hja):this.i.cn==e.v.j.pb.bc&&this.view.gG.$a(e.i.C.u.qja),this.view.ei.isVisible(this.ky&&this.i.cn!=e.v.j.pb.NONE),this.view.ei.eb("fm-has-filter",this.i.Vv),
this.view.ei.hg(this.i.Vv));this.view.eh&&(this.i.wi&&!this.cC&&this.i.hierarchy.filter.Ch?(this.view.eh.isVisible(!0),this.view.eh.Rq(!1)):(this.view.eh.isVisible(this.cC),this.view.eh.Rq(this.cC)),this.view.eh.eb("fm-has-filter",this.i.Ch),this.view.eh.hg(this.cC&&this.i.Ch));this.view.Xo&&(this.view.Xo.sw(this.i.Np.gL?this.i.Np.query:[]),this.view.Xo.reset(),this.i.uk.type==e.v.j.pb.Pa&&this.view.Xo.Fl(this.i.uk));this.view.op&&(this.view.op.sw(this.i.Np.gL?this.i.Np.query:[]),this.view.op.reset(),
this.i.uk.type==e.v.j.pb.dk&&this.view.op.Fl(this.i.uk));this.view.vp&&(this.view.vp.sw(this.i.Np.gL?this.i.Np.query:[]),this.view.vp.reset(),this.i.uk.type==e.v.j.pb.kb&&this.view.vp.Fl(this.i.uk));this.view.Op&&(this.view.Op.sw(this.i.Np.gL?this.i.Np.query:[]),this.view.Op.reset(),this.i.uk.type==e.v.j.pb.bc&&this.view.Op.Fl(this.i.uk));this.view.zm&&(this.view.zm.sw(this.i.Np.pca?this.i.Np.Sp:[]),this.view.zm.reset(),this.view.zm.Ry(this.i.ed()),this.i.uk.type==e.v.j.pb.xn&&this.view.zm.Fl(this.i.uk),
this.view.zm.eb("fm-arrow-first",!this.ky));this.cM();this.SG()}BM(){var c="";this.view.jc&&(c=this.view.jc.Rd.Ce()?e.P.bind(e.i.C.u.Kia,this.view.jc.Rd.Yx(),this.view.jc.Rd.yR()):e.P.bind(e.i.C.u.Lia,this.view.jc.Rd.Yx(),this.view.jc.Rd.yR()));this.view.rw&&(this.view.rw.$a(c),this.view.rw.Gl(c));this.view.Qd&&this.view.Qd.$a(this.view.jc&&this.view.jc.Rd.Ce()?e.i.C.u.nja:e.i.C.u.Eu)}lBa(c){var a=c.data.El;-1<c.data.selectedIndex&&(this.i.Sea(a),this.Kl())}}h.yja=f})(k.filter||(k.filter={}))})(e.K||
(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.Vd.Uw{constructor(){super(k.Pb.Gb.G);this.$("fm-filter-view");this.$("fm-noselect");this.kh=new h.yja;this.kh.N("close",()=>this.close());this.kh.N("center",()=>this.qt());this.W(this.kh.view);this.kh.view.show()}gs(c){this.open();this.kh.update(c);this.qt();this.bb(r.da.OPENED)}close(){this.fL&&(super.close(),this.bb(r.da.CLOSED),e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.XU)))}}h.Aja=f})(k.filter||(k.filter={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.Oa{constructor(){super("div","fm-filters-table");var c=new v.Oa("div","fm-filters-table-header fm-fth-withsearch");this.W(c);var a=new v.Oa("div","fm-select-all-wrapper");a.$("fm-ui-col");this.Qd=new v.pI;this.Qd.$("fm-select-all-label");this.Qd.$a(e.i.C.u.Eu);this.Qd.Gl(e.i.C.u.Eu);a.W(this.Qd);var b=new v.Oa("div","fm-select-counter-wrap");b.$("fm-ui-col");this.rw=new v.Oc;this.rw.$("fm-select-counter");b.W(this.rw);c.W(a);c.W(b);this.ah=
new v.Oa("div","fm-search-wrap");c.W(this.ah);this.$g=new v.Oa("a","fm-search-btn");this.$g.G.text(e.i.C.u.YU);this.$g.Jh();this.$g.N("click",()=>this.Ey());this.$g.N("focus",()=>this.Ey());this.ah.W(this.$g);this.en=new v.gk;this.en.$("fm-search-inp");this.ah.W(this.en);c=new v.yd("fm-close-search");c.N(v.yd.Fe,()=>this.Fy());this.ah.W(c);c=new v.Oa("div","fm-filters-table-content");this.W(c);this.Rd=new h.GH;this.Rd.$("fm-members-filter-list");this.Rd.v2(new h.yV);c.W(this.Rd)}gg(){this.en.VC(e.i.C.u.YU);
this.Qd.$a(e.i.C.u.Eu);this.Qd.Gl(e.i.C.u.Eu);this.$g.G.text(e.i.C.u.YU)}Ey(){this.$g.Jh(-1);this.ah.$("fm-search-opened");this.en.G.focus();this.rw.cb()}Fy(){this.$g.Jh(0);this.ah.Pd("fm-search-opened");this.en.clear();this.rw.show()}gm(){var c=this.Rd.jR();return c.items?c.fu?{Ox:c.items}:{rd:c.items}:null}reset(){this.Fy()}}h.rla=f})(k.filter||(k.filter={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.Oa{constructor(){super("div","fm-filters-subview-wrap");this.Wc=[];var c=new v.Oa("div","fm-filters-subview");this.W(c);this.du=new v.ld.kr;this.du.$("fm-measures-dropdown");this.du.wf("label");this.du.VC("");c.W(this.du);this.Tc=new v.ld.kr;this.Tc.$("fm-conditions-dropdown");this.Tc.wf("label");this.Tc.N(r.da.Id,()=>this.Uj());c.W(this.Tc);this.Yg=new v.gq;this.Yg.$("fm-num-input-1");this.Yg.WC(v.gq.XD);c.W(this.Yg);this.oj=new v.gq;this.oj.$("fm-num-input-2");
this.oj.WC(v.gq.XD);c.W(this.oj);var a=new v.Da("div","fm-buttons-bar");c.G.W(a);this.Xf=new v.yd("fm-ui-link-btn");this.Xf.$("fm-muted");this.Xf.Pd("fm-ui-btn");this.Xf.N(v.yd.Fe,()=>this.fw());a.W(this.Xf.G)}fw(){this.cb();this.bb(r.da.wo)}Uj(){let c=this.Tc.ui();e.w(c)||this.G.eb("fm-range",0<=e.v.j.pc.ff.indexOf(c.value))}Ry(c){this.du.Pf(c);this.du.Nk(0)}reset(){this.du.Nk(0);this.Tc.Nk(0);this.Uj();this.Yg.Kh(10);this.oj.Kh(0)}gm(){var c={type:e.v.j.pb.xn};c.measure=this.du.ui().Qa();var a=
this.Tc.ui().value;if(0<=e.v.j.pc.Nh.indexOf(a)){var b=this.Yg.Ha();!isNaN(b)||a!=e.v.j.pc.Oh&&a!=e.v.j.pc.aj||(b=0);c.query=new e.i.ab.Vk(a,b)}0<=e.v.j.pc.ff.indexOf(a)&&(c.query=new e.i.ab.Vk(a,[this.Yg.Ha(),this.oj.Ha()]));return c}Fl(c){this.Tc.qs(b=>b.value===c.query.va);this.Uj();const a=this.du.Hc();for(let b=0;b<a.length;b++)if(a[b].A==c.measure.uniqueName&&a[b].fa==c.measure.aggregation){this.du.Nk(b);break}0<=e.v.j.pc.Nh.indexOf(c.query.va)&&this.Yg.Kh(c.query.value);0<=e.v.j.pc.ff.indexOf(c.query.va)&&
(this.Yg.Kh(c.query.value[0]),this.oj.Kh(c.query.value[1]))}sw(c){this.Wc=c;this.gg()}J(c){switch(c){case e.v.j.pc.Oh:return e.i.C.u.fja;case e.v.j.pc.aj:return e.i.C.u.Xia;case e.v.j.pc.EQUAL:return e.i.C.u.BH;case e.v.j.pc.Cf:return e.i.C.u.DH;case e.v.j.pc.GREATER:return e.i.C.u.oN;case e.v.j.pc.Wk:return e.i.C.u.pN;case e.v.j.pc.LESS:return e.i.C.u.qN;case e.v.j.pc.Xk:return e.i.C.u.rN;case e.v.j.pc.Kg:return e.i.C.u.AH;case e.v.j.pc.Cg:return e.i.C.u.CH}}gg(){this.Tc.Pf(this.Wc.map(c=>({value:c,
label:this.J(c)})));this.Xf.$a(e.i.C.u.Ria)}}h.Bna=f})(k.filter||(k.filter={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.Oa{constructor(){super("div","fm-filters-subview-wrap");this.Wc=[];var c=new v.Oa("div","fm-filters-subview");this.W(c);this.Tc=new v.ld.kr;this.Tc.$("fm-conditions-dropdown");this.Tc.wf("label");this.Tc.N(r.da.Id,()=>this.Uj());c.W(this.Tc);this.ll=new v.UJ.S6;this.ll.$("fm-datepicker-1");this.ll.N(r.da.Id,()=>this.GAa());c.W(this.ll);this.Zm=new v.UJ.S6;this.Zm.$("fm-datepicker-2");this.Zm.N(r.da.Id,()=>this.HAa());c.W(this.Zm);this.EC=new v.ld.kr;
this.EC.$("fm-periods-dropdown");this.EC.wf("label");c.W(this.EC);var a=new v.Da("div","fm-buttons-bar");c.G.W(a);this.Xf=new v.yd("fm-ui-link-btn");this.Xf.$("fm-muted");this.Xf.Pd("fm-ui-btn");this.Xf.N(v.yd.Fe,()=>this.fw());a.W(this.Xf.G)}sw(c){this.Wc=c;this.gg()}J(c){switch(c){case e.v.j.Ob.EQUAL:return e.i.C.u.BH;case e.v.j.Ob.Cf:return e.i.C.u.DH;case e.v.j.Ob.nD:return e.i.C.u.Uia;case e.v.j.Ob.oD:return e.i.C.u.Via;case e.v.j.Ob.kD:return e.i.C.u.Sia;case e.v.j.Ob.lD:return e.i.C.u.Tia;
case e.v.j.Ob.Kg:return e.i.C.u.AH;case e.v.j.Ob.Cg:return e.i.C.u.CH;case e.v.j.Ob.NH:return e.i.C.u.aja;case e.v.j.Ob.jH:return e.i.C.u.Zia;case e.v.j.Ob.ZH:return e.i.C.u.bja}}gg(){this.Tc.Pf(this.Wc.map(c=>({value:c,label:this.J(c)})));this.EC.Pf([{value:e.v.j.Iw.Cm,label:e.i.C.u.ija},{value:e.v.j.Iw.rI,label:e.i.C.u.lja},{value:e.v.j.Iw.Ag,label:e.i.C.u.jja},{value:e.v.j.Iw.Js,label:e.i.C.u.kja},{value:e.v.j.Iw.bl,label:e.i.C.u.mja}]);this.Xf.$a(e.i.C.u.Nia);this.ll.Cw=e.i.B.F.Vn;this.Zm.Cw=
e.i.B.F.Vn;this.ll.HY=e.i.B.F.rZ;this.Zm.HY=e.i.B.F.rZ;this.ll.zi=e.i.B.F.JB();this.Zm.zi=e.i.B.F.JB();this.ll.KP=e.i.C.u.Ml;this.Zm.KP=e.i.C.u.Ml}gm(){var c={type:e.v.j.pb.Pa},a=this.Tc.ui().value;0<=e.v.j.Ob.Nh.indexOf(a)&&(c.query=new e.i.ab.Vk(a,this.ll.xc));if(0<=e.v.j.Ob.ff.indexOf(a)){var b=this.ll.xc,d=this.Zm.xc;c.query=new e.i.ab.Vk(a,b.getTime()<d.getTime()?[b,d]:[d,b])}0<=e.v.j.Ob.Iz.indexOf(a)&&(c.query=new e.i.ab.Vk(a,this.EC.ui().value));return c}Fl(c){this.Tc.qs(a=>a.value===c.query.va);
this.Uj();0<=e.v.j.Ob.Nh.indexOf(c.query.va)&&(this.ll.xc=c.query.value);0<=e.v.j.Ob.ff.indexOf(c.query.va)&&(this.ll.xc=c.query.value[0],this.Zm.xc=c.query.value[1]);0<=e.v.j.Ob.Iz.indexOf(c.query.va)&&this.EC.qs(a=>a.value===c.query.value)}reset(){this.Tc.Nk(0);this.EC.Nk(0);this.Uj();this.ll.tFa();this.Zm.xc=null}Uj(){var c=this.Tc.ui();e.w(c)||(c=c.value,this.G.eb("fm-date-range",0<=e.v.j.Ob.ff.indexOf(c)),this.G.eb("fm-date-period",0<=e.v.j.Ob.Iz.indexOf(c)),0<=e.v.j.Ob.ff.indexOf(c)&&null==
this.Zm.xc&&null!=this.ll.xc&&(this.Zm.xc=this.ll.xc.clone()))}GAa(){null==this.Zm.xc&&0<=e.v.j.Ob.ff.indexOf(this.Tc.ui().value)&&(this.Zm.xc=this.ll.xc.clone())}HAa(){null==this.ll.xc&&0<=e.v.j.Ob.ff.indexOf(this.Tc.ui().value)&&(this.ll.xc=this.Zm.xc.clone())}fw(){this.reset();this.cb();this.bb(r.da.wo)}}h.mia=f})(k.filter||(k.filter={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.Oa{constructor(){super("div","fm-filters-subview-wrap");this.Wc=[];var c=new v.Oa("div","fm-filters-subview");this.W(c);this.Tc=new v.ld.kr;this.Tc.$("fm-conditions-dropdown");this.Tc.wf("label");this.Tc.N(r.da.Id,()=>this.Uj());c.W(this.Tc);this.fD=new v.gk;this.fD.$("fm-txt-input-1");c.W(this.fD);this.yM=new v.gk;this.yM.$("fm-txt-input-2");c.W(this.yM);var a=new v.Da("div","fm-buttons-bar");c.G.W(a);this.Xf=new v.yd("fm-ui-link-btn");this.Xf.$("fm-muted");
this.Xf.Pd("fm-ui-btn");this.Xf.N(v.yd.Fe,()=>this.fw());a.W(this.Xf.G)}sw(c){this.Wc=c;this.gg()}J(c){switch(c){case e.v.j.Cb.EQUAL:return e.i.C.u.BH;case e.v.j.Cb.Cf:return e.i.C.u.DH;case e.v.j.Cb.pD:return e.i.C.u.Wia;case e.v.j.Cb.Dz:return e.i.C.u.cja;case e.v.j.Cb.pz:return e.i.C.u.$ia;case e.v.j.Cb.Fz:return e.i.C.u.eja;case e.v.j.Cb.kn:return e.i.C.u.Yia;case e.v.j.Cb.Ez:return e.i.C.u.dja;case e.v.j.Cb.GREATER:return e.i.C.u.oN;case e.v.j.Cb.Wk:return e.i.C.u.pN;case e.v.j.Cb.LESS:return e.i.C.u.qN;
case e.v.j.Cb.Xk:return e.i.C.u.rN;case e.v.j.Cb.Kg:return e.i.C.u.AH;case e.v.j.Cb.Cg:return e.i.C.u.CH}}gg(){this.Tc.Pf(this.Wc.map(c=>({value:c,label:this.J(c)})));this.Xf.$a(e.i.C.u.Oia)}gm(){var c={type:e.v.j.pb.dk},a=this.Tc.ui().value;0<=e.v.j.Cb.Nh.indexOf(a)&&(c.query=new e.i.ab.Vk(a,this.fD.Qi()));0<=e.v.j.Cb.ff.indexOf(a)&&(c.query=new e.i.ab.Vk(a,[this.fD.Qi(),this.yM.Qi()]));return c}Fl(c){this.Tc.qs(a=>a.value===c.query.va);this.Uj();0<=e.v.j.Cb.Nh.indexOf(c.query.va)&&this.fD.Yi(c.query.value);
0<=e.v.j.Cb.ff.indexOf(c.query.va)&&(this.fD.Yi(c.query.value[0]),this.yM.Yi(c.query.value[1]))}reset(){this.Tc.Nk(0);this.Uj();this.fD.Yi("");this.yM.Yi("")}Uj(){let c=this.Tc.ui();e.w(c)||this.G.eb("fm-range",0<=e.v.j.Cb.ff.indexOf(c.value))}fw(){this.reset();this.cb();this.bb(r.da.wo)}}h.gka=f})(k.filter||(k.filter={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.Oa{constructor(){super("div","fm-filters-subview-wrap");this.Wc=[];var c=new v.Oa("div","fm-filters-subview");this.W(c);this.Tc=new v.ld.kr;this.Tc.$("fm-conditions-dropdown");this.Tc.wf("label");this.Tc.N(r.da.Id,()=>this.Uj());c.W(this.Tc);this.Yg=new v.gq;this.Yg.$("fm-num-input-1");this.Yg.WC(v.gq.XD);c.W(this.Yg);this.oj=new v.gq;this.oj.$("fm-num-input-2");this.oj.WC(v.gq.XD);c.W(this.oj);var a=new v.Da("div","fm-buttons-bar");c.G.W(a);
this.Xf=new v.yd("fm-ui-link-btn");this.Xf.$("fm-muted");this.Xf.Pd("fm-ui-btn");this.Xf.N(v.yd.Fe,()=>this.fw());a.W(this.Xf.G)}sw(c){this.Wc=c;this.gg()}J(c){switch(c){case e.v.j.jg.EQUAL:return e.i.C.u.BH;case e.v.j.jg.Cf:return e.i.C.u.DH;case e.v.j.jg.GREATER:return e.i.C.u.oN;case e.v.j.jg.Wk:return e.i.C.u.pN;case e.v.j.jg.LESS:return e.i.C.u.qN;case e.v.j.jg.Xk:return e.i.C.u.rN;case e.v.j.jg.Kg:return e.i.C.u.AH;case e.v.j.jg.Cg:return e.i.C.u.CH}}gg(){this.Tc.Pf(this.Wc.map(c=>({value:c,
label:this.J(c)})));this.Xf.$a(e.i.C.u.Pia)}gm(){var c={type:e.v.j.pb.kb},a=this.Tc.ui().value;0<=e.v.j.jg.Nh.indexOf(a)&&(c.query=new e.i.ab.Vk(a,this.Yg.Ha()));0<=e.v.j.jg.ff.indexOf(a)&&(c.query=new e.i.ab.Vk(a,[this.Yg.Ha(),this.oj.Ha()]));return c}Fl(c){this.Tc.qs(a=>a.value===c.query.va);this.Uj();0<=e.v.j.jg.Nh.indexOf(c.query.va)&&this.Yg.Kh(c.query.value);0<=e.v.j.jg.ff.indexOf(c.query.va)&&(this.Yg.Kh(c.query.value[0]),this.oj.Kh(c.query.value[1]))}reset(){this.Tc.Nk(0);this.Uj();this.Yg.Kh(0);
this.oj.Kh(0)}Uj(){let c=this.Tc.ui();e.w(c)||this.G.eb("fm-range",0<=e.v.j.jg.ff.indexOf(c.value))}fw(){this.reset();this.cb();this.bb(r.da.wo)}}h.Cla=f})(k.filter||(k.filter={}))})(e.K||(e.K={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f extends v.Oa{constructor(){super("div","fm-filters-subview-wrap");this.Wc=[];var c=new v.Oa("div","fm-filters-subview");this.W(c);this.Tc=new v.ld.kr;this.Tc.$("fm-conditions-dropdown");this.Tc.wf("label");this.Tc.N(r.da.Id,()=>this.Uj());c.W(this.Tc);this.Yg=new v.gq;this.Yg.$("fm-num-input-1");this.Yg.WC(v.gq.XD);c.W(this.Yg);this.oj=new v.gq;this.oj.$("fm-num-input-2");this.oj.WC(v.gq.XD);c.W(this.oj);this.jy=new v.ld.kr;this.jy.$("fm-interval-dropdown");
this.jy.wf("label");c.W(this.jy);c=new v.Da("div","fm-buttons-bar");this.G.W(c);this.Xf=new v.yd("fm-ui-link-btn");this.Xf.$("fm-muted");this.Xf.Pd("fm-ui-btn");this.Xf.N(v.yd.Fe,()=>this.fw());c.W(this.Xf.G)}sw(c){this.Wc=c;this.gg()}J(c){switch(c){case e.v.j.fk.EQUAL:return e.i.C.u.BH;case e.v.j.fk.Cf:return e.i.C.u.DH;case e.v.j.fk.GREATER:return e.i.C.u.oN;case e.v.j.fk.Wk:return e.i.C.u.pN;case e.v.j.fk.LESS:return e.i.C.u.qN;case e.v.j.fk.Xk:return e.i.C.u.rN;case e.v.j.fk.Kg:return e.i.C.u.AH;
case e.v.j.fk.Cg:return e.i.C.u.CH}}gg(){this.Tc.Pf(this.Wc.map(c=>({value:c,label:this.J(c)})));this.jy.Pf([{value:"s",label:e.i.C.u.tja},{value:"m",label:e.i.C.u.sja},{value:"h",label:e.i.C.u.rja},{value:"d",label:e.i.C.u.pja}]);this.Xf.$a(e.i.C.u.Qia)}gm(){var c={type:e.v.j.pb.bc},a=this.Tc.ui().value,b=this.jy.ui().value;0<=e.v.j.fk.Nh.indexOf(a)&&(c.query=new e.i.ab.Vk(a,this.Yg.Ha()+b));0<=e.v.j.fk.ff.indexOf(a)&&(c.query=new e.i.ab.Vk(a,[this.Yg.Ha()+b,this.oj.Ha()+b]));return c}Fl(c){this.Tc.qs(g=>
g.value===c.query.va);this.Uj();for(var a=this.jy.Hc(),b=0;b<a.length;b++){var d=a[b].value;if(0<=c.query.value.indexOf(d)){this.jy.Nk(b);break}}0<=e.v.j.fk.Nh.indexOf(c.query.va)&&(a=parseFloat(c.query.value.replace(d,"")),this.Yg.Kh(a));0<=e.v.j.fk.ff.indexOf(c.query.va)&&(a=parseFloat(c.query.value[0].replace(d,"")),d=parseFloat(c.query.value[1].replace(d,"")),this.Yg.Kh(a),this.oj.Kh(d))}reset(){this.Tc.Nk(0);this.Uj();this.Yg.Kh(0);this.oj.Kh(0);this.jy.Nk(0)}Uj(){let c=this.Tc.ui();e.w(c)||
this.G.eb("fm-range",0<=e.v.j.fk.ff.indexOf(c.value))}fw(){this.reset();this.cb();this.bb(r.da.wo)}}h.kna=f})(k.filter||(k.filter={}))})(e.K||(e.K={}))})(u||(u={}));var S;
(function(e){class k{constructor(){this.styleSheet=new e.hd.Lna;this.bh=[];e.hd.format.Ps.uca=e.hd.format.Ps.c$}oGa(){var h=[];h["[Content_Types].xml"]=e.si.Qs+this.Dra();h["_rels/.rels"]=e.si.Qs+e.si.Ona;h["xl/_rels/workbook.xml.rels"]=e.si.Qs+this.esa();h["xl/workbook.xml"]=e.si.Qs+this.fsa();h["xl/theme/theme1.xml"]=e.si.Qs+e.si.Yma;for(var f=0;f<this.bh.length;f++){var c=this.bh[f].Bc();h["xl/worksheets/sheet"+(f+1)+".xml"]=e.si.Qs+c}f=this.bsa();h["xl/sharedStrings.xml"]=e.si.Qs+f;h["xl/styles.xml"]=
e.si.Qs+this.styleSheet.Bc();h["docProps/app.xml"]=e.si.Qs+e.si.Cga;h["docProps/core.xml"]=e.si.Qs+e.si.Eha;return(new y.xja).gsa(h)}bsa(){var h="";y.aa.create("<axis/>").attr("name","rows");for(var f=0;f<e.sI.pM.length;f++){var c=u.P.ap(e.sI.pM[f]);h+="<si><t>"+c+"</t></si>"}return e.si.zma.replace("{0}",h)}fsa(){for(var h="",f=0;f<this.bh.length;f++)h+=u.P.bind('<sheet name="{0}" sheetId="{1}" r:id="{2}"/>',this.bh[f].name,f+1,"rId"+(f+4));return u.P.bind(e.si.Cna,h)}esa(){for(var h="",f=0;f<this.bh.length;f++)h+=
u.P.bind(e.si.Ena,"rId"+(f+4),"worksheets/sheet"+(f+1)+".xml");return u.P.bind(e.si.Dna,h)}Dra(){for(var h="",f=0;f<this.bh.length;f++)h+=u.P.bind(e.si.gha,"/xl/worksheets/sheet"+(f+1)+".xml");return u.P.bind(e.si.fha,h)}}e.Gna=k})(S||(S={}));
(function(e){class k{constructor(h=0,f=0,c="",a=0){this.nu=h;this.wt=f;this.value=c;this.X2=a}get type(){return this.lg}set value(h){"number"===typeof h&&isNaN(h)&&(h="");if("string"===typeof h){h=h.replace(/<br\/?>/gmi,"\n");h=h.replace("/&/gmi","");h=h.replace(/<[^<]+?>/gmi,"");var f=e.sI.pM.indexOf(h);-1==f?(this.eJ=e.sI.pM.length,e.sI.pM.push(h)):this.eJ=f;this.lg=e.Ww.Sc}else this.eJ=h,this.lg="number"===typeof h?e.Ww.kb:null===h?e.Ww.j6:!1===h?e.Ww.Q5:e.Ww.sna}get value(){return this.eJ}set id(h){}get id(){for(var h=
"",f=this.wt+1,c=0;26<f;){var a=0<f%26?f%26:26;f/=26;26==a&&f--;h=String.fromCharCode(a+64)+h;if(3==c++)break}h=String.fromCharCode(f+64)+h;return h+(this.nu+1)}toString(){return"XLSCell {row: "+this.nu+", column: "+this.wt+", type: "+this.type+", id: "+this.id+", value: "+this.value+"}"}}e.xO=k})(S||(S={}));{var jb=S||(S={});class e{}e.pM=[];jb.sI=e}
(function(e){class k{constructor(h){this.cells=[];this.yS=this.zS=0;this.Ka=[];this.rows=[];this.BS=[];this.name=this.fua(h)}fua(h){h=h.replace(/[\\/*[\]:?]/g,"");"'"==h.charAt(0)&&(h=h.substr(1));h=h.replace(/&/g,"&amp;");h=h.replace(/'/g,"&apos;");h=h.replace(/"/g,"&quot;");h=h.replace(/</g,"&lt;");h=h.replace(/>/g,"&gt;");30<h.length&&(h=h.substr(0,27)+"...");return h}get Mca(){return this.Kf(this.zS,this.yS)}set Mca(h){}get wra(){return this.yS+1}get UL(){return this.zS+1}Rea(h,f){this.Ka[h]=
f}IF(h){return this.Ka[h]?this.Ka[h]:0}uw(h,f){this.rows[h]=f}Md(h){return this.rows[h]?this.rows[h]:0}Wi(h,f,c,a=null){null==this.cells[h]&&(this.cells[h]=[]);this.cells[h][f]=c instanceof e.xO?c:new e.xO(h,f,c,null==a?0:a.index);this.zS<h&&(this.zS=h);this.yS<f&&(this.yS=f)}Kf(h,f){var c;null!=this.cells[h]&&(c=this.cells[h][f]);null==c&&(c=new e.xO(h,f,null));return c}Rca(h,f,c){var a=this.Kf(h,f);if(null!=a){for(var b=a.id,d,g=f+1;g<f+c;g++)d=new e.xO(h,g,!1,a.X2),this.cells[h][g]=d;b+=":"+(d?
d.id:a.id);this.BS.push(b)}}Bc(){for(var h="",f=0;f<this.cells.length;f++){var c=this.cells[f];if(null!=c&&0!=c.length){for(var a="",b=0;b<c.length;b++){var d=c[b];null!=d&&d.type!=e.Ww.j6&&(a=d.type==e.Ww.Q5?a+('<c r="'+d.id+'" s="'+d.X2.toString()+'" />'):a+('<c r="'+d.id+'" s="'+d.X2.toString()+'"'+(d.type==e.Ww.Sc?' t="s"':"")+"><v>"+d.value+"</v></c>"))}h=isNaN(this.rows[f])?h+u.P.bind('<row spans="1:3" r="{0}"  >{1}</row>',f+1,a):h+u.P.bind('<row spans="1:3" r="{0}" x14ac:dyDescent="0.25" ht="{1}" customHeight="1">{2}</row>',
f+1,this.rows[f],a)}}f="";for(c=0;c<this.Ka.length;c++)isNaN(this.Ka[c])||(f+=u.P.bind('<col min="{0}" max="{1}" width="{2}" customWidth="1" />',c+1,c+1,this.Ka[c]));a="";for(c=0;c<this.BS.length;c++)a+=u.P.bind('<mergeCell ref="{0}"/>',this.BS[c]);c=0<this.BS.length?u.P.bind('<mergeCells count="{0}">{1}</mergeCells>',this.Rca.length,a):"";return u.P.bind(e.si.Ama,this.Kf(0,0).id+":"+this.Mca.id,f,h,c)}}e.Hna=k})(S||(S={}));{var kb=S||(S={});class e{}e.j6=0;e.kb=1;e.Sc=2;e.Q5=98;e.sna=99;kb.Ww=e}
(function(e){(function(k){class h{constructor(f,c,a=null,b=null){this.index=0;this.fill=c instanceof k.ql.tI?c:!isNaN(c)&&-1<c?new k.ql.tI(c):new k.ql.tI;this.font=f instanceof k.fonts.Tu?f:new k.fonts.Tu(f);this.format=a&&a instanceof k.format.Ps?a:new k.format.Ps(0,"");null!=b&&(this.textAlign=b)}set id(f){}get id(){return this.fill.id+":"+this.font.id+":"+this.textIndent+":"+this.textAlign+":"+this.format.id}Bc(){var f=this.textIndent||this.textAlign?u.P.bind('<alignment vertical="center" horizontal="{0}" wrapText="1"{1}/>',
u.w(this.textAlign)?"left":this.textAlign,u.w(this.textIndent)?"":' indent="'+this.textIndent+'"'):'<alignment vertical="center" wrapText="1"/>';return u.P.bind('<xf numFmtId="{0}"{1} fontId="{2}" fillId="{3}" borderId="1" xfId="0" applyFont="1" applyFill="1"{4}>{5}</xf>',this.format.By,0<this.format.By?' applyNumberFormat = "1"':"",this.font.OQ,this.fill.hK,0<f.length?' applyAlignment="1"':"",f)}}k.Vz=h})(e.hd||(e.hd={}))})(S||(S={}));
(function(e){(function(k){class h{constructor(){this.hd=new u.wb;this.ql=new u.wb;this.fonts=new u.wb;this.ie=new u.wb;this.u8(new k.ql.tI);var f=new k.ql.tI;f.O1.P1="solid";f.hK=1;this.ql.Ta("solid",f)}kv(f){this.hd.Sb(f.id)?f.index=this.hd.getItem(f.id).index:(this.u8(f.fill),this.addFont(f.font),this.hd.Ta(f.id,f),f.index=this.hd.length)}u8(f){this.ql.Sb(f.id)?f.hK=this.ql.getItem(f.id).hK:(f.hK=this.ql.length,this.ql.Ta(f.id,f))}addFont(f){this.fonts.Sb(f.id)?f.OQ=this.fonts.getItem(f.id).OQ:
(this.fonts.Ta(f.id,f),f.OQ=this.fonts.length)}spa(f){this.ie.Sb(f.id)?f.By=this.ie.getItem(f.id).By:(-1==f.By&&(f.By=k.format.Ps.Awa()),this.ie.Ta(f.id,f))}Bc(){var f="",c="",a="",b="",d;if(0<this.ie.length){var g=0,l="";for(d=0;d<this.ie.length;d++){var m=this.ie.ea(d);""!=m.RQ&&(m=m.Bc(),l+=m,g++)}0<g&&(f='<numFmts count="'+g+'">'+l+"</numFmts>")}for(d=0;d<this.ql.length;d++)c+=this.ql.ea(d).Bc();for(d=0;d<this.fonts.length;d++)a+=this.fonts.ea(d).Bc();for(d=0;d<this.hd.length;d++)b+=this.hd.ea(d).Bc();
return u.P.bind(e.si.Ima,f,this.fonts.length+1,a,this.ql.length,c,this.hd.length+1,b)}}k.Lna=h})(e.hd||(e.hd={}))})(S||(S={}));
(function(e){(function(k){(function(h){class f{constructor(c){this.rgb=c}set id(c){}get id(){return this.rgb.toString(16)}Bc(c=""){0==c.length&&(c="color");c="<"+c;this.wqa&&(c+=' auto="'+this.wqa+'"');this.VFa&&(c+=' theme="'+this.VFa+'"');this.ZFa&&(c+=' tint="'+this.ZFa+'"');this.Axa&&(c+=' indexed="'+this.Axa+'"');for(var a=this.rgb.toString(16).toUpperCase();6>a.length;)a="0"+a;return c+(' rgb="FF'+a+'"/>')}}h.YV=f})(k.color||(k.color={}))})(e.hd||(e.hd={}))})(S||(S={}));
(function(e){(function(k){(function(h){class f extends h.YV{constructor(c){super(c)}Bc(){return super.Bc("bgColor")}}h.Ina=f})(k.color||(k.color={}))})(e.hd||(e.hd={}))})(S||(S={}));(function(e){(function(k){(function(h){class f extends h.YV{constructor(c){super(c)}Bc(){return super.Bc("fgColor")}}h.Jna=f})(k.color||(k.color={}))})(e.hd||(e.hd={}))})(S||(S={}));
(function(e){(function(k){(function(h){class f{constructor(c=-1){this.hK=0;this.O1=new h.Kna(c)}Bc(){return"<fill>"+this.O1.Bc()+"</fill>"}set id(c){}get id(){return this.O1.id}}h.tI=f})(k.ql||(k.ql={}))})(e.hd||(e.hd={}))})(S||(S={}));
(function(e){(function(k){(function(h){class f{constructor(c=-1){this.P1="solid";-1<c?(this.fgColor=new k.color.Jna(c),this.bgColor=new k.color.Ina(c)):this.P1="none"}get id(){return u.w(this.fgColor)?"none":this.fgColor.id}Bc(){return u.P.bind('<patternFill patternType="{0}">{1}{2}</patternFill>',this.P1,u.w(this.fgColor)?"":this.fgColor.Bc(),u.w(this.bgColor)?"":this.bgColor.Bc())}}h.Kna=f})(k.ql||(k.ql={}))})(e.hd||(e.hd={}))})(S||(S={}));
(function(e){(function(k){(function(h){class f{constructor(c,a,b){this.OQ=0;u.w(c)||(this.name=c.replace(/"/g,"").trim());u.w(a)||(this.size=a);u.w(b)||(this.OR=new k.color.YV(b))}set id(c){}get id(){return this.name+","+this.size+","+(u.w(this.OR)?"":this.OR.id)+","+this.bold+","+this.mC}Bc(){var c="<font>";this.bold&&(c+="<b/>");this.size&&(c+='<sz val="'+this.size+'"/>');this.OR&&(c+=this.OR.Bc());if(this.name){var a=this.name;this.name.indexOf(",")&&(a=this.name.split(",")[0].trim());c+='<name val="'+
a+'"/>'}return c+"</font>"}}h.Tu=f})(k.fonts||(k.fonts={}))})(e.hd||(e.hd={}))})(S||(S={}));(function(e){(function(k){(function(h){class f{constructor(c,a){this.By=c;this.RQ=a}Bc(){return'<numFmt numFmtId="'+this.By+'" formatCode="'+this.RQ+'"/>'}get id(){return""!=this.RQ?this.RQ:this.By.toString()}set id(c){}static Awa(){return f.uca++}}f.c$=1;f.uca=f.c$;h.Ps=f})(k.format||(k.format={}))})(e.hd||(e.hd={}))})(S||(S={}));
(function(e){class k{static format(h,f=null,c=!1,a=!1,b=-1){null==f&&(f=k.pQ);if(isNaN(h)||u.w(h))return f.ds;if(Infinity==h)return f.aC;if(h==u.v.j.fN.dN)return f.mB;c||(c=f.Lf);h=f.Yd&&"%"!=f.gd?100*h:h;h=k.lra(h);var d=a||f.Yd?"%":f.gd,g=a||f.Yd?u.i.cc.X.ef.Gy["1$"]:f.js;a=a||f.Yd?u.i.cc.X.ef.cs["-1$"]:f.bs;var l=c?0:f.ml;if(0==h&&0>l){var m="0";!c&&0<d.length&&(m=k.xZ(m,d,g,a));return m}m=0>h?f.$v-1:f.$v;1<f.gn.length&&!u.P.Yxa(f.gn)&&(m-=Math.floor(m/3)*f.gn.length);!c&&0<f.FY&&(m-=f.FY);f.gn=
"&#39;"==f.gn?"'":f.gn;var n=h.toString().split(".");if(1<n.length&&10<=n[1].length&&f.IA){n=n[1];for(var p=0,q=0,t=n.length-2;0<=t;t--)if("9"!=n.charAt(t)&&"0"!=n.charAt(t)||n.charAt(t)!=n.charAt(t+1))if(4>p)p=0;else{q=t+1;break}else p++;4<=p&&(n=Math.pow(10,q),h=0==Math.round(h*n)/n?h:Math.round(h*n)/n)}n=4<l?Math.pow(10,m-l-1):Math.pow(10,m-4);p=Math.pow(10,-(m-4));-1<b&&(l=b);Math.abs(h)>n?(b=Math.round(Math.log(h)/Math.LN10),b=Math.round(Math.log(b)/Math.LN10+1),m=0>h?f.$v-b-5:f.$v-b-4,0<=f.ml&&
(m=Math.min(m,f.ml)),0<=f.Wr&&(m=Math.min(m,f.Wr)),m=Math.max(1,Math.min(20,m)),m=h.toExponential(m)):Math.abs(h)<p&&0>l?(b=Math.round(Math.log(h)/Math.LN10),b=Math.round(Math.log(-b)/Math.LN10+1),m=m-4-b,20<m&&(m=20),1>m&&(m=1),m=h.toExponential(m)):0>l&&0>f.Wr&&!f.IA?m=h.toString():0>l&&0>f.Wr?(b=1,0!=h-Math.floor(h)&&(1<Math.abs(h)?(b=Math.round(Math.log(Math.abs(h))/Math.LN10),b=Math.pow(10,m-b-2)):b=Math.pow(10,m-2)),m=(Math.round(Math.abs(h)*b)/b).toString(),0>h&&(m="-"+m)):0==l||0==f.Wr?m=
Math.round(h).toString():(m=f.Wr,0<l&&m>l&&(m=l),0<l&&0<m&&m<l&&(l=m),m=k.toFixed(h,l,m));b=m.split(".");m=k.Qx(b[0],f);b=1<b.length?b[1]:"";m=0<b.length?m+f.iB+b:m;!c&&0<d.length?m=k.xZ(m,d,g,a):0==d.length&&0>h&&(m=k.SQ(m,f.up));return m=k.i9(m,h)}static toFixed(h,f,c=-1){if(0>=f&&0>=c)return h.toFixed(0);0>f&&(f=0);0>c&&(c=f);h=h.toLocaleString("en-US",{minimumFractionDigits:f,maximumFractionDigits:c});f=h.indexOf(".");return 0<=f?h.substr(0,f).replace(/[,\s\.]/g,"")+"."+h.substr(f+1):h.replace(/[,\s\.]/g,
"")}static xFa(h,f=null,c=!1,a=!1){var b=0>h;h=Math.abs(h);if(1E3>h)return k.format(h,f,c,a);if(1E6>h){h/=1E3;var d="K"}else 1E9>h?(h/=1E6,d="M"):1E12>h?(h/=1E9,d="B"):(h/=1E12,d="T");var g=(b?"-":"")+k.toFixed(h,0==h%1?0:1),l=g.split(".");g=k.Qx(l[0],f);l=1<l.length?l[1]:"";g=0<l.length?g+f.iB+l:g;g+=d;d=a||f.Yd?"%":f.gd;l=a||f.Yd?u.i.cc.X.ef.Gy["1$"]:f.js;a=a||f.Yd?u.i.cc.X.ef.cs["-1$"]:f.bs;!c&&0<d.length?g=k.xZ(g,d,l,a):0==d.length&&b&&(g=k.SQ(g,f.up));return g=k.i9(g,h)}static Qx(h,f=null){var c=
0>parseFloat(h);c&&(h=h.substr(1));var a=h;if(3<h.length){null==f&&(null==k.pQ&&(k.pQ=new u.i.cc.X.ef("")),f=k.pQ);a=Math.floor(h.length/3);var b=[],d=h.length%3;0<d&&b.push(h.substr(0,d));for(var g=0;g<a;g++)b.push(h.substr(d+3*g,3));a=b.join(f.gn)}c&&(a="-"+a);return a}static xZ(h,f,c,a){return 0==h.indexOf("-")?this.kK(h,f,a):this.Iua(h,f,c)}static kK(h,f,c){h=0==h.indexOf("-")?h.substr(1):h;switch(c){case u.i.cc.X.ef.cs["-$1"]:h="-"+f+h;break;case u.i.cc.X.ef.cs["$1-"]:h=f+h+"-";break;case u.i.cc.X.ef.cs["($1)"]:h=
"("+f+h+")";break;case u.i.cc.X.ef.cs["(1$)"]:h="("+h+f+")";break;case u.i.cc.X.ef.cs["-1$"]:h="-"+h+f;break;case u.i.cc.X.ef.cs["$-1"]:h=f+"-"+h;break;case u.i.cc.X.ef.cs["1-$"]:h=h+"-"+f;break;case u.i.cc.X.ef.cs["1$-"]:h=h+f+"-"}return h}static Iua(h,f,c){switch(c){case u.i.cc.X.ef.Gy.$1:h=f+h;break;default:h+=f}return h}static SQ(h,f){h=0==h.indexOf("-")?h.substr(1):h;switch(f){case u.i.cc.X.ef.gu["-1"]:h="-"+h;break;case u.i.cc.X.ef.gu["- 1"]:h="- "+h;break;case u.i.cc.X.ef.gu["1-"]:h+="-";break;
case u.i.cc.X.ef.gu["1 -"]:h+=" -";break;case u.i.cc.X.ef.gu["(1)"]:h="("+h+")";break;default:h="-"+h}return h}static i9(h,f){return 0<=f||-1==h.indexOf("-")||-1<h.search("[1-9]+")?h:h.replace("-","")}static og(h){return k.Qx((h/1024).toFixed(0))}static lra(h){const f=Math.abs(h);f<k.EPSILON?h=Math.floor(f):f-Math.floor(f)<k.EPSILON&&(h=0>h?Math.ceil(h):Math.floor(h));return h}}k.pQ=new u.i.cc.X.ef;k.EPSILON="undefined"===typeof Number.EPSILON?2.220446049250313E-16:Number.EPSILON;e.Ub=k})(w||(w={}));
window["FM-DIVIDER"]="FM-DIVIDER";
(function(e){(function(k){(function(h){class f{constructor(){}static J(c){c=f.uqa[c];for(var a="",b=0;b<c.length;b++)a+=String.fromCharCode(c[b]+101);return a}}f.uqa=[[7,4,-2,0,9,14,0,-26,0,20],[11,13,10,-1,16,-2,15,-26,0,20],[2,0,9,0,13,-4,15,0,-1,-26,0,20],[7,4,-2,0,9,14,0,-31,4,7,0,-21,-4,15,3],[-28,-31,13,-4,8,0,-69,-1,0,15,0,-2,15,0,-1,-55,-41,-3,13,-54,-39,-21,7,0,-4,14,0,-69,-2,10,9,15,-4,-2,15,-69,-2,7,4,0,9,15,14,-69,14,16,11,11,10,13,15,-69,4,1,-69,20,10,16,-69,3,-4,17,0,-69,-4,9,20,-69,
11,13,10,-3,7,0,8,-69,18,4,15,3,-69,15,3,0,-69,7,4,-2,0,9,14,0,-69,6,0,20,-55,-41,-3,13,-54,-39],[-12,10,16,-69,-4,13,0,-69,15,13,20,4,9,2,-69,15,10,-69,16,14,0,-69,-4,-69,-1,0,17,0,7,10,11,0,13,-62,14,-69,6,0,20,-69,10,9,-69,-4,-69,13,0,-4,7,-69,-1,10,8,-4,4,9,-69,-61,22,-53,24,-60,-55,-41,-3,13,-54,-39,-41,16,-39,-41,-4,-69,3,13,0,1,-40,-62,3,15,15,11,14,-43,-54,-54,18,18,18,-55,1,7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-54,-1,10,-2,-54,15,20,11,4,-2,-4,7,-56,0,13,13,10,13,14,-54,-66,-1,0,17,-56,6,
0,20,-62,-69,15,-4,13,2,0,15,-40,-62,-6,-3,7,-4,9,6,-62,-39,-19,0,-4,-1,-69,8,10,13,0,-69,4,9,1,10,-69,-4,-3,10,16,15,-69,15,3,4,14,-69,0,13,13,10,13,-41,-54,-4,-39,-41,-54,16,-39,-41,-3,13,-54,-39],[7,10,-2,-4,7,3,10,14,15],[-28,9,17,-4,7,4,-1,-69,7,4,-2,0,9,14,0,-69,6,0,20,-55,-41,-3,13,-54,-39,-41,16,-39,-41,-4,-69,3,13,0,1,-40,-62,3,15,15,11,14,-43,-54,-54,18,18,18,-55,1,7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-54,-1,10,-2,-54,15,20,11,4,-2,-4,7,-56,0,13,13,10,13,14,-54,-66,4,9,17,-4,7,4,-1,-56,
7,4,-2,0,9,14,0,-56,6,0,20,-62,-69,15,-4,13,2,0,15,-40,-62,-6,-3,7,-4,9,6,-62,-39,-19,0,-4,-1,-69,8,10,13,0,-69,4,9,1,10,-69,-4,-3,10,16,15,-69,15,3,4,14,-69,0,13,13,10,13,-41,-54,-4,-39,-41,-54,16,-39,-41,-3,13,-54,-39],[-91,-12,10,16,-69,-4,13,0,-69,15,13,20,4,9,2,-69,15,10,-69,16,14,0,-69,15,3,0,-69,1,10,7,7,10,18,4,9,2,-69,6,0,20,-43,-91],[1,7,0,19,8,10,9,14,15,0,13,11,4,17,10,15,15,-4,-3,7,0,6,0,20,-55,15,19,15],[-38,15,4,8,0,-40],[-25,4,-2,0,9,14,0,-69,6,0,20,-69,9,10,15,-69,1,10,16,9,-1,-55,
-41,-3,13,-54,-39,-21,7,0,-4,14,0,-69,14,0,15,-69,20,10,16,13,-69,6,0,20,-69,1,10,13,-69,15,3,0,-69,-2,10,8,11,10,9,0,9,15,-55,-41,-3,13,-54,-39,-41,-3,13,-54,-39,-41,16,-39,-41,-4,-69,3,13,0,1,-40,-62,3,15,15,11,14,-43,-54,-54,18,18,18,-55,1,7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-54,-1,10,-2,-54,15,20,11,4,-2,-4,7,-56,0,13,13,10,13,14,-54,-66,-68,7,4,-2,0,9,14,0,-56,9,16,8,-3,0,13,-56,9,10,15,-56,1,10,16,9,-1,-62,-69,15,-4,13,2,0,15,-40,-62,-6,-3,7,-4,9,6,-62,-39,-19,0,-4,-1,-69,8,10,13,0,-69,4,9,
1,10,-69,-4,-3,10,16,15,-69,15,3,4,14,-69,0,13,13,10,13,-41,-54,-4,-39,-41,-54,16,-39],[-25,4,-2,0,9,14,0,-69,6,0,20,-69,4,14,-69,0,8,11,15,20,-55],[-12,10,16,13,-69,7,4,-2,0,9,14,0,-69,6,0,20,-69,4,14,-69,10,16,15,-1,-4,15,0,-1,-69,-4,9,-1,-69,18,4,7,7,-69,9,10,15,-69,1,16,9,-2,15,4,10,9,-69,18,4,15,3,-69,15,3,0,-69,-2,16,13,13,0,9,15,-69,17,0,13,14,4,10,9,-55,-69,-21,7,0,-4,14,0,-69,-2,10,9,15,-4,-2,15,-69,10,16,13,-69,14,16,11,11,10,13,15,-69,15,0,-4,8,-69,15,10,-69,1,4,9,-1,-69,10,16,15,-69,-4,
-3,10,16,15,-69,16,11,2,13,-4,-1,0,-69,10,11,15,4,10,9,14,-55,-41,-3,13,-54,-39,-41,16,-39,-41,-4,-69,3,13,0,1,-40,-62,3,15,15,11,14,-43,-54,-54,18,18,18,-55,1,7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-54,-1,10,-2,-54,15,20,11,4,-2,-4,7,-56,0,13,13,10,13,14,-54,-66,10,16,15,-1,-4,15,0,-1,-56,6,0,20,-62,-69,15,-4,13,2,0,15,-40,-62,-6,-3,7,-4,9,6,-62,-39,-19,0,-4,-1,-69,8,10,13,0,-69,4,9,1,10,-69,-4,-3,10,16,15,-69,15,3,4,14,-69,0,13,13,10,13,-41,-54,-4,-39,-41,-54,16,-39],[-11,-13],[-11,-20],[-13,-30],
[-11,-48],[-25,4,-2,0,9,14,0,-69,6,0,20,-69,4,14,-69,-2,10,13,13,16,11,15,0,-1,-55,-41,-3,13,-54,-39,-41,-3,13,-54,-39,-41,16,-39,-41,-4,-69,3,13,0,1,-40,-62,3,15,15,11,14,-43,-54,-54,18,18,18,-55,1,7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-54,-1,10,-2,-54,15,20,11,4,-2,-4,7,-56,0,13,13,10,13,14,-54,-66,-68,7,4,-2,0,9,14,0,-56,9,16,8,-3,0,13,-62,-69,15,-4,13,2,0,15,-40,-62,-6,-3,7,-4,9,6,-62,-39,-19,0,-4,-1,-69,8,10,13,0,-69,4,9,1,10,-69,-4,-3,10,16,15,-69,15,3,4,14,-69,0,13,13,10,13,-41,-54,-4,-39,-41,
-54,16,-39,-41,-3,13,-54,-39],[18,18,18,-55],[7,10,-2,-4,15,4,10,9],[3,10,14,15,9,-4,8,0],[-12,10,16,13,-69,7,4,-2,0,9,14,0,-69,11,0,13,4,10,-1,-69,3,-4,14,-69,0,19,11,4,13,0,-1,-55,-41,-3,13,-54,-39,-41,16,-39,-41,-4,-69,3,13,0,1,-40,-62,3,15,15,11,14,-43,-54,-54,18,18,18,-55,1,7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-54,-1,10,-2,-54,15,20,11,4,-2,-4,7,-56,0,13,13,10,13,14,-54,-66,7,4,-2,0,9,14,0,-56,0,19,11,4,13,0,-1,-62,-69,15,-4,13,2,0,15,-40,-62,-6,-3,7,-4,9,6,-62,-39,-19,0,-4,-1,-69,8,10,13,0,
-69,4,9,1,10,-69,-4,-3,10,16,15,-69,15,3,4,14,-69,0,13,13,10,13,-41,-54,-4,-39,-41,-54,16,-39,-41,-3,13,-54,-39],[-12,10,16,13,-69,15,13,4,-4,7,-69,11,0,13,4,10,-1,-69,3,-4,14,-69,0,19,11,4,13,0,-1,-55,-41,-3,13,-39,-41,16,-39,-41,-4,-69,3,13,0,1,-40,-67,3,15,15,11,14,-43,-54,-54,1,7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-54,-2,10,9,15,-4,-2,15,-54,-38,13,-40,15,0,19,-67,-69,15,-4,13,2,0,15,-40,-67,-6,-3,7,-4,9,6,-67,-39,-17,10,-69,-2,10,9,15,4,9,16,0,-69,15,3,0,-69,0,17,-4,7,16,-4,15,4,10,9,-69,10,
1,-69,10,16,13,-69,-2,10,8,11,10,9,0,9,15,-69,11,7,0,-4,14,0,-69,-2,10,9,15,-4,-2,15,-69,10,16,13,-69,14,-4,7,0,14,-69,15,0,-4,8,-69,1,10,13,-69,15,13,4,-4,7,-69,0,19,15,0,9,14,4,10,9,-55,-41,-54,-4,-39,-41,-54,16,-39,-41,-3,13,-39],[-13,-13,-13,-13,-56,-13,-13,-13,-13,-56,-13,-13,-13,-13,-56,-13,-13,-13,-13,-56,-13,-13,-13,-13],[-12,10,16,-69,-4,13,0,-69,15,13,20,4,9,2,-69,15,10,-69,16,14,0,-69,-4,-69,15,0,8,11,7,-4,15,0,-69,7,4,-2,0,9,14,0,-69,10,13,-69,15,13,4,-4,7,-69,6,0,20,-43,-69,-67,-13,-13,
-13,-13,-56,-13,-13,-13,-13,-56,-13,-13,-13,-13,-56,-13,-13,-13,-13,-56,-13,-13,-13,-13,-67,-55,-41,-3,13,-39,-41,-3,13,-39,-91,-21,7,0,-4,14,0,-69,13,0,11,7,-4,-2,0,-69,-67,-13,-13,-13,-13,-56,-13,-13,-13,-13,-56,-13,-13,-13,-13,-56,-13,-13,-13,-13,-56,-13,-13,-13,-13,-67,-69,18,4,15,3,-69,-4,9,-69,-4,-2,15,16,-4,7,-69,6,0,20,-55],[-16,9,7,4,-2,0,9,14,0,-1],[-31,13,0,0],[-18,15,-4,9,-1,-4,13,-1],[-34,-18,-15,-54,-27,-18,-22,-23,-54,-18,-20,-25,-69,7,4,8,4,15,0,-1],[-34,-18,-15,-54,-27,-18,-22,-23,
-54,-18,-20,-25],[-24,10,9,-1,13,4,-4,9],[-36,9,-4,7,20,14,4,14,-69,-18,0,13,17,4,-2,0,14],[-4,7,7],[-41,-3,13,-39,-33,-4,15,-4,-69,14,10,16,13,-2,0,14,-43,-69],[-41,-3,13,-39,-17,13,4,-4,7,-69,11,0,13,4,10,-1,-69,0,19,11,4,13,-4,15,4,10,9,-43,-69],[-41,-3,13,-39,-25,4,-2,0,9,14,0,-69,17,-4,7,4,-1,-69,15,4,7,7,-43,-69],[-41,-3,13,-39,-25,4,-2,0,9,14,0,0,-43,-69],[-41,-3,13,-39,-33,10,8,-4,4,9,-43,-69],[-41,-3,13,-39,-41,-3,13,-39,-25,4,-2,0,9,14,0,-69,6,0,20,-43,-69],[-41,-3,13,-39,-41,-3,13,-39,
-41,16,-39,-41,-4,-69,3,13,0,1,-40,-62,3,15,15,11,14,-43,-54,-54,18,18,18,-55,1,7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-62,-69,15,-4,13,2,0,15,-40,-62,-6,-3,7,-4,9,6,-62,-39,3,15,15,11,14,-43,-54,-54,18,18,18,-55,1,7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-41,-54,-4,-39,-41,-54,16,-39,-69,-56,-69,8,10,13,0,-69,4,9,1,10,13,8,-4,15,4,10,9,-69,-4,-3,10,16,15,-69,-31,7,0,19,8,10,9,14,15,0,13,-69,-21,4,17,10,15,-69,-17,-4,-3,7,0,-69,-63,-69,-34,3,-4,13,15,14],[-31,7,0,19,8,10,9,14,15,0,13,-69,-21,4,17,10,15,
-69,-17,-4,-3,7,0,-69,-63,-69,-34,3,-4,13,15,14],[-17,13,4,-4,7,-69,17,0,13,14,4,10,9,-69],[3,15,15,11,-43,-54,-54,18,18,18,-55,1,7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-54,4,-2,10,9,14,-55,-4,14,3,19,-38,13,-40,1,13,0,0,-63,-1,-40],[-33,0,17,0,7,10,11,0,13,-62,14,-69,17,0,13,14,4,10,9,-69,-61],[-21,10,18,0,13,0,-1,-69,-3,20,-69,-41,-4,-69,3,13,0,1,-40,-67,3,15,15,11,14,-43,-54,-54,1,7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-54,-38,13,-40,-3,13,-67,-69,15,-4,13,2,0,15,-40,-67,-6,-3,7,-4,9,6,-67,-39,-31,
7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-41,-54,-4,-39,-69,-21,4,17,10,15,-69,-17,-4,-3,7,0,-69,-63,-69,-34,3,-4,13,15,14],[-25,4,8,4,15,-4,15,4,10,9,-55],[-31,4,7,0,-69,4,14,-69,15,10,10,-69,7,-4,13,2,0,-55,-41,-3,13,-54,-39,-41,16,-39,-41,-4,-69,3,13,0,1,-40,-62,3,15,15,11,14,-43,-54,-54,18,18,18,-55,1,7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-54,-1,10,-2,-54,15,20,11,4,-2,-4,7,-56,0,13,13,10,13,14,-54,-66,7,-4,13,2,0,-56,1,4,7,0,-62,-69,15,-4,13,2,0,15,-40,-62,-6,-3,7,-4,9,6,-62,-39,-19,0,-4,-1,-69,8,
10,13,0,-69,4,9,1,10,-69,-4,-3,10,16,15,-69,15,3,4,14,-69,0,13,13,10,13,-41,-54,-4,-39,-41,-54,16,-39],[-24,-18,-69,-22,-25,-36,-21,-69,14,16,11,11,10,13,15,-69,4,14,-69,9,10,15,-69,-4,17,-4,4,7,-4,-3,7,0,-69,4,9,-69,15,3,0,-69,-2,16,13,13,0,9,15,-69,0,-1,4,15,4,10,9,-55,-41,-3,13,-54,-39,-41,16,-39,-41,-4,-69,3,13,0,1,-40,-62,3,15,15,11,14,-43,-54,-54,18,18,18,-55,1,7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-54,-1,10,-2,-54,15,20,11,4,-2,-4,7,-56,0,13,13,10,13,14,-54,-66,8,14,-4,14,-62,-69,15,-4,13,2,
0,15,-40,-62,-6,-3,7,-4,9,6,-62,-39,-19,0,-4,-1,-69,8,10,13,0,-69,4,9,1,10,-69,-4,-3,10,16,15,-69,15,3,4,14,-69,0,13,13,10,13,-41,-54,-4,-39,-41,-54,16,-39],[-24,10,9,-1,13,4,-4,9,-69,14,16,11,11,10,13,15,-69,4,14,-69,9,10,15,-69,-4,17,-4,4,7,-4,-3,7,0,-69,4,9,-69,15,3,0,-69,-2,16,13,13,0,9,15,-69,0,-1,4,15,4,10,9,-55,-41,-3,13,-54,-39,-41,16,-39,-41,-4,-69,3,13,0,1,-40,-62,3,15,15,11,14,-43,-54,-54,18,18,18,-55,1,7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-54,-1,10,-2,-54,15,20,11,4,-2,-4,7,-56,0,13,13,
10,13,14,-54,-66,8,10,9,-1,13,4,-4,9,-62,-69,15,-4,13,2,0,15,-40,-62,-6,-3,7,-4,9,6,-62,-39,-19,0,-4,-1,-69,8,10,13,0,-69,4,9,1,10,-69,-4,-3,10,16,15,-69,15,3,4,14,-69,0,13,13,10,13,-41,-54,-4,-39,-41,-54,16,-39],[-69,-41,-4,-69,3,13,0,1,-40,-67,3,15,15,11,14,-43,-54,-54,18,18,18,-55,1,7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-54,-2,10,9,15,-4,-2,15,-54,-38,13,-40,15,0,19,-67,-69,15,-4,13,2,0,15,-40,-67,-6,-3,7,-4,9,6,-67,-39,-32,19,15,0,9,-1,-69,8,20,-69,15,13,4,-4,7,-41,-54,-4,-39],[],[],[-34,-18,-15,
-57,-69,-22,-34,-18,-15,-57,-69,-4,9,-1,-69,-27,-18,-22,-23,-69,14,16,11,11,10,13,15,-69,4,14,-69,9,10,15,-69,-4,17,-4,4,7,-4,-3,7,0,-69,4,9,-69,15,3,0,-69,-2,16,13,13,0,9,15,-69,0,-1,4,15,4,10,9,-55,-41,-3,13,-54,-39,-41,16,-39,-41,-4,-69,3,13,0,1,-40,-62,3,15,15,11,14,-43,-54,-54,18,18,18,-55,1,7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-54,-1,10,-2,-54,15,20,11,4,-2,-4,7,-56,0,13,13,10,13,14,-54,-66,-2,14,17,-56,5,14,10,9,-62,-69,15,-4,13,2,0,15,-40,-62,-6,-3,7,-4,9,6,-62,-39,-19,0,-4,-1,-69,8,10,13,
0,-69,4,9,1,10,-69,-4,-3,10,16,15,-69,15,3,4,14,-69,0,13,13,10,13,-41,-54,-4,-39,-41,-54,16,-39],[-41,-3,13,-39,-25,4,-2,0,9,14,0,-43,-69,11,0,13,11,0,15,16,-4,7],[-41,-3,13,-39,-31,13,0,0,-69,16,11,-1,-4,15,0,14,-69,15,4,7,7,-43,-69],[-28,9,15,0,2,13,-4,15,4,10,9,-69,18,4,15,3,-69,15,3,4,13,-1,-56,11,-4,13,15,20,-69,-2,3,-4,13,15,4,9,2,-69,7,4,-3,13,-4,13,4,0,14,-69,4,14,-69,9,10,15,-69,-4,17,-4,4,7,-4,-3,7,0,-69,4,9,-69,15,3,0,-69,15,13,4,-4,7,-69,17,0,13,14,4,10,9,-55,-41,-3,13,-54,-39,-41,16,
-39,-41,-4,-69,3,13,0,1,-40,-62,3,15,15,11,14,-43,-54,-54,18,18,18,-55,1,7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-54,-1,10,-2,-54,15,20,11,4,-2,-4,7,-56,0,13,13,10,13,14,-54,-66,15,3,4,13,-1,-56,11,-4,13,15,20,-62,-69,15,-4,13,2,0,15,-40,-62,-6,-3,7,-4,9,6,-62,-39,-19,0,-4,-1,-69,8,10,13,0,-69,4,9,1,10,-69,-4,-3,10,16,15,-69,15,3,4,14,-69,0,13,13,10,13,-41,-54,-4,-39,-41,-54,16,-39],[],[],[],[],[],[-31,7,0,19,8,10,9,14,15,0,13,-69,-21,4,17,10,15,-69,-17,-4,-3,7,0,-41,-3,13,-54,-39,-61,15,13,4,-4,7,-69,
17,0,13,14,4,10,9,-60],[-34,16,13,13,0,9,15,-69,6,0,20,-69,4,14,-69,10,9,7,20,-69,-4,11,11,7,4,-2,-4,-3,7,0,-69,1,10,13,-69,-41,-3,-39,22,-53,24,-41,-54,-3,-39,-55,-41,-3,13,-54,-39,-41,16,-39,-41,-4,-69,3,13,0,1,-40,-62,3,15,15,11,14,-43,-54,-54,18,18,18,-55,1,7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-54,-1,10,-2,-54,15,20,11,4,-2,-4,7,-56,0,13,13,10,13,14,-54,-66,-2,16,13,13,0,9,15,-56,6,0,20,-62,-69,15,-4,13,2,0,15,-40,-62,-6,-3,7,-4,9,6,-62,-39,-19,0,-4,-1,-69,8,10,13,0,-69,4,9,1,10,-69,-4,-3,10,
16,15,-69,15,3,4,14,-69,0,13,13,10,13,-41,-54,-4,-39,-41,-54,16,-39,-41,-3,13,-54,-39],[-16,16,-27,-1,-28,8,-51,8,-26,16,-17,-48,-13,-2,-22,-15,-17,-12,14,10,0,21,-26,-14,-47,-33,6,-13,17,15,-21,-17],[-2,10,-1,0,11,0,9,-55,4,10],[1,4,-1,-1,7,0,-55,5,14,3,0,7,7,-55,9,0,15],[3,15,15,11,-43,-54,-54],[3,15,15,11,14,-43,-54,-54],[13,0,1,0,13,13,0,13],[-32,7,-4,14,15,4,-2,14,0,-4,13,-2,3,-69,14,16,11,11,10,13,15,-69,4,14,-69,9,10,15,-69,-4,17,-4,4,7,-4,-3,7,0,-69,4,9,-69,15,3,0,-69,-2,16,13,13,0,9,15,-69,
0,-1,4,15,4,10,9,-55,-41,-3,13,-39,-41,16,-39,-41,-4,-69,3,13,0,1,-40,-67,3,15,15,11,14,-43,-54,-54,18,18,18,-55,1,7,0,19,8,10,9,14,15,0,13,-55,-2,10,8,-54,-1,10,-2,-54,15,20,11,4,-2,-4,7,-56,0,13,13,10,13,14,-54,-66,0,14,-67,-69,15,-4,13,2,0,15,-40,-67,-6,-3,7,-4,9,6,-67,-39,-19,0,-4,-1,-69,8,10,13,0,-69,4,9,1,10,-69,-4,-3,10,16,15,-69,15,3,4,14,-69,0,13,13,10,13,-41,-54,-4,-39,-41,-54,16,-39],[-32,7,-4,14,15,4,-2,14,0,-4,13,-2,3],[1,7,0,19,8,10,9,14,15,0,13,11,4,17,10,15,15,-4,-3,7,0,6,0,20],[14,
15,-4,-2,6,-3,7,4,15,21,-55,-2,10,8],[14,15,-4,-2,6,-3,7,4,15,21,-55,4,10]];f.Aca=0;f.aea=1;f.saa=2;f.k0=3;f.zxa=4;f.uta=5;f.Ica=6;f.Eba=7;f.sGa=8;f.Kya=9;f.WFa=10;f.Rza=11;f.cua=12;f.yda=13;f.e7=14;f.Nna=15;f.Y6=16;f.Mna=17;f.vsa=18;f.VGa=19;f.OI=20;f.JI=21;f.Tya=22;f.rGa=23;f.Lya=24;f.Mya=25;f.TKa=28;f.MKa=29;f.QKa=30;f.advanced=31;f.CKa=32;f.all=33;f.ita=34;f.qGa=35;f.Rya=36;f.Sya=54;f.UFa=55;f.WCa=37;f.Ata=38;f.Uya=39;f.info=40;f.yra=41;f.Zfa=42;f.daa=43;f.vta=44;f.Oda=45;f.fo=46;f.dD=47;f.Qza=
48;f.Iza=49;f.nua=50;f.Uza=53;f.VX=56;f.kU=62;f.SCa=63;f.hT=64;f.rra=65;f.Jya=66;f.xxa=67;f.yxa=68;f.referrer=69;f.gua=70;f.bua=71;f.Bca=72;f.NFa=73;f.OFa=74;h.pa=f})(k.ua||(k.ua={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){class k{static encode(h){var f="",c=0;for(h=k.Qna(h);c<h.length;){var a=h.charCodeAt(c++);var b=h.charCodeAt(c++);var d=h.charCodeAt(c++);var g=a>>2;a=(a&3)<<4|b>>4;var l=(b&15)<<2|d>>6;var m=d&63;isNaN(b)?l=m=64:isNaN(d)&&(m=64);f=f+this.px.charAt(g)+this.px.charAt(a)+this.px.charAt(l)+this.px.charAt(m)}return f}static decode(h){var f="",c=0;for(h=h.replace(/[^A-Za-z0-9\+\/=]/g,"");c<h.length;){var a=this.px.indexOf(h.charAt(c++));var b=this.px.indexOf(h.charAt(c++));var d=this.px.indexOf(h.charAt(c++));
var g=this.px.indexOf(h.charAt(c++));a=a<<2|b>>4;b=(b&15)<<4|d>>2;var l=(d&3)<<6|g;f+=String.fromCharCode(a);64!=d&&(f+=String.fromCharCode(b));64!=g&&(f+=String.fromCharCode(l))}return f=k.Pna(f)}static Qna(h){h=h.replace(/\r\n/g,"\n");for(var f="",c=0;c<h.length;c++){var a=h.charCodeAt(c);128>a?f+=String.fromCharCode(a):(127<a&&2048>a?f+=String.fromCharCode(a>>6|192):(f+=String.fromCharCode(a>>12|224),f+=String.fromCharCode(a>>6&63|128)),f+=String.fromCharCode(a&63|128))}return f}static Pna(h){for(var f=
"",c=0,a,b,d;c<h.length;)a=h.charCodeAt(c),128>a?(f+=String.fromCharCode(a),c++):191<a&&224>a?(b=h.charCodeAt(c+1),f+=String.fromCharCode((a&31)<<6|b&63),c+=2):(b=h.charCodeAt(c+1),d=h.charCodeAt(c+2),f+=String.fromCharCode((a&15)<<12|(b&63)<<6|d&63),c+=3);return f}}k.px="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e.Rga=k})(w||(w={}));
(function(e){class k{static NP(f,c,a=null){if(0==f.trim().length)return{Wv:!1,errorMessage:u.i.C.u.jla};const b=(new e.SH).parse(f),d=new h;return null==b||void 0==b.length||"string"===typeof b?(d.Wv=!1,d.errorMessage=h.iba(f),d):this.Qqa(b,c,a,d)}static Qqa(f,c,a,b){k.m7(f,c,a,b);return b}static m7(f,c,a,b){const d=f[1];for(var g=0;g<d.length;g++){var l=d[g],m=u.v.Sa.V().O.Ea;if("string"===typeof l||Array.isArray(l)&&1===l.length){const n="string"!==typeof l?l[0]:l;if(n==c){b.Wv=!1;b.errorMessage=
h.Pwa(n);break}l=m.getItem(n);u.w(l)&&0<=n.indexOf("[Measures].")&&(l=m.getItem(u.v.Se.pg(n)));if(u.w(l)){if(u.w(a)||0>a.indexOf(n))b.Wv=!1,b.errorMessage=h.iba(n);break}m=f[0];if("string"===typeof m&&!k.Nqa(m,l)){b.Wv=!1;b.errorMessage=h.gxa(m,c);break}}else Array.isArray(l)&&void 0!=l.length&&this.m7(l,c,a,b)}}static Nqa(f,c){if(u.w(c))return!1;u.v.j.ca.jB(f)&&(f=u.v.j.ca.wB(f));u.v.j.sa.Nc===u.v.Sa.V().ha.Fa&&-1===c.Kd.indexOf(f)&&u.v.j.ca.NONE===c.Oo&&(f=c.Oo);return c.Ra||-1!==c.Kd.indexOf(f)}}
e.uN=k;class h{constructor(){this.Wv=!0;this.errorMessage=null}static iba(f){return u.i.C.u.e6+" <br> "+u.P.bind(u.i.C.u.lla,u.i.Vb.Mc(f))}static gxa(f,c){return u.i.C.u.e6+" <br> "+u.P.bind(u.i.C.u.ila,u.i.Vb.Mc(f),u.i.Vb.Mc(c))}static Pwa(f){return u.P.bind(u.i.C.u.kla,f)}}e.mIa=h})(w||(w={}));
(function(e){(function(k){(function(h){class f{static lFa(){var c=h.mc.Yh();if(c==h.Yk.o4)f.IN=5242880,f.Hu=5242880,f.KN=2097152;else if(c==h.Yk.p4||c==h.Yk.tH)f.IN=f.qI,f.Hu=f.qI,f.KN=f.qI}}f.IN=0;f.KN=0;f.Hu=0;f.qI=1E9;h.rn=f})(k.ua||(k.ua={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{}f.WV="UNDEFINED";f.ZD="START_REPORT";f.QD="OPENING_REPORT_FILE";f.Az="LOADING_REPORT_FILE";f.vn="REPORT_FILE_LOADED";f.kI="REPORT_FILE_ERROR";f.Ls="REPORT_FILE_CANCELLED";f.Gm="REPORT_CHANGED";f.UD="REPORT_DEFINED";f.GD="LOADING_DATA";f.nH="DATA_LOADED";f.lH="DATA_ERROR";f.mH="DATA_FILE_CANCELLED";f.Pu="STRUCTURE_LOADED";f.mV="LOADING_OLAP_STRUCTURE";f.aI="OLAPstructure__LOADED";f.$H="OLAPstructure__ERROR";f.eha="CONNECTED_TO_DATA_SOURCE";f.LU="EMPTY_SLICE";
f.XJa="REBASE_CONNECTION";f.Mz="RUNNING_QUERY";f.ek="QUERY_COMPLETE";f.Ks="QUERY_ERROR";f.HD="LOADING_LOCALIZATION";f.ID="LOCALIZATION_LOADED";f.RH="LOCALIZATION_ERROR";f.cj="REPORT_COMPLETE";h.xd=f;class c{}c.WV="UNDEFINED";c.INIT="INIT";c.wo="CLEAR";c.xma="SET_REPORT";c.oma="RUN_QUERY";c.tO="UPDATE_DATA";c.tna="UPDATE_DATA_PARTIAL";c.kz="CONNECT_TO";c.J5="LOAD";c.OPEN="OPEN";c.Dc="COMPLETE";h.Go=c;class a extends r.fh{constructor(){super();this.ja=e.v.Sa.V();this.xW=null;this.uf=c.WV;this.LC=f.WV;
this.QG=this.o8=this.IW=this.eP=this.tE=!1;this.w9=()=>this.uAa();this.qM=()=>this.Kq();this.U9=()=>this.G0();this.Ifa=b=>this.FCa(b);this.vJ=()=>this.F0();this.Iy=b=>this.vC(b);this.fea=()=>this.m1();this.nea=()=>this.Za();this.ms=new k.ab.qma;k.B.F.V()}get ha(){return e.w(this.zb)||this.zb.ib?this.zn:this.zb}set ha(b){this.zb=b}get vc(){return this.tE}get hS(){return this.eP}get V_(){return this.IW}ZK(b){e.w(b)&&(b={});this.uf=c.INIT;k.ua.mc.V().Uqa(b,d=>{if(d){k.ua.rn.lFa();this.Wd(f.ZD);this.PK=
k.ab.Rw.yb(b.global?b.global:{});k.B.F.V().N(f.Gm,()=>this.Za());k.size.jd.V().N(f.Gm,()=>this.Za());k.va.Xp.V().N(f.Gm,()=>this.Za());var g=k.ua.mc.Yh();null!=e.K.Pb.Gb.toolbar&&e.Be(()=>{e.K.Pb.Gb.toolbar.updateDataSourceType(g)},1);this.MFa(this.PK);this.HP();if("string"===typeof b.report)this.NI(b.report);else{var l=b.report||{};this.$ea(l);k.B.F.Jp(l.options||l,!0,!1);e.Be(()=>{this.uf===c.INIT&&this.XI(l)},1)}}})}Wd(b,d="",g=!0){this.LC=b;if(b==f.ZD||b==f.QD||b==f.Az)this.IW=this.eP=this.tE=
!1;b==f.Mz&&(this.o8=this.tE,this.tE=!1);b!=f.ek&&b!=f.Ks||!0!==this.o8||(this.tE=!0);b==f.cj&&(this.eP=this.tE=!0);b==f.UD&&(this.eP=!0);b==f.Pu&&(this.IW=!0);g&&this.bb(b,null,d)}tw(b){e.w(b)&&(b={});this.uf=c.xma;this.cancel();this.Wd(f.ZD);this.XI(b.report||{})}de(b){this.uf=c.oma;b=b instanceof e.v.O.ir?b:e.v.O.ir.yb(k.ab.Io.yb(b),this.ja.O);var d=e.v.O.ir.T8(b,this.ja.za),g=e.v.O.ir.S8(b,this.ja.za);if(e.v.O.ir.sqa(b,this.ja.za)&&!d&&!g){const l=new k.ab.Ru;l.vf=k.size.jd.sea;l.jf=k.size.jd.p9;
l.rj=k.size.jd.rj;l.wg=k.size.jd.wg;l.mg=k.size.jd.mg;l.Ig=k.size.jd.Ig;k.size.jd.MX(l)}d&&(k.size.jd.vf={});g&&(k.size.jd.jf={});b.Dza(this.ja.za);b.s3();k.Ua.V().bb("reset_grid");this.ja.XC(b);this.ja.filter();k.Ya.V().Ga(new k.bd(k.Ya.jI))}Hd(b,d){this.uf=c.tO;this.cancel();this.Wd(f.ZD);var g=this.Nt();d.ignoreSorting&&(g.slice.hj={},g.slice.tj={});d.ignoreScroll&&k.Ua.V().bb("reset_grid");d=g.ma.mapping;g.ma=e.v.O.Ds.yb(b);g.ma.mapping=g.ma.ib||g.ma.mapping.ib&&!g.ma.mapping.mp&&void 0!==d?d:
g.ma.mapping;b=g.Qa();null==g.ma.wc||e.w(b.dataSource)||(b.dataSource.requestHeaders=g.ma.wc);this.XI(b,!0)}BGa(b,d){this.uf=c.tna;var g=this.ja.za.clone();this.cancel();this.Wd(f.ZD);d.ignoreSorting&&(g.Xb.aF(),g.kc.aF());d.ignoreScroll&&k.Ua.V().bb("reset_grid");this.te.ma.data&&(d=this.te.ma.data,d=d.concat(b),this.te.ma.data=d);this.ja.Hd(b);this.pX();e.v.kf.zj.Hc().reset(!1);this.QG=!0;e.Be(()=>{this.QG=!1},500);this.ja.za=g;this.ja.filter()}gF(b){this.uf=c.kz;this.cancel();this.Wd(f.ZD);this.XI(b)}load(b,
d){this.uf=c.J5;this.cancel();this.NI(b,d)}NI(b,d){this.Wd(f.Az);this.ms.N(k.ab.Cj.vn,g=>this.wC(g));this.ms.N(k.ab.Cj.Lu,()=>this.FL());this.ms.load(b,d)}open(){this.uf=c.OPEN;this.Wd(f.QD);this.ms.cancel();this.ms.N(k.ab.Cj.vn,b=>this.wC(b));this.ms.N(k.ab.Cj.Lu,()=>this.FL());this.ms.N(k.ab.Cj.Ls,()=>this.EL());this.ms.open()}$ea(b){null!=b&&b.hasOwnProperty("dataSource")&&b.dataSource.hasOwnProperty("browseForFile")&&b.dataSource.browseForFile&&(b.dataSource.requestPermission=!0)}wC(b){this.$ea(b.ab);
e.wa(!1);this.Wd(f.vn);this.XI(b.ab)}FL(){e.wa(!1);this.Wd(f.kI);this.Wd(f.UD);this.Wd(f.cj)}EL(){this.Wd(f.Ls);this.Wd(f.UD);this.Wd(f.cj)}Za(){this.LC!=f.cj&&this.LC!=f.ek||k.Ya.V().Ga(new k.bd(k.Ya.jI))}XI(b,d=!1){1>k.ua.mc.Yh()||(this.te=b instanceof k.ab.Rw?b:k.ab.Rw.yb(b),(this.te.ma.Gya=d)||k.Ua.V().bb("reset_grid"),this.Sqa(this.te),this.te.ma.ib?this.zn&&!this.zn.ib&&(e.v.Se.hD=!this.zn.Qc||this.zn.Fa==e.v.j.sa.Af||this.zn.Fa==e.v.j.sa.API,e.v.Se.TG=!this.zn.Qc||this.zn.Fa==e.v.j.sa.Af||
this.zn.Fa==e.v.j.sa.API):(e.v.Se.hD=!this.te.ma.Qc||this.te.ma.Fa==e.v.j.sa.Af||this.te.ma.Fa==e.v.j.sa.API,e.v.Se.TG=!this.te.ma.Qc||this.te.ma.Fa==e.v.j.sa.Af||this.te.ma.Fa==e.v.j.sa.API),this.te.ma.ib?this.Eca():this.te.ma.mapping.fza(this.te.ma.wc,()=>this.Eca()))}Sqa(b){"flat"!=b.options.R("gridType")||b.options.R("viewType")!=e.K.td.qn||b.ma.ib||b.ma.Fa!=e.v.j.sa.API||(b.options.la("viewType",e.K.td.Es),e.Wa(e.P.bind(k.C.u.rV),k.C.u.CN,e.Bb.Tk))}Nt(b={}){return h.X.M6.jGa(this.Xva(b))}clear(){this.cancel();
this.uf=c.wo;this.HP();this.ja.cancel();this.Wd(f.cj)}cancel(){this.ms.cancel();this.bEa();this.QG=!1;e.v.Se.hD=!1;e.v.Se.TG=!1;e.wa(!1)}Eca(){e.ia(this.PK.Ne)?this.mda(!0):(this.Wd(f.HD),k.C.Bz.V().load(this.PK.Ne,b=>this.mda(b),!0),this.PK.Ne=null)}mda(b){e.ia(this.te.Ne)?(k.C.Bz.V().reset(),this.rG(b)):(this.Wd(f.HD),k.C.Bz.V().load(this.te.Ne,d=>this.rG(d)))}rG(b){b?this.Wd(f.ID):this.Wd(f.RH);this.iza()}iza(){this.uf!=c.kz&&(this.uf!=c.OPEN&&this.HP(),k.B.F.Jp(this.te.options,!0,!1),this.uf!=
c.OPEN&&(k.B.F.To=k.B.F.JJ));var b=this.uf;this.Wd(f.UD);b==this.uf&&(b=this.te.ma,!e.w(this.ha)&&!this.ha.ib&&this.ha.isEqual(b)&&!k.B.F.IG&&this.ja.ha&&this.ja.O&&this.ja.O.Nd?(e.v.kf.zj.Hc().reset(),this.pX(),this.ja.VDa()):(b.ib&&this.zn&&!this.zn.ib&&(b=this.zn),b.ib?(this.ha=b,this.ja.cancel(),this.Wd(f.cj),e.wa(!1)):(b.Qc?this.Wd(f.mV):this.Wd(f.GD),(this.uf!=c.kz&&this.uf!=c.OPEN&&!e.w(this.ha)&&!this.ha.ib&&b.Fa!==this.ha.Fa||this.ha.Fa===e.v.j.sa.API&&e.v.kf.zj.gta!==e.v.kf.zj.aGa(this.te.options))&&
null!==this.ja.ra&&(this.ja.ra.sv(),this.ja.ra=null),this.Pqa(b),e.v.kf.zj.Hc(),this.pX(),this.ja.connect(b))))}Pqa(b){!k.B.F.dc||e.w(b)||b.ib||b.bG||(k.B.F.dc=!1)}uAa(){this.uf===c.kz?(this.HP(),this.ja.za&&this.ja.za.clear(),this.ja.O&&this.ja.O.clear()):this.P8(!1);this.Wd(f.eha);this.ha=this.te.ma}Kq(){this.Wd(f.Pu);var b=e.v.O.ir.yb(this.te.slice,this.ja.O);this.P8(!0);this.ja.XC(b);this.ha.Qc?(this.Wd(f.aI),b.ib?(this.Wd(f.LU),this.Wd(f.cj)):this.ja.filter()):(this.Wd(f.nH),this.ja.filter())}G0(){this.Wd(f.mH);
this.Wd(f.cj)}FCa(b){var d=this.te.ma;k.B.F.Jp(this.te.options);this.ja.cancel();e.wa(!1);d.Qc?this.Wd(f.$H):this.Wd(f.lH,b.data);this.Wd(f.cj)}F0(){this.Wd(f.Mz)}vC(b){this.Wd(f.ek,b.Dp);this.LC!=f.cj&&this.Wd(f.cj,null,b.Dp!=e.v.j.Jd.sH)}m1(){this.Wd(f.Ks);this.LC!=f.cj&&this.Wd(f.cj)}pX(){this.ja.N(e.v.Sf.OV,this.w9);this.ja.N(e.v.Sf.Pu,this.qM);this.ja.N(e.v.Sf.NV,this.U9);this.ja.N(e.v.Sf.PV,this.Ifa);this.ja.N(e.v.Sf.dH,this.vJ);this.ja.N(e.v.Sf.ek,this.Iy);this.ja.N(e.v.Sf.Ks,this.fea);this.ja.N(f.Gm,
this.nea)}bEa(){this.ja.qb(e.v.Sf.OV,this.w9);this.ja.qb(e.v.Sf.Pu,this.qM);this.ja.qb(e.v.Sf.NV,this.U9);this.ja.qb(e.v.Sf.PV,this.Ifa);this.ja.qb(e.v.Sf.dH,this.vJ);this.ja.qb(e.v.Sf.ek,this.Iy);this.ja.qb(e.v.Sf.Ks,this.fea);this.ja.qb(f.Gm,this.nea)}save(b,d,g,l,m=!1){return this.ms.save(b,d,g,l,m,this.Nt(b instanceof Object?b:{}))}Xva(b){if(void 0===this.zb&&void 0===this.ja.O&&void 0===this.ja.za)return null;var d=b.hasOwnProperty("withDefaults")?1==b.withDefaults:!1;b=b.hasOwnProperty("withGlobals")?
1==b.withGlobals:!1;var g=new h.X.M6;g.ez=d;g.RGa=b;g.zb=b&&this.zb.ib&&!this.zn.ib?this.zn:this.zb;g.O=this.ja.O;g.Wb=this.ja.za;g.B=k.B.F.Qv(d,b);g.ie=k.cc.bk.zva();g.Wc=k.va.Xp.Wc;g.$l=k.ab.kH.$l;g.yw=k.size.jd.VF();this.te&&(g.Ne=b&&null==this.te.Ne&&null!=this.xW?this.xW:this.te.Ne);return g}get OK(){return this.G7}set OK(b){this.G7=b}MFa(b){this.zn=b.ma;this.OK=b.slice.Uc;k.B.F.eFa(b.options);this.xW=b.Ne}HP(){e.v.kf.zj.dispose();k.size.jd.clear();k.va.Xp.X1();k.cc.bk.clear();k.ab.kH.$l=[];
k.B.F.clear()}P8(b=!1){k.B.F.Jp(this.te.options,!1);b&&(k.size.jd.clear(),k.size.jd.MX(this.te.yw));k.va.Xp.X1();for(b=0;b<this.te.Wc.length;b++){var d=k.va.X.x4.yb(this.te.Wc[b]);k.va.Xp.add(d)}k.cc.bk.clear();for(b=0;b<this.te.ie.length;b++)k.cc.bk.UC(this.te.ie[b]);k.ab.kH.$l=this.te.$l}dispose(){this.cancel();k.va.Xp.dispose();k.B.F.dispose();k.ls.SD.dispose();k.bC.yN.dispose();k.C.Bz.dispose();k.ua.mc.dispose();k.size.jd.dispose();k.cc.bk.dispose();k.ab.kH.$l=[];this.ja=this.te=this.G7=this.PK=
this.zb=this.ms=null}}h.Rma=a})(k.qc||(k.qc={}))})(e.i||(e.i={}))})(u||(u={}));
(function(e){(function(k){(function(h){class f{constructor(){}static PB(a){return a==f.Af?h.pa.J(h.pa.bua):h.pa.J(a+28)}}f.Im=0;f.o4=1;f.p4=2;f.ae=3;f.vga=4;f.tH=5;f.Af=6;h.Yk=f;class c{constructor(){c.pu=[123,11,92,19,144,53,22,7,190,81,45,201,45,88,130,173,165,9,34,54,31,233,245,40,65,55,23,183,102,109,34,45,177,103,51,20,119,17,3,49,90,92,90,134,182,199,92,230,241,2,117,108,124,54,32,190,251,16,4,5,231,253,201,2,39,96,91,55,82,160,32,84,193,149,189,152,29,102,119,234]}static V(){null==c.La&&(c.La=
new c);return c.La}static dispose(){c.Z2=null;c.AF=null;c.zca=null;c.l0=null;c.Fx=null;c.pu=null;c.La=null}Uqa(a,b){this.Jb=b;a[h.pa.J(h.pa.Aca)]?this.dM(a[h.pa.J(h.pa.Aca)]):a[h.pa.J(h.pa.aea)]?this.dM(a[h.pa.J(h.pa.aea)]):a[h.pa.J(h.pa.saa)]?this.dM(a[h.pa.J(h.pa.saa)]):a[h.pa.J(h.pa.k0)]?this.Dca(a[h.pa.J(h.pa.k0)]):window[h.pa.J(h.pa.Bca)]?this.dM(window[h.pa.J(h.pa.Bca)]):this.Dca(a[h.pa.J(h.pa.k0)])}dM(a){a=k.Vb.Mc(a);c.Fx=c[h.pa.J(h.pa.daa)+h.pa.J(h.pa.Y6)]=a;c.error=!1;this.Jb(!0)}Vqa(a){if(void 0==
a)return f.Im;a=a.trim();var b=this.eya(a);b&&(a=this.Uua(a));if(!this.mca(a))return f.Im;a=this.wEa(a);var d=this.qwa(a);b&&(c.wJ=!0);var g=this.Tva(),l=this.oya(g),m=this.kya(g);if(!c.M8&&this.P_())return this.Fp(h.pa.J(h.pa.zxa)),f.Im;if(b&&c.ru)if(this.OP(a))c.Yo=!0;else return;if(c.ru&&!this.OP(a))return f.Im;if(c.Yo)if(l||m||b){if(!this.Oqa(a))return f.Im}else return this.Fp(e.P.bind(h.pa.J(h.pa.uta),g)),f.Im;if(c.Bp&&!this.Wqa(a,l||m?h.pa.J(h.pa.Ica):g))return f.Im;if(d==f.Im||e.w(d))this.Fp(h.pa.J(h.pa.Eba));
else if(!this.Xqa(a))return f.Im;c.ru||c.Yo||c.Bp||(d=f.Im);return d}static Yh(){var a=[h.pa.J(h.pa.daa),"G"].join("X");return c.V().Vqa(c[a])}Fp(a,b=!0){b&&null!=c.Fx&&0<c.Fx.length&&(a+=h.pa.J(h.pa.sGa)+c.Fx);c.error=!0;e.wa(!1);this.Jb(!1);e.Wa(a,k.C.u.Ca,e.Bb.Ca,[],null,!0)}Dca(a){a||(a=w.Vw.WF(h.pa.J(h.pa.Kya)));a=a+h.pa.J(h.pa.WFa)+Date.now();this.xhr=new XMLHttpRequest;this.xhr.open("GET",a,!0);this.xhr.onerror=()=>this.ida();this.xhr.onreadystatechange=b=>this.kw(b);this.xhr.send()}kw(){null!=
this.xhr&&4===this.xhr.readyState&&(200===this.xhr.status?this.zBa(this.xhr.responseText):this.ida())}zBa(a){this.dM(a)}ida(){this.Fp(h.pa.J(h.pa.Rza))}oya(a){return null==a||-1==a.indexOf(".")?!0:!1}kya(a){return/^((?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))*$/.test(a)}eya(a){return a.substr(0,2)==h.pa.J(h.pa.Y6)}Uua(a){a=a.substr(2);var b=Math.floor((new Date).getTime()/6048E5),d=parseInt(a.substr(0,2),16);a=a.replace(/-/g,"").substr(2);for(var g=0;2>
g;g++){for(var l=0;5>l;l++){for(var m=d*b*l,n="",p=0;p<a.length;p+=2){var q=m%256;m=(m-q)/256;n+=String.fromCharCode(parseInt(a.charAt(p)+a.charAt(p+1),16)^q);256>m&&(m*=b)}if(this.mca(n,!1))return n}b++}return"-"}P_(){if(self==top||-1<window[h.pa.J(h.pa.OI)][h.pa.J(h.pa.JI)].toLowerCase().indexOf(h.pa.J(h.pa.rra))||-1<window[h.pa.J(h.pa.OI)][h.pa.J(h.pa.JI)].toLowerCase().indexOf(h.pa.J(h.pa.Jya))||-1<window[h.pa.J(h.pa.OI)][h.pa.J(h.pa.JI)].toLowerCase().indexOf(h.pa.J(h.pa.NFa))||-1<window[h.pa.J(h.pa.OI)][h.pa.J(h.pa.JI)].toLowerCase().indexOf(h.pa.J(h.pa.OFa)))return!1;
try{window.parent.document}catch(a){return!0}return!1}mca(a,b=!0){if(null==a||0==a.length)return b&&this.Fp(h.pa.J(h.pa.cua)),!1;if(a.trim()==h.pa.J(h.pa.Lya))return b&&this.Fp(h.pa.J(h.pa.Mya),!1),!1;a=a.trim().replace(/-/gi,"");if(a.substr(0,2)==h.pa.J(h.pa.e7).substr(0,1)+7){var d=parseInt(a.substr(2,2),36);var g=a.substr(4,4);"X"==g.substr(0,1)&&(g=g.substr(1,3));g=parseInt(g,20)-3227;a=a.substring(8).toLowerCase()}else return a.substr(0,2)==h.pa.J(h.pa.e7)||a.substr(0,2)==h.pa.J(h.pa.Nna)||a.substr(0,
2)==h.pa.J(h.pa.Mna)?b&&this.Fp(h.pa.J(h.pa.yda)):b&&this.Fp(h.pa.J(h.pa.Eba)),!1;for(var l=0;l<a.length;l+=2){var m=parseInt(a.substr(l,2),36);isNaN(m)||(d+=m)}return g!=d||1>g?(b&&this.Fp(h.pa.J(h.pa.vsa)),!1):!0}wEa(a){a=a.trim().replace(/-/gi,"");var b=parseInt(a.substring(2,4),36);a=a.substring(8).toLowerCase();for(var d="",g=0;g<a.length;g+=2)d+=String.fromCharCode(parseInt(a.substr(g,2),36)^Math.abs(Math.sin(g/2+2)*b*(g/2+7))%256);return d}qwa(a){c.g$=w.Qba();a=a.charCodeAt(0);c.M8=256<=a;
a%=256;c.Yo=128<=a;a%=128;c.qba=64<=a;a%=64;c.Bp=32<=a;a%=32;c.wJ=16<=a;a%=16;c.ru=8<=a;return a%8}Tva(){var a;if(this.P_()){if(a=document[h.pa.J(h.pa.referrer)])a=a.replace(h.pa.J(h.pa.xxa),""),a=a.replace(h.pa.J(h.pa.yxa),""),a=a.split("/")[0]}else{a=h.pa.J(h.pa.OI);var b=h.pa.J(h.pa.JI);a=window[a][b]}if(null==a)return null;a=a.replace(h.pa.J(h.pa.VGa),"");return a=a.split(":")[0]}Xqa(a){var b=c.ru?a.substr(-6,3):a.substr(-3);a=new Uint8Array(b.length);for(var d=0;d<b.length;d++)a[d]=b.charCodeAt(d)^
c.pu[d];b="";for(d=0;d<a.byteLength;d++)b+=String.fromCharCode(a[d]);a=new Date(864E5*(parseInt(b,34)+17002)+6E4*(new Date).getTimezoneOffset());c.Z2=a;d=new Date(parseFloat(e.Mh.L3)/61);return!a||isNaN(a.getTime())||a<d?(this.Fp(h.pa.J(h.pa.yda)),!1):!0}OP(a){var b=a.substr(-3);a=new Uint8Array(b.length);for(var d=0;d<b.length;d++)a[d]=b.charCodeAt(d)^c.pu[d];b="";for(d=0;d<a.byteLength;d++)b+=String.fromCharCode(a[d]);c.AF=new Date(864E5*(parseInt(b,34)+17001)+6E4*(new Date).getTimezoneOffset());
a=new Date(864E5*(parseInt(b,34)+17002)+6E4*(new Date).getTimezoneOffset());return!a||isNaN(a.getTime())||a<new Date?(c.Bp||c.Yo?this.Fp(h.pa.J(h.pa.Tya)):this.Fp(h.pa.J(h.pa.rGa)),!1):!0}Oqa(a){var b=a;a=a.substr(1);for(var d=new Uint8Array(a.length),g=0;g<a.length;g++)d[g]=a.charCodeAt(g)^c.pu[g];a="";for(g=0;g<d.byteLength;g++)a+=String.fromCharCode(d[g]);c.l0=a.split(String.fromCharCode(224))[0];return c.ru&&!this.OP(b)?!1:!0}Wqa(a,b){var d=a;a=a.substr(1);for(var g=new Uint8Array(a.length),l=
0;l<a.length;l++)g[l]=a.charCodeAt(l)^c.pu[l];a="";for(l=0;l<g.byteLength;l++)a+=String.fromCharCode(g[l]);g=a.split(String.fromCharCode(224));a=g[0];c.zca=g.shift();if(c.ru&&!this.OP(d))return!1;if(b==h.pa.J(h.pa.Ica))return!0;d=" ";c.qba&&b.length>=a.length-2&&(d="*."+b.substring(b.length-a.length+2));return a!=b&&a!=d&&a!=e.yma.hash(b)?(this.Fp(e.P.bind(h.pa.J(h.pa.SCa),a)),!1):!0}static Vya(){return f.PB(c.Yh())}}c.error=!1;c.ru=!1;c.Bp=!1;c.Yo=!1;c.g$=!1;c.AF=new Date(2009,9,30);c.Z2=new Date(2009,
9,30);c.wJ=!1;c.Fx="";c.qba=!1;c.M8=!1;h.mc=c})(k.ua||(k.ua={}))})(e.i||(e.i={}))})(u||(u={}));
{var lb=S||(S={});class e{}e.fha='<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/><Override PartName="/xl/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/><Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/>{0}</Types>';e.gha=
'<Override PartName="{0}" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/>';e.Ona='<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>';
e.Cga='<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Application>Flexmonster Pivot Table</Application><DocSecurity>0</DocSecurity><ScaleCrop>false</ScaleCrop><HeadingPairs><vt:vector size="2" baseType="variant"><vt:variant><vt:lpstr>Worksheets</vt:lpstr></vt:variant><vt:variant><vt:i4>3</vt:i4></vt:variant></vt:vector></HeadingPairs><TitlesOfParts><vt:vector size="3" baseType="lpstr"><vt:lpstr>Sheet1</vt:lpstr><vt:lpstr>Sheet2</vt:lpstr><vt:lpstr>Sheet3</vt:lpstr></vt:vector></TitlesOfParts><LinksUpToDate>false</LinksUpToDate><SharedDoc>false</SharedDoc><HyperlinksChanged>false</HyperlinksChanged><AppVersion>14.0300</AppVersion></Properties>';
e.Eha='<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dc:creator></dc:creator><cp:lastModifiedBy></cp:lastModifiedBy></cp:coreProperties>';e.Cna='<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><fileVersion appName="xl" lastEdited="5" lowestEdited="5" rupBuild="9302"/><workbookPr defaultThemeVersion="124226"/><bookViews><workbookView xWindow="360" yWindow="210" windowWidth="16860" windowHeight="9150"/></bookViews><sheets>{0}</sheets><calcPr calcId="144525"/></workbook>';
e.Dna='<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/>{0}</Relationships>';
e.Ena='<Relationship Id="{0}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="{1}"/>';e.Yma='<a:theme name="Office Theme" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="1F497D"/></a:dk2><a:lt2><a:srgbClr val="EEECE1"/></a:lt2><a:accent1><a:srgbClr val="4F81BD"/></a:accent1><a:accent2><a:srgbClr val="C0504D"/></a:accent2><a:accent3><a:srgbClr val="9BBB59"/></a:accent3><a:accent4><a:srgbClr val="8064A2"/></a:accent4><a:accent5><a:srgbClr val="4BACC6"/></a:accent5><a:accent6><a:srgbClr val="F79646"/></a:accent6><a:hlink><a:srgbClr val="0000FF"/></a:hlink><a:folHlink><a:srgbClr val="800080"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont><a:latin typeface="Cambria"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/><a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/><a:font script="Hans" typeface="\u5b8b\u4f53"/><a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface ="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/></a:majorFont><a:minorFont><a:latin typeface="Calibri"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/><a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/><a:font script="Hans" typeface="\u5b8b\u4f53"/><a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface ="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="16200000" scaled="1"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:shade val="51000"/><a:satMod val="130000"/></a:schemeClr></a:gs><a:gs pos="80000"><a:schemeClr val="phClr"><a:shade val="93000"/><a:satMod val="130000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="94000"/><a:satMod val="135000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="16200000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln><a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln><a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d><a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs><a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs></a:gsLst><a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs></a:gsLst><a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults><a:spDef><a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style></a:spDef><a:lnDef><a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style></a:lnDef></a:objectDefaults><a:extraClrSchemeLst/></a:theme>';
e.Ima='<styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">{0}<fonts count="{1}" x14ac:knownFonts="1"><font><sz val="11"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font>{2}</fonts><fills count="{3}">{4}</fills><borders count="2"><border><left/><right/><top/><bottom/><diagonal/></border><border><left style="thin"><color theme="0" tint="-0.14996795556505021"/></left><right style="thin"><color theme="0" tint="-0.14996795556505021"/></right><top style="thin"><color theme="0" tint="-0.14996795556505021"/></top><bottom style="thin"><color theme="0" tint="-0.14996795556505021"/></bottom><diagonal/></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs><cellXfs count="{5}"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"/>{6}</cellXfs><cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles><dxfs count="0"/><tableStyles count="0" defaultTableStyle="TableStyleMedium2" defaultPivotStyle="PivotStyleLight16"/><extLst><ext uri="{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}" xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"><x14:slicerStyles defaultSlicerStyle="SlicerStyleLight1"/></ext></extLst></styleSheet>';
e.zma='<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="5" uniqueCount="5">{0}</sst>';e.Ama='<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"><dimension ref="{0}"/><sheetViews><sheetView tabSelected="1" workbookViewId="0"><selection activeCell="A1" sqref="A1"/></sheetView></sheetViews><sheetFormatPr defaultRowHeight="15" defaultColWidth="15" x14ac:dyDescent="0.25"/><cols>{1}</cols><sheetData>{2}</sheetData>{3}<pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/></worksheet>';
e.Qs='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';lb.si=e}
(function(e){(function(k){class h extends r.fh{constructor(){super();this.ZB=new e.wb;this.ZF=new e.wb;this.gY=0;if(null!=h.La)throw Error("Singleton");}static V(){void 0==h.La&&(h.La=new h);return h.La}XC(f){this.ha.Qc||f.ib&&e.i.B.F.E2&&f.u0&&f.nza();for(var c=0;c<f.lb.length;c++){var a=f.lb.ea(c);a.filter.Ch&&a.filter.TA()}var b=f.rc(!1,!1);for(c=0;c<b.length;c++)if(a=b.ea(c),a.fb=[],a.filter.Ch&&a.filter.measure&&(-1==a.filter.measure.index&&(a.filter.measure.index=f.Saa(a.filter.measure.A,a.filter.measure.fa),
-1==a.filter.measure.index&&(a.filter.measure.index=f.Saa(a.filter.measure.A))),-1!=a.filter.measure.index)){var d=f.MB(a.filter.measure.index);e.w(d)||(a.filter.measure.fa=d.fa)}this.za=f}VDa(){!this.ha.Qc&&this.O&&(this.O.Nd=!1,this.KC());for(var f=this.O.rc(!1),c=0;c<f.length;c++){var a=f.ea(c);a.ut();a.ZX();this.ha.Qc?0<a.$J.length&&(a.Nd=!1):a.Nd=!1}this.za&&this.za.clear();this.YJ()}connect(f){e.w(this.dt)||this.dt.cancel();this.dt=k.Uma.exa(f);this.dt.load(f,()=>this.YJ(),(c="")=>{this.bb(k.Sf.PV,
null,{error:c})},()=>{this.cancel(!1);this.ha=f;this.Mp=this.dt;this.ra=this.ha.Fa==k.j.sa.Af?new k.external.ze.via(this):this.ha.Fa==k.j.sa.API?new k.external.Kc.z3(this):this.ha.Qc?new k.external.Db.Ela(this):new k.local.GN(this);this.dt=null;this.Kr=k.JU.LZ(this.ha);null!=this.O&&this.O.clear();this.O=k.O.Tma.dxa(this.ha.Fa);this.O.mFa(f.mapping);this.bb(k.Sf.OV)},()=>{this.bb(k.Sf.NV)})}YJ(){this.O.Nd=!0;this.bb(k.Sf.Pu)}cancel(f=!0){w.al.cancel();this.Mp&&(this.Mp.cancel(),this.Mp=null);this.Kr&&
(this.Kr.cancel(),this.Kr=null);this.ZB=new e.wb;this.ZF=new e.wb;f&&this.O&&(this.O.clear(),this.O=null);f&&this.za&&(this.za.clear(),this.za=null);f&&this.ra&&(this.ra.sv(),this.ra=null);f&&this.dt&&(this.dt.cancel(),this.dt=null);this.gY=0}jG(f,c){null!=f&&(this.ra.select(!1),this.Kr.cancel(),this.Kr=k.JU.LZ(this.ha),this.Kr.load(this.ha,f,c,()=>this.qF()))}Qn(f=""){this.Ga(new k.DV(f))}qF(){this.bb(k.Sf.Ks)}filter(){this.select(k.j.Jd.VU)}sort(){this.Qn()}expand(f,c,a,b=!0){this.Ga(new k.tD(k.j.Jd.sz));
this.R1(f,c,a,()=>{this.ra.expand(f,c,a);b&&this.Qn(k.j.Jd.sz)})}Xna(f,c,a){a=e.w(a)?this.za.hf:[a];for(var b=!0,d=0;d<a.length;d++){var g=c===k.j.ga.Ia?this.ra.Ha(f,[],a[d]):this.ra.Ha([],f,a[d]);if(!isNaN(g)){b=!1;break}}return b}R1(f,c,a,b){this.ha.Qc?this.Xna(f,c,a)?b():(a=new k.TD(k.j.Jd.sz),a.zf=f,a.nv=c,a.body=k.Lz.KB(this.za,this.ha).expand(c,f),void 0===a.body?b():this.jG(a,b)):b()}Wna(f,c,a){if(null!=c.hierarchy.ec)return!1;var b=e.w(void 0)?this.za.hf:[void 0],d=!0;f=f.slice(0);f[f.length-
1]=c.ordinal;for(c=0;c<b.length;c++){var g=a===k.j.ga.Ia?this.ra.Ha(f,[],b[c]):this.ra.Ha([],f,b[c]);if(!isNaN(g)){d=!1;break}}return d}Xda(f,c,a,b){if(this.ha.Qc)if(this.Wna(f,c,a))b();else{var d=new k.TD(k.j.Jd.Au);d.zf=f;d.nv=a;d.body=k.Lz.KB(this.za,this.ha).If(a,f,c,c.level.A);void 0===d.body?b():this.jG(d,b)}else b()}collapse(f,c,a,b=!0){this.ra.collapse(f,c,a);b&&this.Qn(k.j.Jd.yU)}Uc(f,c,a,b,d=null){var g=new k.TD(k.j.Jd.sH);g.body=k.Lz.KB(this.za,this.ha).Uc(f,c,a,d?d.slice(0):null);e.wa(!0,
e.i.C.u.Bf);d=new k.tD(k.j.Jd.sH);this.Ga(d);this.Kr.cancel();this.Kr=k.JU.LZ(this.ha);this.Kr.Uc(this.ha,g,f,c,a,l=>{b(l);this.Qn(g.type)})}Gc(f,c){this.za.Gc=f;this.za.cd=c;this.za.jra();this.za.ira();this.ha.Qc&&this.ra.bF()}If(f,c,a,b){c.hierarchy.Lx(c);var d=new k.tD(k.j.Jd.Au);this.Ga(d);this.ha.Qc?c.rg?(this.ra.If(f,c,a,b),this.Qn(k.j.Jd.Au)):this.Dk(c.hierarchy,c,()=>{var g=new k.TD(k.j.Jd.Au);g.zf=f;g.nv=a;g.body=k.Lz.KB(this.za,this.ha).If(a,f,c);this.jG(g,()=>{this.ra.If(f,c,a,b);for(var l=
[],m=c.level.xb+1;m<c.hierarchy.ta.length;m++){var n=c.hierarchy.ta.ea(m);n&&(l=l.concat(c.hierarchy.$J(n)))}if(0<l.length){n=[];var p,q;for(m=0;m<l.length;m++)for(q=p=c.hierarchy.ya(l[m]);void 0!==p&&void 0!==p.parent;){if(p.parent.ordinal===c.ordinal){n.push(q);break}p=p.parent}this.Cca(g,f,a,n,b)}else this.Qn(g.type)})}):(this.ra.If(f,c,a,b),this.Qn(k.j.Jd.Au))}Cca(f,c,a,b,d){if(0<b.length){var g=b.shift(),l=c.slice(0);l[l.length-1]=g.ordinal;f.zf=l;f.body=k.Lz.KB(this.za,this.ha).If(a,l,g);this.jG(f,
()=>{this.ra.If(l,g,a,d);this.Cca(f,c,a,b,d)})}else this.Qn(f.type)}Sn(f,c,a,b,d){var g=k.Lz.KB(this.za,this.ha);b=new k.tD(k.j.Jd.GU);this.Ga(b);this.Mp.uy(c,d,()=>{var l=new k.TD;l.type=k.j.Jd.GU;l.zf=f;l.nv=a;l.body=g.If(a,f,c,d);this.jG(l,()=>{this.ra.Sn(f,c,a,d);this.Qn(l.type)})},()=>this.qF())}Bq(f,c,a,b){c.hierarchy.cZ(c);this.ra.Bq(f,c,a,b);f=new k.tD(k.j.Jd.eN);this.Ga(f);this.Qn(k.j.Jd.eN)}select(f=k.j.Jd.eq){!e.i.ua.mc.ru||e.i.ua.mc.Bp||e.i.ua.mc.Yo||e.i.ua.mc.wJ||0==(new Date).getTime()%
378&&e.Wa(e.i.ua.pa.J(e.i.ua.pa.Oda),e.i.ua.pa.J(e.i.ua.pa.Zfa));var c=new k.tD(f);this.Ga(c);this.ha.Qc?(this.ra.sv(),this.KDa()):(this.ra.select(),this.Qn(f))}it(f,c=!0){f=f instanceof k.O.Zq?f:this.O.aw(f);if(e.i.B.F.FM){var a=w.uN.NP(f.je,f.A);0==a.Wv&&e.Wa(a.errorMessage)}if(!this.ha.Qc||!f.Ra||e.i.B.F.pt||this.ha.Fa===k.j.sa.API){if(null==this.O.qd(f.A)){f.Ra&&(a=new w.SH,f.Oe=a.parse(f.je),this.O instanceof k.external.Kc.O.PM&&(f.Oe=f.iR(this.O.Ea)));if(f.Ra&&null==f.Oe)return;this.O.nG&&this.O.Kj(f);
null!=this.za&&!this.za.sq.Sb(f.A)&&f.jm&&this.Cba(f);c&&(this.O.Nd&&!this.ha.Qc||this.O.Nd&&this.ha.Fa==e.v.j.sa.API||this.O.Nd&&this.ha.dG&&this.ha.Fa==e.v.j.sa.Nc&&e.i.B.F.pt)&&this.refresh()}else{a=new w.SH;f.Oe=a.parse(f.je);this.O instanceof k.external.Kc.O.PM&&(f.Oe=f.iR(this.O.Ea));if(f.Ra&&null==f.Oe)return;c=this.O.qd(f.A);c.caption=f.caption;c.hp=f.hp;c.je=f.je;c.xk=f.xk;c.Oe=f.Oe;c.Dn=f.Dn;c.jm=f.jm;(this.za.sq.Sb(c.A)||c.jm)&&this.Cba(c);(this.O.Nd&&!this.ha.Qc||this.O.Nd&&this.ha.Fa==
e.v.j.sa.API||this.O.Nd&&this.ha.dG&&this.ha.Fa==e.v.j.sa.Nc&&e.i.B.F.pt)&&this.refresh()}this.Za()}}Cba(f){let c=-1;const a=this.za.ed();for(let b=0;b<a.length;b++)if(f.A==a[b].A){c=b;break}0<=c?(f.index=c,a[c]=f):(a.push(f),f.index=a.length);this.za.Ry(a);this.za.s3();this.ega(this.za.Xb,f);this.ega(this.za.kc,f)}ega(f,c){null!=f.yg&&f.yg.A==c.A&&(f.yg=c)}Jy(f,c=!0){var a=this.O.qd(f);a&&a.Ra&&(this.O.Ly(f),this.za.Ly(f),c&&this.O.Nd&&this.refresh(),this.Za())}KC(){for(var f=0;f<this.O.Ea.length;){var c=
this.O.Ea.ea(f);c.Ra?this.Jy(c.A,!1):f++}this.O.Nd&&this.refresh();this.Za()}Za(){e.i.Ya.V().bb(e.i.Ya.jI)}refresh(){this.O.Nd?(this.ha.Fa==k.j.sa.EMPTY&&e.w(this.za)&&this.YJ(),this.filter()):this.ha.Fa==k.j.sa.EMPTY&&this.YJ()}Ek(f,c){(this.za.cd||0<f.mu.length)&&f.sm!=f.wh&&(f.Nd=!1);if(!f.cg&&!f.Nd||null!=f.ec){0==this.ZB.length&&this.Mp.Ek(f,b=>this.qda(b),()=>this.qF());this.ZB.Ta(f.A,f);var a=null!=this.ZF.getItem(f.A)?this.ZF.getItem(f.A):[];a.push(c);this.ZF.Ta(f.A,a)}else c(f)}Dk(f,c,a){this.Mp.Dk(f,
c,a,()=>this.qF())}Hp(f,c,a){this.Mp.NA()?this.Mp.Hp(f,c,a,()=>this.qF()):(f=2<f.ta.length?this.PEa(f,c):this.OEa(f,c),a(f))}OEa(f,c){const a=[],b=f.wh;let d;for(d=0;d<b;d++)f.Cd.ordinal!=d&&e.P.contains(f.NB(d),c)&&a.push(d);return a}PEa(f,c){var a=[];this.V$(a,f.Cd,c);var b;for(b=0;b<a.length;b++)c=this.Dba(a,f.ya(a[b]),b),b+=c;return a}Dba(f,c,a){c=c.parent;var b=0;e.w(c)||c.Rb||(-1==f.indexOf(c.ordinal)&&(b++,f.splice(a,0,c.ordinal)),b+=this.Dba(f,c,a));return b}V$(f,c,a){for(var b=c.children,
d=b.length,g=c.hierarchy,l=0;l<d;l++)c=g.ya(b[l]),e.P.contains(c.caption,a)&&f.push(c.ordinal),this.V$(f,c,a)}qda(f){f.vv();f.Nd=!0;this.ZB.removeItem(f.A);var c=this.ZF.getItem(f.A);if(null!=c)for(var a=0;a<c.length;a++)(0,c[a])(f);this.ZF.removeItem(f.A);0<this.ZB.length&&(f=this.ZB.ea(0),null!=this.Mp?this.Mp.Ek(f,b=>this.qda(b),()=>this.qF()):this.ZB=null)}KDa(){if(this.za.ib)this.Qn();else{var f=this.za.rc(!0,!0,e.i.B.F.dc);this.gY=f.length;for(var c=0;c<f.length;c++)this.Ek(f.ea(c),()=>this.TBa())}}TBa(){if(0==
--this.gY){this.ha.Qc&&this.za.I1();var f=new k.TD(k.j.Jd.eq);f.body=k.Lz.KB(this.za,this.ha).select();this.jG(f,()=>{e.i.B.F.dc||this.ha.Fa!=k.j.sa.Af&&this.ha.Fa!=k.j.sa.API?this.Qn(f.type):(e.wa(!0,e.i.C.u.Bf),this.aza(()=>{this.cza(()=>{e.wa(!1);this.Qn(f.type)})}))})}}cza(f){const c=new w.oI;for(var a=this.za.he(k.j.ga.Ia).pd,b=0;b<a.length;b++){var d=a[b];c.add((g,l)=>{var m=this.za.Ab.ea(l.length-1);if(m&&null!=m.ec){var n=m.ya(l[l.length-1]);null!=n&&this.ra.Sn(l.slice(0,-1),n.parent,k.j.ga.Ia,
m.Gf)}this.R1(l,k.j.ga.Ia,void 0,()=>{this.ra.expand(l,k.j.ga.Ia,void 0);g()})},d.slice(1))}a=this.za.he(k.j.ga.Xa).pd;for(b=0;b<a.length;b++)d=a[b],c.add((g,l)=>{var m=this.za.Fb.ea(l.length-1);if(m&&null!=m.ec){var n=m.ya(l[l.length-1]);null!=n&&this.ra.Sn(l.slice(0,-1),n.parent,k.j.ga.Xa,m.Gf)}this.R1(l,k.j.ga.Xa,void 0,()=>{this.ra.expand(l,k.j.ga.Xa,void 0);g()})},d.slice(1));c.Of(f)}aza(f){if(this.ha.Fa!==k.j.sa.API||k.external.Kc.O.Up.TK){for(var c=new w.oI,a=this.za.he(k.j.ga.Ia).Ze,b=0;b<
a.length;b++)c.add((d,g)=>{var l=this.za.Ab.ea(g.length-3);if(e.w(l))d();else{var m=l.Yb(g[1]);null==m?d():(g=g.slice(2),this.Xda(g,m,k.j.ga.Ia,()=>{this.ra.If(g,m,k.j.ga.Ia,void 0);d()}))}},a[b].slice(0));a=this.za.he(k.j.ga.Xa).Ze;for(b=0;b<a.length;b++)c.add((d,g)=>{var l=this.za.Fb.ea(g.length-3).Yb(g[1]);null==l?d():(g=g.slice(2),this.Xda(g,l,k.j.ga.Xa,()=>{this.ra.If(g,l,k.j.ga.Xa,void 0);d()}))},a[b].slice(0));c.Of(f)}else f()}Mea(f){e.i.Ya.V().bb(e.i.Ya.z4,null,f)}Hd(f){this.Mp.Hd(f);this.YJ()}static dispose(){k.YH.dispose();
k.RV.dispose();k.external.Db.Ai.Z6.dispose();w.al.cancel();if(h.La){h.La.za=null;try{h.La.ra.sv()}catch(f){}h.La.ra=null;try{h.La.Kr.cancel()}catch(f){}h.La.Kr=null;try{h.La.Mp.cancel()}catch(f){}h.La.Mp=null;try{h.La.dt.cancel()}catch(f){}h.La.dt=null;try{h.La.O.clear()}catch(f){}h.La.O=null;h.La=null}}}k.Sa=h})(e.v||(e.v={}))})(u||(u={}));
(function(e){(function(k){class h extends v.Oa{constructor(){super("div");this.G.ol()}jb(){this.G.html(e.i.ua.pa.J(e.i.ua.pa.kU));this.G.element.setAttribute("style",`z-index:1!important;left:${(k.Pb.qu-this.pf())/2}px!important;top:${(k.Pb.VB-this.wd())/2}px!important;color:#ffffff!important;position:absolute!important;pointer-events:none;display:block!important;font-size:60px!important;text-shadow:0 0 10px #000000 !important;text-align:center!important;opacity:0.2!important;`)}}k.Fna=h})(e.K||(e.K=
{}))})(u||(u={}));
(function(e){class k{constructor(f,c){this.aL=!1;this.Kc=null;this.LY=[];this.NY=[];this.MY=[];null!=k.La&&k.La.dispose();k.La=this;this.Kc=c;e.w(f)&&(f={});if(0!=w.gya()||0!=confirm("Flexmonster Pivot Table is not completely supported by this version of browser. Please update your browser. Continue anyway?")){c="flexmonster/";void 0!==f.componentFolder&&(c=f.componentFolder);w.Vw.hY=c;w.Ms.W8=c;var a;f.container instanceof HTMLElement?a=f.container:e.w(f.container)||(a=document.getElementById("#"==f.container.substr(0,
1)?f.container.substring(1):f.container));null==a?(f=0==e.ia(f.container)?"Flexmonster:\nUnable to create the component. DOM element with id '"+f.container+"' is not found.":"Flexmonster:\nUnable to create the component. DOM element is null.",console.error(f),alert(f)):(this.oa=e.i.Ua.V(),this.oa.Ja.N(e.i.qc.xd.QD,()=>this.$Ba()),this.oa.Ja.N(e.i.qc.xd.Az,()=>this.e1()),this.oa.Ja.N(e.i.qc.xd.vn,()=>this.wC()),this.oa.Ja.N(e.i.qc.xd.kI,()=>this.mCa()),this.oa.Ja.N(e.i.qc.xd.Ls,()=>this.EL()),this.oa.Ja.N(e.i.qc.xd.UD,
()=>this.p1()),this.oa.Ja.N(e.i.qc.xd.GD,()=>this.c1()),this.oa.Ja.N(e.i.qc.xd.nH,()=>this.wp()),this.oa.Ja.N(e.i.qc.xd.lH,b=>this.gda(b)),this.oa.Ja.N(e.i.qc.xd.mH,()=>this.G0()),this.oa.Ja.N(e.i.qc.xd.Pu,()=>this.Kq()),this.oa.Ja.N(e.i.qc.xd.mV,()=>this.DBa()),this.oa.Ja.N(e.i.qc.xd.aI,()=>this.tda()),this.oa.Ja.N(e.i.qc.xd.$H,()=>this.sda()),this.oa.Ja.N(e.i.qc.xd.HD,()=>this.CBa()),this.oa.Ja.N(e.i.qc.xd.ID,()=>this.rG()),this.oa.Ja.N(e.i.qc.xd.RH,()=>this.FBa()),this.oa.Ja.N(e.i.qc.xd.LU,()=>
this.K0()),this.oa.Ja.N(e.i.qc.xd.Mz,()=>this.qCa()),this.oa.Ja.N(e.i.qc.xd.ek,()=>this.vC()),this.oa.Ja.N(e.i.qc.xd.Ks,()=>this.m1()),this.oa.Ja.N(e.i.qc.xd.cj,()=>this.o1()),this.oa.N(h.RU,()=>this.TAa()),this.oa.N(h.Lg,()=>this.RAa()),this.oa.N(h.BV,()=>this.eCa()),this.oa.N(h.Kz,()=>this.dCa()),this.wj=new e.K.Pb(v.Da.Ib(a),f),this.wj.N(e.K.ri.Ew,b=>this.Zza(b)),this.wj.N(e.K.ri.FV,()=>this.lCa()),this.oa.ZK(f),this.aL=!0)}}get vc(){return this.oa&&this.oa.Ja&&this.oa.Ja.vc}get hS(){return this.oa&&
this.oa.Ja&&this.oa.Ja.hS}get V_(){return this.oa&&this.oa.Ja&&this.oa.Ja.V_}wea(){e.Be(()=>{for(;0<this.MY.length;)this.MY.shift().call(this)},1)}Ad(f,c=10){e.Be(()=>{0==c?this.LY.push(f):1==c?this.NY.push(f):this.MY.push(f)},1)}$Ba(){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.QD))}e1(){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.Az))}wC(){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.vn))}mCa(){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.kI))}EL(){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.Ls))}p1(){for(this.oa.Ja.uf==e.i.qc.Go.INIT&&e.Be(()=>{e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.w6))},
1);0<this.LY.length;)this.LY.shift().call(this)}CBa(){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.HD))}rG(){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.ID))}FBa(){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.RH))}c1(){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.GD))}wp(){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.nH))}G0(){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.mH))}gda(f){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.lH,f.data))}Kq(){for(;0<this.NY.length;)this.NY.shift().call(this)}DBa(){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.K5))}tda(){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.aI))}sda(){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.$H))}K0(){}qCa(){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.Mz))}vC(){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.ek));
e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.T6))}m1(){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.Ks))}o1(){}Zza(f){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.Ew,f.data))}lCa(){this.vc&&(this.oa.Ja.uf!==e.i.qc.Go.Dc?(this.oa.Ja.uf=e.i.qc.Go.Dc,e.Be(()=>{this.wea();e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.cj))},1)):e.Be(()=>{this.wea()},1))}TAa(){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.S4))}RAa(){e.Be(()=>{e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.Lg))},1)}eCa(){e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.q6))}dCa(){e.Be(()=>{e.i.Ya.V().Ga(new e.i.bd(e.i.Ya.Kz))},1)}FZ(){return this.vc?
this.oa.FZ():null}JZ(f){return this.vc?this.oa.JZ(f):null}vP(f){this.vc?null!=f&&this.oa.vP(f):this.Ad(()=>this.vP(f))}oT(f){this.vc?this.oa.oT(f):this.Ad(()=>this.oT(f))}mT(){this.vc?this.oa.mT():this.Ad(()=>this.mT())}open(){this.oa.open()}load(f,c){this.oa.load(f,c)}Nt(f="object"){let c="object";f instanceof Object?f.hasOwnProperty("type")&&(c=f.type,c=c.toLowerCase()):f&&(c=f.toLowerCase());f=this.oa.Nt(f instanceof Object?f:{});return e.w(f)||f.ib?null:"xmlstring"==c?y.aa.Bc(f.so(),!0):f.Qa()}tw(f){if(this.vc){if("string"==
typeof f)try{if(-1<f.indexOf("<config>")){var c=y.aa.create(f);f=e.i.ab.Rw.Pj(c)}else f=JSON.parse(f)}catch(a){e.Wa(e.i.C.u.X5,e.i.C.u.Ca,e.Bb.Ca);return}this.oa.tw({report:f})}else this.Ad(()=>this.tw(f))}getData(f,c,a){this.vc?this.oa.getData(f,c,a):this.Ad(()=>this.getData(f,c,a))}save(f={filename:"report.json"},c=null,a=null,b=null,d=!1){var g=a;this.vc?(f instanceof Object&&f.hasOwnProperty("callbackHandler")&&(g=f.callbackHandler),this.oa.save(f,c,null!=g?l=>g(l):null,b,d)):this.Ad(()=>this.save(f,
c,a,b,d))}Hd(f,c){null!=f&&(e.w(c)?c={partial:!1}:"boolean"==typeof c&&(c={partial:c}),this.hS?this.oa.Hd(f,c):this.Ad(()=>this.Hd(f,c),0))}gF(f){null!=f&&(this.hS?this.oa.gF(f):this.Ad(()=>this.gF(f),0))}ypa(f){this.Hd({data:f})}it(f){this.vc?null!=f&&this.oa.it(f):this.Ad(()=>this.it(f))}Jy(f){this.vc?this.oa.Jy(f):this.Ad(()=>this.Jy(f))}KC(){this.vc?this.oa.KC():this.Ad(()=>this.KC())}clear(){this.oa&&this.oa.clear()}dispose(){e.rl.dispose();e.vZ.dispose();e.lna.dispose();this.Kc=null;this.oa.dispose();
this.wj.dispose();this.oa=this.wj=null;k.La=null;e.i.Ya.dispose()}refresh(){this.vc?this.wj.jb():this.Ad(()=>this.refresh())}OT(){this.vc?this.wj.OT():this.Ad(()=>this.OT())}gM(f="column",c=!1){this.vc?this.wj.gM(f,c):this.Ad(()=>this.gM(f,c))}PT(f="column",c="bottom",a=!1){this.vc?this.wj.PT(f,c,a):this.Ad(()=>this.PT(f,c,a))}CQ(f=!0){this.vc?this.oa.CQ(f):this.Ad(()=>this.CQ(f))}Iv(f){this.vc?this.wj.Iv(f):this.Ad(()=>this.Iv(f))}XP(){this.vc?this.oa.XP():this.Ad(()=>this.XP())}uv(f){this.vc?this.wj.uv(f):
this.Ad(()=>this.uv(f))}print(f=null){this.vc?this.oa.print(e.i.ls.u6.yb(f)):this.Ad(()=>this.print(f))}Nj(f,c=null,a=null){if(this.vc){if(null!=f){var b=null!=a?(...d)=>a.apply(null,d):null;this.oa.Nj(f,e.i.tc.X4.yb(c),b)}}else this.Ad(()=>this.Nj(f,c,a))}gm(f){return this.vc?this.oa.gm(f):null}uG(f){this.vc&&this.wj.UCa(f)}Fl(f,c){this.vc?this.oa.Fl(f,c):this.Ad(()=>this.Fl(f,c))}ut(f){this.vc?this.oa.ut(f):this.Ad(()=>this.ut(f))}on(f,c){e.i.Ya.V().N(f,c)}Vza(f,c){null==c?e.i.Ya.V().fe(f):e.i.Ya.V().qb(f,
c)}JK(){return this.vc?this.oa.JK():null}uK(){return this.vc?this.oa.uK():null}RF(){return this.vc?this.oa.RF():null}ed(){return this.vc?this.oa.ed():null}Sx(){return this.vc?this.oa.Sx():null}RK(){return this.wj.RK}QK(){return this.wj.QK}XT(f,c,a,b){this.vc?this.oa.XT(f,c,a,b):this.Ad(()=>this.XT(f,c,a,b))}YT(f,c){this.V_?this.oa.YT(f,c):this.Ad(()=>this.YT(f,c),1)}YC(f,c,a=null){this.vc?this.oa.YC(f,c):this.Ad(()=>this.YC(f,c,a))}GT(f){this.vc?this.oa.GT(f):this.Ad(()=>this.GT(f))}IL(f,c){this.vc?
this.wj.IL(f,c):this.Ad(()=>this.IL(f,c))}d_(f){return this.vc?this.oa.d_(f):null}TZ(){return this.vc?this.oa.TZ():null}Qv(){return this.vc?this.oa.Qv():null}Jp(f){e.w(f)||(this.vc?this.oa.Jp(f):this.Ad(()=>this.Jp(f)))}ij(f,c,a){if(this.vc)return this.oa.ij(f,c,a);this.Ad(()=>this.ij(f,c,a))}XF(f,c){if(this.vc)return this.oa.XF(f,c);this.Ad(()=>this.XF(f,c))}BR(f,c){this.vc?this.oa.BR(f,c):this.Ad(()=>this.BR(f,c))}zR(f,c,a){this.vc?this.oa.zR(f,c,a):this.Ad(()=>this.zR(f,c,a))}AR(f,c,a,b){this.vc?
this.oa.AR(f,c,a,b):this.Ad(()=>this.AR(f,c,a,b))}UP(f,c,a,b=null,d=null){this.vc?this.oa.UP(f,c,b,d,a):this.Ad(()=>this.UP(f,c,b,d,a))}XL(f){this.vc?null!=f&&this.oa.XL(e.i.ab.Io.yb(f)):this.Ad(()=>this.XL(f))}oK(){return this.vc?this.oa.oK():null}rT(f){this.vc?this.oa.rT(f):this.Ad(()=>this.rT(f))}$f(f){return this.vc?this.oa.$f(f):null}UC(f,c){this.vc?null!=f&&this.oa.UC(f,c):this.Ad(()=>this.UC(f,c))}Kf(f,c){return this.vc?this.wj.Kf(f,c):null}UF(){return this.vc?this.wj.UF():null}Sy(f,c){this.vc?
this.wj.Sy(f,c):this.Ad(()=>this.Sy(f,c))}VF(){return this.vc?this.oa.VF():null}MT(f){this.vc?this.oa.MT(f):this.Ad(()=>this.MT(f))}My(){this.vc?this.wj.My():this.Ad(()=>this.My())}JL(){this.aL?this.wj.JL():this.Ad(()=>this.JL())}cF(){this.aL?this.wj.cF():this.Ad(()=>this.cF())}eta(f){e.K.Y.X.$d.Av=f;this.aL&&this.refresh()}jl(f){e.K.nd.yu.fB=f;this.aL&&this.refresh()}fta(f){e.K.Y.$M.TJ=f}dta(f){e.v.external.Kc.LM.SJ=f}QZ(f,c){this.oa.QZ(f,c)}}k.Fw="2.8.25";k.L3="98306126362915";e.Mh=k;class h{}h.BV=
"print";h.Kz="printcomplete";h.RU="export";h.Lg="exportcomplete";e.Vf=h})(u||(u={}));
function wa(e){u.w(window.flexmonster)||(window.flexmonster=null);var k={version:u.Mh.Fw},h=new u.Mh(e,k);k.alert=c=>{if(void 0!=c.message&&""!=c.message||void 0!=c.title&&""!=c.title){var a=void 0!=c.message?u.i.Vb.valid(c.message)?c.message:u.i.Vb.Mc(c.message):"",b=void 0!=c.title?u.i.Vb.valid(c.title)?c.title:u.i.Vb.Mc(c.title):"",d=c.type==u.Bb.Tk||c.type==u.Bb.xo||c.type==u.Bb.Ca||c.type==u.Bb.xN?c.type:u.Bb.Tk,g=null,l=null;if(void 0!=c.buttons)for(var m=0;m<c.buttons.length;m++){var n=c.buttons[m],
p=n.label;p=u.i.Vb.valid(p)?p:u.i.Vb.Mc(p);null==g&&(g=[]);g.push(p);n="function"==typeof n.handler?n.handler:null;null==l&&(l=[]);l.push(n)}u.Wa(a,b,d,g,l,void 0==c.blocking||1!=c.blocking&&0!=c.blocking?!1:c.blocking)}};k.openCalculatedValueEditor=(c,a)=>h.IL(c,a);k.getAllConditions=()=>h.FZ();k.getCondition=c=>h.JZ(c);k.addCondition=c=>h.vP(c);k.removeCondition=c=>h.oT(c);k.removeAllConditions=()=>h.mT();k.open=()=>h.open();k.load=(c,a)=>h.load(c,a);k.getReport=(c="object")=>h.Nt(c);k.setReport=
c=>h.tw(c);k.getData=(c,a,b)=>h.getData(c,a,b);k.save=(c={filename:"report.json"},a=null,b=null,d=null,g=!1)=>h.save(c,a,b,d,g);k.updateData=(c,a)=>h.Hd(c,a);k.connectTo=c=>h.gF(c);k.addJSON=c=>h.ypa(c);k.addCalculatedMeasure=c=>h.it(c);k.removeCalculatedMeasure=c=>h.Jy(c);k.removeAllCalculatedMeasures=()=>h.KC();k.clear=()=>h.clear();k.dispose=()=>{u.w(window.flexmonster)||(window.flexmonster=null);h.dispose()};k.refresh=()=>h.refresh();k.showGrid=()=>h.OT();k.showCharts=(c="column",a=!1)=>h.gM(c,
a);k.showChart=(c="column",a=!1)=>h.gM(c,a);k.showGridAndCharts=(c="column",a="bottom",b=!1)=>h.PT(c,a,b);k.expandAllData=(c=!0)=>h.CQ(c);k.expandData=c=>h.Iv(c);k.collapseAllData=()=>h.XP();k.collapseData=c=>h.uv(c);k.print=(c=null)=>h.print(c);k.exportTo=(c,a=null,b=null)=>h.Nj(c,a,b);k.openFilter=c=>h.uG(c);k.getFilter=c=>h.gm(c);k.setFilter=(c,a)=>h.Fl(c,a);k.clearFilter=c=>h.ut(c);k.on=(c,a)=>h.on(c,a);k.off=(c,a)=>h.Vza(c,a);k.getRows=()=>h.JK();k.getColumns=()=>h.uK();k.getPages=()=>h.RF();
k.getReportFilters=()=>h.RF();k.getMeasures=()=>h.ed();k.getAllMeasures=()=>h.Sx();k.sortValues=(c,a,b,d)=>h.XT(c,a,b,d);k.sortingMethod=(c,a)=>h.YT(c,a);k.setSort=(c,a,b=null)=>h.YC(c,a,b);k.getSort=c=>h.d_(c);k.setFlatSort=c=>h.GT(c);k.getFlatSort=()=>h.TZ();k.getOptions=()=>h.Qv();k.setOptions=c=>h.Jp(c);k.getMembers=(c,a,b)=>h.ij(c,a,b);k.gridRowCount=()=>h.RK();k.gridColumnCount=()=>h.QK();k.getXMLAProviderName=(c,a)=>h.XF(c,a);k.getXMLADataSources=(c,a)=>h.BR(c,a);k.getXMLACatalogs=(c,a,b)=>
h.zR(c,a,b);k.getXMLACubes=(c,a,b,d)=>h.AR(c,a,b,d);k.clearXMLACache=(c,a,b,d=null,g=null)=>h.UP(c,a,b,d,g);k.getElasticIndices=(c,a)=>h.QZ(c,a);k.runQuery=c=>h.XL(c);k.getAllHierarchies=()=>h.oK();k.replaceHierarchyCaption=c=>h.rT(c);k.getFormat=c=>h.$f(c);k.setFormat=(c,a)=>h.UC(c,a);k.getCell=(c,a)=>h.Kf(c,a);k.getSelectedCell=()=>h.UF();k.setSelectedCell=(c,a)=>h.Sy(c,a);k.removeSelection=()=>h.My();k.getTableSizes=()=>h.VF();k.setTableSizes=c=>h.MT(c);k.openFieldsList=()=>h.JL();k.closeFieldsList=
()=>h.cF();k.customizeCell=c=>h.eta(c);k.customizeChartElement=c=>h.jl(c);k.customizeContextMenu=c=>h.fta(c);k.customizeAPIRequest=c=>h.dta(c);if(void 0!==window.FlexmonsterHighcharts){k.highcharts={instance:k};for(var f in window.FlexmonsterHighcharts)k.highcharts[f]=window.FlexmonsterHighcharts[f]}if(void 0!==window.FlexmonsterFusioncharts)for(f in k.fusioncharts={instance:k},window.FlexmonsterFusioncharts)k.fusioncharts[f]=window.FlexmonsterFusioncharts[f];if(void 0!==window.FlexmonsterGooglecharts)for(f in k.googlecharts=
{instance:k},window.FlexmonsterGooglecharts)k.googlecharts[f]=window.FlexmonsterGooglecharts[f];if(void 0!==window.FlexmonsterAmcharts)for(f in k.amcharts={instance:k},window.FlexmonsterAmcharts)k.amcharts[f]=window.FlexmonsterAmcharts[f];u.w(window.flexmonster)||u.w(window.flexmonster.embedPivotComponent)||(k.embedPivotComponent=window.flexmonster.embedPivotComponent);return window.flexmonster=k}this.PivotApi=wa;
;return this.PivotApi(a)}});
void 0!==window.jQuery&&(window.jQuery.fn.flexmonster=function(a){a=a||{};a.container=this.get(0);a=window.Flexmonster?window.Flexmonster(a):window.PivotApi(a);this.data("flexmonster",a);return a});
void 0!==window.angular&&window.angular.module("flexmonster",[]).directive("fmPivot",function(){function e(b,c){void 0!==b.fmComponentFolder&&(c.componentFolder=b.fmComponentFolder);void 0!==b.fmWidth&&(c.width=b.fmWidth);void 0!==b.fmHeight&&(c.height=b.fmHeight);if(void 0!==b.fmToolbar){var d=b.fmToolbar;c.toolbar=!0===d||"true"==d||"on"==d}void 0!==b.fmLicenseKey&&(c.licenseKey=b.fmLicenseKey)}return{restrict:"A",scope:{report:"=fmReport",global:"=fmGlobal",customizeAPIRequest:"&fmCustomizeAPIRequest",
customizeCell:"&fmCustomizeCell",customizeChartElement:"&fmCustomizeChartElement",customizeContextMenu:"&fmCustomizeContextMenu",cellclick:"&fmCellClick",celldoubleclick:"&fmCellDoubleClick",dataerror:"&fmDataError",datafilecancelled:"&fmDataFileCancelled",dataloaded:"&fmDataLoaded",datachanged:"&fmDataChanged",fieldslistclose:"&fmFieldsListClose",fieldslistopen:"&fmFieldsListOpen",filteropen:"&fmFilteropen",fullscreen:"&fmFullscreen",loadingdata:"&fmLoadingData",loadinglocalization:"&fmLoadingLocalization",
loadingolapstructure:"&fmLoadingOlapStructure",loadingreportfile:"&fmLoadingReportFile",localizationerror:"&fmLocalizationError",localizationloaded:"&fmLocalizationLoaded",olapstructureerror:"&fmOlapStructureError",olapstructureloaded:"&fmOlapStructureLoaded",openingreportfile:"&fmOpeningReportFile",querycomplete:"&fmQueryComplete",queryerror:"&fmQueryError",ready:"&fmReady",reportchange:"&fmReportChange",reportcomplete:"&fmReportComplete",reportfilecancelled:"&fmReportFileCancelled",reportfileerror:"&fmReportFileError",
reportfileloaded:"&fmReportFileLoaded",runningquery:"&fmRunningQuery",unauthorizederror:"&fmUnauthorizedError",update:"&fmUpdate",beforetoolbarcreated:"&fmBeforeToolbarCreated",beforegriddraw:"&fmBeforeGridDraw",aftergriddraw:"&fmAfterGridDraw",afterchartdraw:"&fmAfterChartDraw",chartclick:"&fmChartClick",drillthroughopen:"&fmDrillThroughOpen",drillthroughclose:"&fmDrillThroughClose"},link:function(b,c,d,a){a={};a.container=c[0];e(d,a);b.customizeAPIRequest&&(a.customizeAPIRequest=function(a){return b.customizeAPIRequest({request:a})});
b.customizeCell&&(a.customizeCell=function(a,c){return b.customizeCell({html:a,data:c})});b.customizeChartElement&&(a.customizeChartElement=function(a,c){return b.customizeChartElement({element:a,data:c})});b.customizeContextMenu&&(a.customizeContextMenu=function(a,c,d){return b.customizeContextMenu({items:a,data:c,viewType:d})});b.cellclick&&(a.cellclick=function(a){b.cellclick({cell:a})});b.celldoubleclick&&(a.celldoubleclick=function(a){b.celldoubleclick({cell:a})});a.dataerror=b.dataerror;a.datafilecancelled=
b.datafilecancelled;a.dataloaded=b.dataloaded;a.datachanged&&(a.datachanged=function(a){b.datachanged({event:a})});a.fieldslistclose=b.fieldslistclose;a.fieldslistopen=b.fieldslistopen;a.filterclose=b.filterclose;a.filteropen&&(a.filteropen=function(a){b.filteropen({params:a})});a.drillthroughclose=b.drillthroughclose;a.drillthroughopen&&(a.drillthroughopen=function(a){b.drillthroughopen({cell:a})});a.fullscreen&&(a.fullscreen=function(a){b.fullscreen({fullScreenMode:a})});a.loadingdata=b.loadingdata;
a.loadinglocalization=b.loadinglocalization;a.loadingolapstructure=b.loadingolapstructure;a.loadingreportfile=b.loadingreportfile;a.localizationerror=b.localizationerror;a.localizationloaded=b.localizationloaded;a.olapstructureerror=b.olapstructureerror;a.olapstructureloaded=b.olapstructureloaded;a.openingreportfile=b.openingreportfile;a.querycomplete=b.querycomplete;a.queryerror=b.queryerror;b.ready&&(a.ready=function(){b.ready({pivot:f})});a.reportchange=b.reportchange;a.reportcomplete=b.reportcomplete;
a.reportfilecancelled=b.reportfilecancelled;a.reportfileerror=b.reportfileerror;a.reportfileloaded=b.reportfileloaded;a.runningquery=b.runningquery;a.loadingdata=b.loadingdata;a.loadingdata=b.loadingdata;a.loadingdata=b.loadingdata;b.unauthorizederror&&(a.unauthorizederror=function(a){b.unauthorizederror({done:a})});a.update=b.update;b.beforetoolbarcreated&&(a.beforetoolbarcreated=function(a){b.beforetoolbarcreated({toolbar:a})});b.beforegriddraw&&(a.beforegriddraw=function(a){b.beforegriddraw({params:a})});
b.aftergriddraw&&(a.aftergriddraw=function(a){b.aftergriddraw({params:a})});a.afterchartdraw=b.afterchartdraw;b.chartclick&&(a.chartclick=function(a){b.chartclick({data:a})});b.report&&(a.report=b.report);b.global&&(a.global=b.global);var f=new Flexmonster(a)}}});
if(void 0!==window.React&&void 0!==window.React.createClass&&(void 0!==window.React.PropTypes||void 0!==window.PropTypes)){var React_PropTypes=void 0!==window.React.PropTypes?window.React.PropTypes:window.PropTypes;window.FlexmonsterReact={Pivot:React.createClass({propTypes:{componentFolder:React_PropTypes.string,global:React_PropTypes.object,width:React_PropTypes.oneOfType([React_PropTypes.string,React_PropTypes.number]),height:React_PropTypes.oneOfType([React_PropTypes.string,React_PropTypes.number]),
report:React_PropTypes.oneOfType([React_PropTypes.string,React_PropTypes.object]),licenseKey:React_PropTypes.string,toolbar:React_PropTypes.bool,customizeAPIRequest:React_PropTypes.func,customizeCell:React_PropTypes.func,customizeChartElement:React_PropTypes.func,customizeContextMenu:React_PropTypes.func,cellclick:React_PropTypes.func,celldoubleclick:React_PropTypes.func,dataerror:React_PropTypes.func,datafilecancelled:React_PropTypes.func,dataloaded:React_PropTypes.func,datachanged:React_PropTypes.func,
fieldslistclose:React_PropTypes.func,fieldslistopen:React_PropTypes.func,filteropen:React_PropTypes.func,filterclose:React_PropTypes.func,fullscreen:React_PropTypes.func,loadingdata:React_PropTypes.func,loadinglocalization:React_PropTypes.func,loadingolapstructure:React_PropTypes.func,loadingreportfile:React_PropTypes.func,localizationerror:React_PropTypes.func,localizationloaded:React_PropTypes.func,olapstructureerror:React_PropTypes.func,olapstructureloaded:React_PropTypes.func,openingreportfile:React_PropTypes.func,
querycomplete:React_PropTypes.func,queryerror:React_PropTypes.func,ready:React_PropTypes.func,reportchange:React_PropTypes.func,reportcomplete:React_PropTypes.func,reportfilecancelled:React_PropTypes.func,reportfileerror:React_PropTypes.func,reportfileloaded:React_PropTypes.func,runningquery:React_PropTypes.func,unauthorizederror:React_PropTypes.func,update:React_PropTypes.func,beforetoolbarcreated:React_PropTypes.func,beforegriddraw:React_PropTypes.func,aftergriddraw:React_PropTypes.func,afterchartdraw:React_PropTypes.func,
chartclick:React_PropTypes.func,drillthroughopen:React_PropTypes.func,drillthroughclose:React_PropTypes.func},render:function(){return React.DOM.div()},componentDidMount:function(){var a={};a.container=ReactDOM.findDOMNode(this);this.parseProps(a);this.flexmonster=new window.Flexmonster(a)},shouldComponentUpdate:function(){return!1},componentWillUnmount:function(){this.flexmonster.dispose()},parseProps:function(a){for(var b in this.props)a[b]=this.props[b]}})}};
window.flexmonster={embedPivotComponent:function(d,e,f,g,a,b,h){var c=b;"string"==typeof b&&(c=h);config={};config.componentFolder=d;config.container=e;config.width=f;config.height=parseInt(g);config.toolbar=c;config.report=a;a.hasOwnProperty("configUrl")&&(config.configUrl=a.configUrl);a.hasOwnProperty("licenseKey")&&(config.licenseKey=a.licenseKey);a.hasOwnProperty("jsCellClickHandler")&&(config.cellclick=a.jsCellClickHandler);a.hasOwnProperty("jsCellDoubleClickHandler")&&(config.celldoubleclick=
a.jsCellDoubleClickHandler);a.hasOwnProperty("jsFullScreenHandler")&&(config.fullscreen=a.jsFullScreenHandler);a.hasOwnProperty("jsFilterOpenHandler")&&(config.filteropen=a.jsFilterOpenHandler);a.hasOwnProperty("jsFieldsListCloseHandler")&&(config.fieldslistclose=a.jsFieldsListCloseHandler);a.hasOwnProperty("jsFieldsListOpenHandler")&&(config.fieldslistopen=a.jsFieldsListOpenHandler);a.hasOwnProperty("jsPivotCreationCompleteHandler")&&(config.ready=a.jsPivotCreationCompleteHandler);a.hasOwnProperty("jsPivotUpdateHandler")&&
(config.update=a.jsPivotUpdateHandler);a.hasOwnProperty("jsReportChangeHandler")&&(config.reportchange=a.jsReportChangeHandler);a.hasOwnProperty("jsReportLoadedHandler")&&(config.reportcomplete=a.jsReportLoadedHandler);a.hasOwnProperty("beforetoolbarcreated")&&(config.beforetoolbarcreated=a.beforetoolbarcreated);a.hasOwnProperty("beforegriddraw")&&(config.beforegriddraw=a.beforegriddraw);a.hasOwnProperty("aftergriddraw")&&(config.aftergriddraw=a.aftergriddraw);a.hasOwnProperty("afterchartdraw")&&
(config.afterchartdraw=a.afterchartdraw);a.hasOwnProperty("customizeCell")&&(config.customizeCell=a.customizeCell);a.hasOwnProperty("customizeContextMenu")&&(config.customizeContextMenu=a.customizeContextMenu);return Flexmonster(config)}};
if("object"===typeof module&&module.exports){module.exports=Flexmonster;}
// SIG // Begin signature block
// SIG // MIInDAYJKoZIhvcNAQcCoIIm/TCCJvkCAQExDzANBglg
// SIG // hkgBZQMEAgEFADB3BgorBgEEAYI3AgEEoGkwZzAyBgor
// SIG // BgEEAYI3AgEeMCQCAQEEEBDgyQbOONQRoqMAEEvTUJAC
// SIG // AQACAQACAQACAQACAQAwMTANBglghkgBZQMEAgEFAAQg
// SIG // C5JMVxlJP2DltZFAULkGHURzeWCMpPXOo3AmG0m7P3Og
// SIG // gg2EMIIGnTCCBIWgAwIBAgIQXmLxr7IKseOJ22FeEeHd
// SIG // 3TANBgkqhkiG9w0BAQsFADB7MQswCQYDVQQGEwJVUzEO
// SIG // MAwGA1UECAwFVGV4YXMxEDAOBgNVBAcMB0hvdXN0b24x
// SIG // ETAPBgNVBAoMCFNTTCBDb3JwMTcwNQYDVQQDDC5TU0wu
// SIG // Y29tIEVWIENvZGUgU2lnbmluZyBJbnRlcm1lZGlhdGUg
// SIG // Q0EgUlNBIFIzMB4XDTIwMTIxNTIzMTIxOFoXDTIyMDEw
// SIG // NDIzMTIxOFowge8xCzAJBgNVBAYTAlVTMRMwEQYDVQQI
// SIG // DApDYWxpZm9ybmlhMRgwFgYDVQQHDA9SYW5jaG8gU2Fu
// SIG // dGEgRmUxJTAjBgNVBAoMHE5vcnRoIEFtZXJpY2FuIFJl
// SIG // c2VsbGVycyBMTEMxFTATBgNVBAUTDEwwOTAwMDA1NzIx
// SIG // MTElMCMGA1UEAwwcTm9ydGggQW1lcmljYW4gUmVzZWxs
// SIG // ZXJzIExMQzEdMBsGA1UEDwwUUHJpdmF0ZSBPcmdhbml6
// SIG // YXRpb24xGDAWBgsrBgEEAYI3PAIBAgwHRmxvcmlkYTET
// SIG // MBEGCysGAQQBgjc8AgEDEwJVUzCCASIwDQYJKoZIhvcN
// SIG // AQEBBQADggEPADCCAQoCggEBANKkyZ/hOZRQmFFsj1Of
// SIG // 78pZ+V+thdWK+GQUZdjUMVU/RudL+xD1NkbIYrnPe1W7
// SIG // jSpP2oiICgKfgi07FaTcp0kE0nTnsCS5WRHvRxlC2O9i
// SIG // wPkIM+cYx9foXBQKGMYA4mQFH5fn5DXl5zj7ytAzyA9J
// SIG // kLgitXrUkSOZBJv83xjJVV/LJztpbVum8bOeb2ZmpljW
// SIG // ZXbtreVmbUmFdvWahti7xXV2ry7FNHkcaHpuuEINTe/i
// SIG // u2p14F9BchpiRwS2ORPvMhY5tARBLlhfmFYVEkIjub6N
// SIG // 4v7PYTE0fYasDzkoRSTOzCssuvSTxX822RNUSbcqbArR
// SIG // XDENzgU5XIES0B0CAwEAAaOCAaYwggGiMB8GA1UdIwQY
// SIG // MBaAFDa9Sf8xLOuvakD+mcAW7br8SN1fMIGHBggrBgEF
// SIG // BQcBAQR7MHkwVQYIKwYBBQUHMAKGSWh0dHA6Ly93d3cu
// SIG // c3NsLmNvbS9yZXBvc2l0b3J5L1NTTGNvbS1TdWJDQS1F
// SIG // Vi1Db2RlU2lnbmluZy1SU0EtNDA5Ni1SMy5jcnQwIAYI
// SIG // KwYBBQUHMAGGFGh0dHA6Ly9vY3Nwcy5zc2wuY29tMF8G
// SIG // A1UdIARYMFYwBwYFZ4EMAQMwDQYLKoRoAYb2dwIFAQcw
// SIG // PAYMKwYBBAGCqTABAwMCMCwwKgYIKwYBBQUHAgEWHmh0
// SIG // dHBzOi8vd3d3LnNzbC5jb20vcmVwb3NpdG9yeTATBgNV
// SIG // HSUEDDAKBggrBgEFBQcDAzBQBgNVHR8ESTBHMEWgQ6BB
// SIG // hj9odHRwOi8vY3Jscy5zc2wuY29tL1NTTGNvbS1TdWJD
// SIG // QS1FVi1Db2RlU2lnbmluZy1SU0EtNDA5Ni1SMy5jcmww
// SIG // HQYDVR0OBBYEFGjiN2XP/Klw1bL1RxTFIZq8I7O/MA4G
// SIG // A1UdDwEB/wQEAwIHgDANBgkqhkiG9w0BAQsFAAOCAgEA
// SIG // COWJwXe3LckD0RmXHU9nQVyJExL/y9QOx4vbfHWWuTmp
// SIG // ZgF5tuYNgypXb5WFTKOMjXWRo1mX2Eje9K070RhKijsV
// SIG // ObhwaZ/9HdfIXpH+po8Ctw4XYwkJ2W8ysDBMJLX75OuC
// SIG // YXMYpvR+/xJSwKV0oWQp+Tfx9KnVvlxa85pt+DroXsEf
// SIG // E2WdT9m4NzFo0NsUjx6xWbOc894NXLGlBYTkqUURx2J9
// SIG // Yi9xtfnFWmklh6fklW5xx1LscdShEGiY9t3nwjKMU0WY
// SIG // EkV4P4+fyRUqcH0OIGUZxvGYgAGkJDSS9EUM1r4bWFfk
// SIG // B0xWrN0Hl1SG4bboRFZ+7RdoA0wSZcImMQysBtH37gkV
// SIG // IQPnICzXl3vjFIiFhBAOmRsodtA0Py5oA13gttCPXBi5
// SIG // IY+mVuEaDVT4gYFw+Ej2S5Dej3ONIAL6ICI4CZ8aRIbO
// SIG // ClNqERHD6+BaB+uOHV6+vAzrYG+5kJwUeEoX3MIArM+x
// SIG // kr7SB5MH3CWlAOLlse5m2jbWdJl1baiYsRqBCupIwoIb
// SIG // QMrZQ/pPaSze/UkRvdOMScm7UbF+VvcJ8DOVT9pA7m0W
// SIG // ELHeNSXhjg6TFRkc30ZUGnF3HPxqUzEmSVGG5IYMkO5X
// SIG // 3oPJA18WYC5Wpwhk2YZedGG4kLncFxUNtUTqzZCE5yth
// SIG // fh55jBHmXbvI8tm57/fzWRgwggbfMIIEx6ADAgECAhBC
// SIG // S2pTzsdmFBwqY7GlHEEEMA0GCSqGSIb3DQEBCwUAMIGC
// SIG // MQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVGV4YXMxEDAO
// SIG // BgNVBAcMB0hvdXN0b24xGDAWBgNVBAoMD1NTTCBDb3Jw
// SIG // b3JhdGlvbjE3MDUGA1UEAwwuU1NMLmNvbSBFViBSb290
// SIG // IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IFJTQSBSMjAe
// SIG // Fw0xOTAzMjYxNzQ0MjNaFw0zNDAzMjIxNzQ0MjNaMHsx
// SIG // CzAJBgNVBAYTAlVTMQ4wDAYDVQQIDAVUZXhhczEQMA4G
// SIG // A1UEBwwHSG91c3RvbjERMA8GA1UECgwIU1NMIENvcnAx
// SIG // NzA1BgNVBAMMLlNTTC5jb20gRVYgQ29kZSBTaWduaW5n
// SIG // IEludGVybWVkaWF0ZSBDQSBSU0EgUjMwggIiMA0GCSqG
// SIG // SIb3DQEBAQUAA4ICDwAwggIKAoICAQDwqjf3KyGRIGc6
// SIG // OY4V5SG6WhMqjVHQcz29rgGME3vWfvhmY+30eyuS8b5j
// SIG // a/eoN2V2DXw0p1Kx2HjwX+mfd3phPoNm7GbOt6Q9fRqV
// SIG // rx1df8WVSaDY6r0j5pQ/mW4lRjjEVZg4PKn05a552vt1
// SIG // bgAfED+xjwL/Qq6S/PXTWgklUmOI3V/0kSgWFatULpzx
// SIG // 3uDb0jJpIWdGbVdfm8rRN3+naScerjtqXrLGCqA9YB58
// SIG // dsUcowJlc4QxZe3+VWibrCHRnYR+6gHP5OdLTBhdZIF3
// SIG // NmjHA/jKxDb2nxJs3UQZC+lgfgkr25o8Ns+OoRwB93W1
// SIG // 9m+HCwNaz5jXyyhQl6Wh8qghHPuxTDXqGFsWx0VcACB5
// SIG // b4jTUG9w98XSQx8Xkn4xlqlBukPyudGNxmiS4JuKgNZ5
// SIG // 1ilf5sCBivLLDk0YNgt1qkk27SPOF85RhynQ2Ayiomb/
// SIG // 2+eTE4t8lMlrUY1S1jvvig3kvf44oVpoWdgH57U1sJA4
// SIG // PFstIhCXBzuysjJgYcY4FWywurV+g/k8sioev63NWKeP
// SIG // bztsN9+uiCxH3xEdqNcUtGWvT/aiSbJhcAr+2U4XeFde
// SIG // iSXSxB5K055z6hRoKQIiUf3PFAQu/x7zlJSdc1Csqqkr
// SIG // Q3EhjnYyligQWSvsPyDpLubT42YlETicaUPq0ySk/6Il
// SIG // 6ggOKFic6QIDAQABo4IBVTCCAVEwEgYDVR0TAQH/BAgw
// SIG // BgEB/wIBADAfBgNVHSMEGDAWgBT5YLvU49U09rj1BoAl
// SIG // p3PbRmmonjB8BggrBgEFBQcBAQRwMG4wSgYIKwYBBQUH
// SIG // MAKGPmh0dHA6Ly93d3cuc3NsLmNvbS9yZXBvc2l0b3J5
// SIG // L1NTTGNvbS1Sb290Q0EtRVYtUlNBLTQwOTYtUjIuY3J0
// SIG // MCAGCCsGAQUFBzABhhRodHRwOi8vb2NzcHMuc3NsLmNv
// SIG // bTARBgNVHSAECjAIMAYGBFUdIAAwEwYDVR0lBAwwCgYI
// SIG // KwYBBQUHAwMwRQYDVR0fBD4wPDA6oDigNoY0aHR0cDov
// SIG // L2NybHMuc3NsLmNvbS9TU0xjb20tUm9vdENBLUVWLVJT
// SIG // QS00MDk2LVIyLmNybDAdBgNVHQ4EFgQUNr1J/zEs669q
// SIG // QP6ZwBbtuvxI3V8wDgYDVR0PAQH/BAQDAgGGMA0GCSqG
// SIG // SIb3DQEBCwUAA4ICAQByj/qBSIKR4mCDJVt7jy+UD4NY
// SIG // zogk+plCTi1ON4n4n7EernRAefney/f/LCUQUphAj1Q4
// SIG // /13RKqla5rcCu8h/7irT/3/MNjxVKUNdNkmWJl1w5/Ir
// SIG // BWdHTJlYGQj2scZPYNL8OL4CrCXRiA2lLOHd031Xz2rD
// SIG // GWDSbapde0ToWluD28gbNgp+CvUKUjZ44pr7E1TMnMlH
// SIG // v2JONa8+4boPyZPu1SC3lrdQdlI1ep2hOyZkNx/OvAN7
// SIG // xGGBUonMe/5aBRpHruQSyo5U41qfsMGK8vlfRmi5r8fZ
// SIG // PoTRKyUSOD27mgHq38xmqLbFH2qTR7DOBpKErUODaoY5
// SIG // XEziAkt4c65LKOak+GFpgMz/NOiwL2QCSQ2NLh9966GG
// SIG // BQ/tXnA05RgCAOtjvnUmbacckFcHrpmljjfSp8NYbKX0
// SIG // 51IiNadbu27rSNuact6qWmJJCZ6QKxIPyDrbr2hzndnj
// SIG // ecqY+Wgd6uZYLqkYbM2ZOprNJnBE5maYnCUeGWrH2PPn
// SIG // /6Y1d/v1fbuMgsdvfVQyu+qZCznoIFEVL4njKuHFIPN6
// SIG // eE49rxdiklSNJ4yQN9zjKehCk7b4OysLmVC45DQGmCPu
// SIG // 6t+1VLuu2/Hq3XL5Re2x2kM7gPxvbN/ckW24pdTvdc1l
// SIG // TGQsWd8TLgIbS/oEk8C7Nx0fsiDTTzOvFqEcwKqoiDGC
// SIG // GOAwghjcAgEBMIGPMHsxCzAJBgNVBAYTAlVTMQ4wDAYD
// SIG // VQQIDAVUZXhhczEQMA4GA1UEBwwHSG91c3RvbjERMA8G
// SIG // A1UECgwIU1NMIENvcnAxNzA1BgNVBAMMLlNTTC5jb20g
// SIG // RVYgQ29kZSBTaWduaW5nIEludGVybWVkaWF0ZSBDQSBS
// SIG // U0EgUjMCEF5i8a+yCrHjidthXhHh3d0wDQYJYIZIAWUD
// SIG // BAIBBQCgfDAQBgorBgEEAYI3AgEMMQIwADAZBgkqhkiG
// SIG // 9w0BCQMxDAYKKwYBBAGCNwIBBDAcBgorBgEEAYI3AgEL
// SIG // MQ4wDAYKKwYBBAGCNwIBFTAvBgkqhkiG9w0BCQQxIgQg
// SIG // RkPZcQZy5iVB+vba/SPRNasxQvhQdQ3alRxYNg21Flgw
// SIG // DQYJKoZIhvcNAQEBBQAEggEATorbySFDeqJU8SEFBuPu
// SIG // IcK/TpwZDsnDKYYDurWD/33pj3B+4SjufbweFdZ7rX+P
// SIG // XuKlrMwFXx8JeYZhckeydJ+fY5LCXzSLGvzuyMPHBnMX
// SIG // BD+a5xoPYef2R1wOg4XEOCZLhktdS9ahCCd/hx1UJ2ce
// SIG // rQqW8pGJlhiEji3lRDqPWk/gNBx460GtyWYJKn4aBpxm
// SIG // 00G5zaymPfHrRAfKyH0ABLzZMTirI7DwP15675HeXCyB
// SIG // Uc83vmiIbN6txSTET4CcoICsiVcFrODIaqtxPOe+zdv/
// SIG // VjcVc7oL1baRXSplirlvH7J6KCq8i2gVcWfjK3Pkvrq8
// SIG // KCraHpPDecfkXKGCFqMwghafBgorBgEEAYI3AwMBMYIW
// SIG // jzCCFosGCSqGSIb3DQEHAqCCFnwwghZ4AgEDMQ8wDQYJ
// SIG // YIZIAWUDBAIBBQAwdwYLKoZIhvcNAQkQAQSgaARmMGQC
// SIG // AQEGDCsGAQQBgqkwAQMGATAxMA0GCWCGSAFlAwQCAQUA
// SIG // BCC5Um1oxaYbrtEW2vOEc6h+ntwJjToSYpN2ZWAwD8q8
// SIG // vwIIaggGhpbdERYYDzIwMjEwMTI1MTIwMTM0WjADAgEB
// SIG // oIISxjCCBdgwggTAoAMCAQICEQDkJwSV9oyR1tDse0lO
// SIG // pN8cMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlBM
// SIG // MSIwIAYDVQQKExlVbml6ZXRvIFRlY2hub2xvZ2llcyBT
// SIG // LkEuMScwJQYDVQQLEx5DZXJ0dW0gQ2VydGlmaWNhdGlv
// SIG // biBBdXRob3JpdHkxIjAgBgNVBAMTGUNlcnR1bSBUcnVz
// SIG // dGVkIE5ldHdvcmsgQ0EwHhcNMTgwOTExMDkyNjQ3WhcN
// SIG // MjMwOTExMDkyNjQ3WjB8MQswCQYDVQQGEwJVUzEOMAwG
// SIG // A1UECAwFVGV4YXMxEDAOBgNVBAcMB0hvdXN0b24xGDAW
// SIG // BgNVBAoMD1NTTCBDb3Jwb3JhdGlvbjExMC8GA1UEAwwo
// SIG // U1NMLmNvbSBSb290IENlcnRpZmljYXRpb24gQXV0aG9y
// SIG // aXR5IFJTQTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCC
// SIG // AgoCggIBAPkP3aMrfcvQKv7sZ4Wm5y4bunfh4/WvpOz6
// SIG // Sl2RxFdHaxh3a3by/ZPkPQ/CFp4LZsNWlJ4Xg4XOVu/y
// SIG // Fv0AYvUiCVToZRdOQbngT0aXqhvIuG5iXmmxX9sqAn78
// SIG // bMrzQdjt0Oj8P2FI7bADFB0QDksZ4LtO7IZl/zbzXmcC
// SIG // C52GVWH9ejjt/uIZALdvoVBidXQ8oPrIJZK0bnoix/ge
// SIG // oeOy3ZExqysdBP+lSgQ36YWkMyv94tZVNHwZpEpox7Ko
// SIG // 07fKoZOI68GXvIz5HdkihCR0xwQ9aqkpk8zruFvh/l8l
// SIG // qjRYyMEjVJ0bmBHDOJx+PYZspQ9AhnwC9FwCTyjLrnGf
// SIG // DzrIM/4RJTXq/LrFYD3ZfBjVsqnTdXgDciLKOsMf7yzl
// SIG // Lqn6niy2UUb9rwPW6mBo6oUWNmuF6R7As93EJNyAKoFB
// SIG // bZQ+yODJgUEAnl6/f8UImKIYLEJAs/lvOCdLToD0PYFH
// SIG // 4Ih86hzOtXVcUS4cK38acijnALXRdMbX5J+tB5O2UzU1
// SIG // /Dfkw/ZdFr4hc96SCvigY2q8lpJqPvi8ZVWb3vUNiSYE
// SIG // /CUapiVpy8JtynziWV+XrOvvLsi81xtZPCvM8hnIk2sn
// SIG // YxnP/Okm+Mpxm3+T/jRnhE6Z6/yzeAkzcLpmpnbtG3Pr
// SIG // GqUNxCITIJRWCk4sbE6x/c+cCbqiM+2HAgMBAAGjggFR
// SIG // MIIBTTASBgNVHRMBAf8ECDAGAQH/AgECMB0GA1UdDgQW
// SIG // BBTdBAkHovV6fVJTEpKV7jiAJQ2mWTAfBgNVHSMEGDAW
// SIG // gBQIds3LB/8k9sXN7buQvOKEN0Z19zAOBgNVHQ8BAf8E
// SIG // BAMCAQYwNgYDVR0fBC8wLTAroCmgJ4YlaHR0cDovL3Nz
// SIG // bGNvbS5jcmwuY2VydHVtLnBsL2N0bmNhLmNybDBzBggr
// SIG // BgEFBQcBAQRnMGUwKQYIKwYBBQUHMAGGHWh0dHA6Ly9z
// SIG // c2xjb20ub2NzcC1jZXJ0dW0uY29tMDgGCCsGAQUFBzAC
// SIG // hixodHRwOi8vc3NsY29tLnJlcG9zaXRvcnkuY2VydHVt
// SIG // LnBsL2N0bmNhLmNlcjA6BgNVHSAEMzAxMC8GBFUdIAAw
// SIG // JzAlBggrBgEFBQcCARYZaHR0cHM6Ly93d3cuY2VydHVt
// SIG // LnBsL0NQUzANBgkqhkiG9w0BAQsFAAOCAQEAH5WaI1Tu
// SIG // hcLz1G+56QSPRn8s9zLAp0OsBwDt4KlFLf0X4e0AQMiv
// SIG // mKz1wBmtG6CXMEBs7Fv7o5NOjIliG3zwOl+nQs9YynVl
// SIG // nCJMv3Z7mJOcFYMzsQ7cUTiHfJWcEmmUHgB4dH7cwAZ3
// SIG // unAthyzXaJ3juoWtSfOPZLQVBoOSxpekQJOLrfFnlLS5
// SIG // WmdUPKgb2QXP5KT5iBIABoglhdRe7vOTV9aB+Cyu9/VR
// SIG // SKu2Yjp52+wu8j8UVjrI2cukok8lqNGbqy0wIFAHGm/x
// SIG // 8ZQdOYNj6B/9SdDoHUayRoImvZyd4aJoQUhRbnr8NZb0
// SIG // VNK8K0TlR9d3gqVKq1+XM6skETCCBeYwggPOoAMCAQIC
// SIG // EDE4Y7x8Ad0DfhaXrc7tgEQwDQYJKoZIhvcNAQELBQAw
// SIG // czELMAkGA1UEBhMCVVMxDjAMBgNVBAgMBVRleGFzMRAw
// SIG // DgYDVQQHDAdIb3VzdG9uMREwDwYDVQQKDAhTU0wgQ29y
// SIG // cDEvMC0GA1UEAwwmU1NMLmNvbSBUaW1lc3RhbXBpbmcg
// SIG // SXNzdWluZyBSU0EgQ0EgUjEwHhcNMjAxMDAxMTcwNDU3
// SIG // WhcNMzAwOTI5MTcwNDU3WjBrMQswCQYDVQQGEwJVUzEO
// SIG // MAwGA1UECAwFVGV4YXMxEDAOBgNVBAcMB0hvdXN0b24x
// SIG // ETAPBgNVBAoMCFNTTCBDb3JwMScwJQYDVQQDDB5TU0wu
// SIG // Y29tIFRpbWVzdGFtcGluZyBVbml0IDIwMjAwggEiMA0G
// SIG // CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDjGTG36tpy
// SIG // KvkcbczdOyuLrjoqlqOVULW46nBNipN+ewmb/3VvI1QD
// SIG // XtuIihwdZy6WyXZjNHu2S9K1zkAfsPHtgmAnCf8kzYiv
// SIG // EFAzaNjdhbzgREnaDtbL3tVE9tRHwDZa60xng6t9F9Au
// SIG // uqnZq79mR7VIJ+BJcMKPz453e/aeoQyn3ef0XBwEer7r
// SIG // MbDJe+Vy7Oe/Vt/VCTzM+nU5extkzQ9UjCt+YLdU6PDX
// SIG // THIHE4DGMzGf3LWZjimdaZ4WpYlKb2xGK/6Ubhtsq7zl
// SIG // oWrbJfKoDTPSgLbzSjtC0sf5rcAEmx7qtS1R9dUmbQZM
// SIG // f89XHWy7njCP77NFDZtsd0M7AgMBAAGjggF8MIIBeDAf
// SIG // BgNVHSMEGDAWgBQMnRAljpqnG5mHQ88IfuG9gZD0zzB9
// SIG // BggrBgEFBQcBAQRxMG8wSwYIKwYBBQUHMAKGP2h0dHA6
// SIG // Ly93d3cuc3NsLmNvbS9yZXBvc2l0b3J5L1NTTC5jb20t
// SIG // dGltZVN0YW1waW5nLUktUlNBLVIxLmNydDAgBggrBgEF
// SIG // BQcwAYYUaHR0cDovL29jc3BzLnNzbC5jb20wRwYDVR0g
// SIG // BEAwPjA8BgwrBgEEAYKpMAEDBgEwLDAqBggrBgEFBQcC
// SIG // ARYeaHR0cHM6Ly93d3cuc3NsLmNvbS9yZXBvc2l0b3J5
// SIG // MBYGA1UdJQEB/wQMMAoGCCsGAQUFBwMIMEYGA1UdHwQ/
// SIG // MD0wO6A5oDeGNWh0dHA6Ly9jcmxzLnNzbC5jb20vU1NM
// SIG // LmNvbS10aW1lU3RhbXBpbmctSS1SU0EtUjEuY3JsMB0G
// SIG // A1UdDgQWBBTYFvYUDVKeLDXXQZE0/9RVg9M98zAOBgNV
// SIG // HQ8BAf8EBAMCB4AwDQYJKoZIhvcNAQELBQADggIBAB2W
// SIG // q+32RC+ckJD0zviNX362Ia+vdsYl6jOZmDgtKDbNHQ10
// SIG // ykUVT8xPn531MbZXoc/dwSt3h+GjcUZxNuf5PCei4HP2
// SIG // L5Ka/5RQ9Mpfe2kPFBZEWNmqcgIUe3KkWWuiGnJ9oYQL
// SIG // NI6tKdR1fzoEDFY0Xlh7cwdtx0tTqQODGYMaQmnJswu5
// SIG // 3BgNBpuk9PpdwTaqlvlOcUZAhgDBy1UzNJXp67dbglYZ
// SIG // hn0KxPsQtENdlP2seRSjO/YfMU+NdTgVlrf3WpJTFtnx
// SIG // nU3fZWZ2uw44FUq8UWkmyhNRnwIfAIW8e671EDTvJKrL
// SIG // y/CdXizIluash/jJR4DBHalI9ZMMhBObRfEh3P+wmF2p
// SIG // RUbZaAjOT6S1UVBHInCX82A9aT61W33ArjtVU7RcQGn/
// SIG // Esh+8GOyh7pEAq9K9gbxt1ny87LKT5eKWnM/8pJ6QZwu
// SIG // JPgY4mOznhYGDCz2lW2SvWuuuWod1SPE+o50ebz0koOZ
// SIG // tng+kjJKJQwJMK8PjruPdQuD+yGTTH0VcICWdg5sNJAj
// SIG // V/WeJF/Wp58rHkZxP+qS9L3dM+cYLCdyXaBwld9jkElL
// SIG // bKOiV6h47B7uftiYnyRujDkC6jzYBApuytKapNSaOO4l
// SIG // qdWQsc0hMF0Qras9GplnDHjq5GaQaYUqD05ICqOPEp+a
// SIG // B7S2ENfaYnlam/eeqCJFMIIG/DCCBOSgAwIBAgIQbVIY
// SIG // cIfoI02FYADQgI+TVjANBgkqhkiG9w0BAQsFADB8MQsw
// SIG // CQYDVQQGEwJVUzEOMAwGA1UECAwFVGV4YXMxEDAOBgNV
// SIG // BAcMB0hvdXN0b24xGDAWBgNVBAoMD1NTTCBDb3Jwb3Jh
// SIG // dGlvbjExMC8GA1UEAwwoU1NMLmNvbSBSb290IENlcnRp
// SIG // ZmljYXRpb24gQXV0aG9yaXR5IFJTQTAeFw0xOTExMTMx
// SIG // ODUwMDVaFw0zNDExMTIxODUwMDVaMHMxCzAJBgNVBAYT
// SIG // AlVTMQ4wDAYDVQQIDAVUZXhhczEQMA4GA1UEBwwHSG91
// SIG // c3RvbjERMA8GA1UECgwIU1NMIENvcnAxLzAtBgNVBAMM
// SIG // JlNTTC5jb20gVGltZXN0YW1waW5nIElzc3VpbmcgUlNB
// SIG // IENBIFIxMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIIC
// SIG // CgKCAgEArlEQE9L5PCCgIIXeyVAcZMnh/cXpNP8KfzFI
// SIG // 6HJaxV6oYf3xh/dRXPu35tDBwhOwPsJjoqgY/Tg6yQGB
// SIG // qt65t94wpx0rAgTVgEGMqGri6vCI6rEtSZVy9vagzTDH
// SIG // cGfFDc0Eu71mTAyeNCUhjaYTBkyANqp9m6IRrYEXOKdd
// SIG // /eREsqVDmhryd7dBTS9wbipm+mHLTHEFBdrKqKDM3fPY
// SIG // dBOro3bwQ6OmcDZ1qMY+2Jn1o0l4N9wORrmPcpuEGTOT
// SIG // hFYKPHm8/wfoMocgizTYYeDG/+MbwkwjFZjWKwb4hoHT
// SIG // 2WK8pvGW/OE0Apkrl9CZSy2ulitWjuqpcCEm2/W1RofO
// SIG // unpCm5Qv10T9tIALtQo73GHIlIDU6xhYPH/ACYEDzgnN
// SIG // fwgnWiUmMISaUnYXijp0IBEoDZmGT4RTguiCmjAFF5OV
// SIG // NbY03BQoBb7wK17SuGswFlDjtWN33ZXSAS+i45My1AmC
// SIG // TZBV6obAVXDzLgdJ1A1ryyXz4prLYyfJReEuhAsVp5Vo
// SIG // uzhJVcE57dRrUanmPcnb7xi57VPhXnCuw26hw1Hd+ulK
// SIG // 3jJEgbc3rwHPWqqGT541TI7xaldaWDo85k4lR2bQHPNG
// SIG // wHxXuSy3yczyOg57TcqqG6cE3r0KR6jwzfaqjTvN695G
// SIG // sPAPY/h2YksNgF+XBnUD9JBtL4c34AcCAwEAAaOCAYEw
// SIG // ggF9MBIGA1UdEwEB/wQIMAYBAf8CAQAwHwYDVR0jBBgw
// SIG // FoAU3QQJB6L1en1SUxKSle44gCUNplkwgYMGCCsGAQUF
// SIG // BwEBBHcwdTBRBggrBgEFBQcwAoZFaHR0cDovL3d3dy5z
// SIG // c2wuY29tL3JlcG9zaXRvcnkvU1NMY29tUm9vdENlcnRp
// SIG // ZmljYXRpb25BdXRob3JpdHlSU0EuY3J0MCAGCCsGAQUF
// SIG // BzABhhRodHRwOi8vb2NzcHMuc3NsLmNvbTA/BgNVHSAE
// SIG // ODA2MDQGBFUdIAAwLDAqBggrBgEFBQcCARYeaHR0cHM6
// SIG // Ly93d3cuc3NsLmNvbS9yZXBvc2l0b3J5MBMGA1UdJQQM
// SIG // MAoGCCsGAQUFBwMIMDsGA1UdHwQ0MDIwMKAuoCyGKmh0
// SIG // dHA6Ly9jcmxzLnNzbC5jb20vc3NsLmNvbS1yc2EtUm9v
// SIG // dENBLmNybDAdBgNVHQ4EFgQUDJ0QJY6apxuZh0PPCH7h
// SIG // vYGQ9M8wDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEB
// SIG // CwUAA4ICAQCSGXUNplpCzxkH2fL8lPrAm/AV6USWWi9x
// SIG // M91Q5RN7mZN3D8T7cm1Xy7qmnItFukgdtiUzLbQokDJy
// SIG // FTrF1pyLgGw/2hU3FJEywSN8crPsBGo812lyWFgAg0uO
// SIG // wUYw7WJQ1teICycX/Fug0KB94xwxhsvJBiRTpQyhu/2K
// SIG // yu1Bnx7QQBA1XupcmfhbQrK5O3Q/yIi//kN0OkhQEiS0
// SIG // NlyPPYoRboHWC++wogzV6yNjBbKUBrMFxABqR7mkA0x1
// SIG // Kfy3Ud08qyLC5Z86C7JFBrMBfyhfPpKVlIiiTQuKz1rT
// SIG // a8ZW12ERoHRHcfEjI1EwwpZXXK5J5RcW6h7FZq/cZE9k
// SIG // LRZhvnRKtb+X7CCtLx2h61ozDJmifYvuKhiUg9LLWH0O
// SIG // r9D3XU+xKRsRnfOuwHWuhWch8G7kEmnTG9CtD9Dgtq+6
// SIG // 8KgVHtAWjKk2ui1s1iLYAYxnDm13jMZm0KpRM9mLQHBK
// SIG // 5Gb4dFgAQwxOFPBslf99hXWgLyYE33vTIi9p0gYqGHv4
// SIG // OZh1ElgGsvyKdUUJkAr5hfbDX6pYScJI8v9VNYm1JEyF
// SIG // AV9x4MpskL6kE2Sy8rOqS9rQnVnIyPWLi8N9K4GZvPit
// SIG // /Oy+8nFL6q5kN2SZbox5d69YYFe+rN1sDD4CpNWwBBTI
// SIG // /q0V4pkgvhL99IV2XasjHZf4peSrHdL4RjGCAx0wggMZ
// SIG // AgEBMIGHMHMxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIDAVU
// SIG // ZXhhczEQMA4GA1UEBwwHSG91c3RvbjERMA8GA1UECgwI
// SIG // U1NMIENvcnAxLzAtBgNVBAMMJlNTTC5jb20gVGltZXN0
// SIG // YW1waW5nIElzc3VpbmcgUlNBIENBIFIxAhAxOGO8fAHd
// SIG // A34Wl63O7YBEMA0GCWCGSAFlAwQCAQUAoIIBZjAaBgkq
// SIG // hkiG9w0BCQMxDQYLKoZIhvcNAQkQAQQwHAYJKoZIhvcN
// SIG // AQkFMQ8XDTIxMDEyNTEyMDEzNFowLQYJKoZIhvcNAQk0
// SIG // MSAwHjANBglghkgBZQMEAgEFAKENBgkqhkiG9w0BAQsF
// SIG // ADAvBgkqhkiG9w0BCQQxIgQgVpEfZF2iE+Ee3mB1U+x+
// SIG // /6BQbTID8UO/xUV6g4fO7QkwgckGCyqGSIb3DQEJEAIv
// SIG // MYG5MIG2MIGzMIGwBCDcWdZpGQZKhbbI3Eh8d1OP8btm
// SIG // c+2rPoPuri325OuPEzCBizB3pHUwczELMAkGA1UEBhMC
// SIG // VVMxDjAMBgNVBAgMBVRleGFzMRAwDgYDVQQHDAdIb3Vz
// SIG // dG9uMREwDwYDVQQKDAhTU0wgQ29ycDEvMC0GA1UEAwwm
// SIG // U1NMLmNvbSBUaW1lc3RhbXBpbmcgSXNzdWluZyBSU0Eg
// SIG // Q0EgUjECEDE4Y7x8Ad0DfhaXrc7tgEQwDQYJKoZIhvcN
// SIG // AQELBQAEggEAo7ERwfT9S2YLw3PHD2F1xDXDRahJrxbL
// SIG // xo0EmD0zPreKcuCzEMmjRrYwwzmHvsxf+SIOJNLlRn9x
// SIG // BFD93WMH2ayUizd1AuF9v0s6APGM+nqhhzc45w49ZmOz
// SIG // 5Q/txczenlxVVuzP2wqfIw51lQnkR2uvK78w69fitgpv
// SIG // WiDW5QhGMTZ+PUpDeBdHmO6B2lCOFN3qncpEtE5rykVM
// SIG // OVsDlx25iisp+vUYIDny4ilxMtgn1I7bwKQ3v0SKgoSE
// SIG // sQrMQO/Gk0ZCdBBKoplr0JsurhVeJDl6OiSGuMRZui7d
// SIG // /zzpsAeJH0RoPZ4ysiFCpUOPwzCUSuPxEw9NuAiim6VLvw==
// SIG // End signature block
